This is a basic setup guide for the Google Analytics integration. 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.
Add the tracking code
To add your existing Google Analytics ID:
- From the ReCharge Dashboard, click on Integrations.
- Locate the Google Analytics app and click Get.
- Enter your Google Analytics ID and choose the Google Analytics type.
Set up a goal funnel
You need to set up a goal funnel in Google Analytics. Set the destination type to Regular Expression.
When the customer goes from /cart to /r/checkout, they will be switching from the Shopify domain to the ReCharge domain.
It is important to note that for this to work properly, you also need to have the same Google Analytics tracker on your Shopify store.
Marketing attribution
If you want to see which marketing campaigns resulted in paying subscriptions, Google Analytics needs to stitch together the first page of the user journey (which has the campaign UTM tags) with the last page with the payment information. This is easily disrupted, so see troubleshooting steps below.
Using this integration it is possible to see channels and campaigns for most of your payments. However, for full attribution including repeat subscriptions, you will need to use Littledata - Google Analytics for ReCharge.
Troubleshooting
If you're having trouble seeing the user journey in Google Analytics, check the following:
- Has the Google Analytics property ID been added in the ReCharge Settings > Integrations section and is it set to the correct Universal vs Legacy type? Shopify stores should be on Universal.
- Can you see traffic to the checkout pages, but just 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.
Issue | Solution |
Google Analytics View filters exclude the ReCharge hostname, or include only the store's hostnames |
Ensure that view filters are either set to include: the ReCharge hostname (checkout.rechargeapps.com) or are set to exclude the ReCharge hostname.
|
Enhanced eCommerce reports are not visible in the Google Analytics reporting interface |
Ensure that Enhanced eCommerce is enabled in 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. |
Support
The ReCharge team can only offer limited assistance, as we are not Google Analytics experts. If you want further support or help with custom reporting, please see the Littledata - Google Analytics for ReCharge.
Don't forget to take a look at our article on variables and scripts.