With Google Analytics, you can optimize your sales funnels and improve performance across your sites, apps, and offline marketing. Google's analytics solutions can help you turn customer insights into action for your business. This guide provides an overview of the integration, instructions for setting up the integration, and support resources.
- Recharge Checkout on Shopify
- Recharge Checkout on BigCommerce
If you are using the Shopify Checkout Integration, Google Analytics connects directly to your Shopify store. Refer to Shopify's guide on Google Analytics for more details.
Before you start
- Google Analytics tracks data on initial checkout orders and checkout pages, but it does not track data on recurring orders. For more robust Google Analytics reporting, we recommend using Littledata - Google Analytics for Recharge. Littledata has an automated Google Analytics audit and set-up for sites using Recharge, including phone support and reporting.
- Enabling GTM automatically disables Google Analytics Tracking, refer to enabling Google Tag Manager with Recharge.
- By default, Google leads you to create a Google Analytics 4 property, however, Recharge Checkout on Shopify isn't compatible with GA4 measurement ID yet. When creating a property, make sure to select both a Google Analytics 4 property and a Universal Analytics property. This should help with the mandatory transition to GA4 that Google will implement by July 2023.
Note: Data tracking with the Google Analytics integration is minimal. If you are looking to track conversion rates or revenue, including transaction information or sales data, consider working with a third-party partner like LittleData or Elevar.
Setup the Google Analytics integration
Step 1 - Setup your Google Analytics account
- Create your Google Analytics account. All new users who set up Google Analytics for the first time will default to Google Analytics 4 (GA4) IDs, however, this version is not yet compatible with Shopify or Recharge. You need to set up Universal Analytics to use Google Analytics with Shopify and Recharge.
- Use Google's guide to set up Universal Analytics and choose Only a Universal Analytics property in step 6. You can opt to support both Universal Analytics and Google Analytics 4 via Google Tag Manager, but this is not compatible with the current Google Analytics Integration. Take precautions if you choose this option.
- Select the Universal Analytics property and retrieve the UA-ID from Property settings.
Step 2 - Connect Google Analytics to Recharge
- From the Recharge merchant portal, click Apps and select Marketplace.
- Locate Google Analytics and click Get.
- Select Universal as the Google Analytics type.
- Enter the UA-ID in the Google Analytics ID field.
- Click Save.
Note: To ensure Google Analytics works properly, you must have the same Google Analytics tracker in your Shopify store.
Step 3 - Connect Google Analytics to Shopify
- From the Shopify admin, click Online Store and select Preferences.
- Scroll down to Google Analytics and paste your UA-ID.
- Check the box to enable Use Enhanced Ecommerce.
- Click Save.
Using Universal Analytics and Google Analytics 4
If you want to use both Universal Analytics and Google Analytics 4, this can be done with tag managers via Google Tag Manager. Google Tag Manager is a pro gated feature. If you are interested in this feature, reach out to the Recharge Support team.
You may want to use both to leverage the new Google Analytics 4 tracking properties but still keep your Universal Analytics data history.
Set up a goal funnel in Google Analytics
You need to create goal funnels to start tracking data. After setup, you should run a test transaction to trigger the goal. Data typically shows up in the next 24 hours.
When the customer goes from /cart to /r/checkout, they switch from your ecommerce domain to the Recharge domain.
To see which marketing campaigns result in paid subscriptions, Google Analytics must track both the first page of the user journey, which has the campaign UTM parameters, and the last page with the payment information. This process is easily disrupted. If you experience any errors, see Troubleshooting.
It is possible to see channels and campaigns for most of your payments with Google Analytics. However, for full attribution including repeat subscriptions, you will need to use Littledata - Google Analytics for Recharge.
If you are having trouble seeing the user journey in Google Analytics, check the following:
- Has the Google Analytics property ID been added in Recharge's Apps section, and is it set to the correct Universal type?
- Can you see traffic to the checkout pages and not the ecommerce conversion tracking? Or is it not showing any traffic at all?
- Is the ecommerce information missing for all orders or only some of the orders?
Common Enhanced Ecommerce Issues
Below are a few common issues merchants experience with Enhanced Ecommerce.
|Google Analytics View filters exclude the Recharge hostname or include only the store's hostnames||
Check if view filters are set to either include only the company hostname or to exclude the Recharge hostname (checkout.rechargeapps.com).
|Enhanced Ecommerce reports are not visible in the Google Analytics reporting interface||
Ensure that Enhanced Ecommerce Reporting is enabled in your Google Analytics View settings.
|PayPal or Recharge is displayed as the source/medium driving revenue in marketing channels||Ensure that you exclude PayPal and Recharge as hosts from your referral exclusions property settings.|
|Google Analytics is not enabled in Shopify||
For Google Analytics to effectively work you will need to enable your Google Analytics account in Shopify.
You can add your Google Analytics code directly through your Shopify Preferences.
- For assistance with setting up and using Google Analytics, see Google's Help Center.
- See the Littledata - Google Analytics for further support or help with custom reporting.
- You may also want to review the Elevar integration, which has experience handling more complex ecommerce tracking.
Didn’t find what you’re looking for?Contact us