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.
- Recharge Checkout on Shopify
- Recharge Checkout on BigCommerce
This integration is available for merchants using the Recharge Checkout on Shopify and Recharge Checkout on BigCommerce. If you are using the Shopify Checkout Integration, refer to Shopify's guide to Google Analytics.
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 your eCommerce domain to the Recharge domain.
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.
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.
|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.
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.
Didn’t find what you’re looking for?Contact us