Online Store supports and recommends using Universal Analytics.
In this article, you will learn:
- How to add GA code and enable Universal Analytics in Online Store
- How to enable e-commerce tracking in a Google Analytics account
- How to enable Enhanced E-commerce
- How to exclude referrer domains
How to add GA code and enable Google Analytics in Online Store
Go to Settings > Conversion and Tracking > Additional tracking code > Google Analytics code and enter your Tracking ID there.
You can find it in the Google Analytics dashboard. Log in to analytics.google.com and on the left side menu click on Admin> Select an Account > Select a Property> Tracking Info > Tracking Code.
The Tracking ID should be in the following form: UA-XXXXXXXX-X
How to enable e-commerce tracking in a Google Analytics account
Make sure you have already added the UA code in the General settings in your Online Store dashboard. Learn more about this.
Login to your Google Analytics account > Admin (select an Account, a Property, and View) > From the View column, select E-commerce Settings.
Enable e-commerce by clicking on the button so it will show as ‘ON’.
How to Enable Enhanced E-commerce
Only enable Enhanced E-commerce if you want to monitor on-page events other than those tracked by Universal Analytics. If you are interested in basic events, then you should check e-commerce.
Before launching the Google Analytics Enhanced Ecommerce dashboard, please provide the events that you want to monitor (via email: email@example.com) and we will have to modify the code accordingly.
When you launch Enhanced Ecommerce in the Online Store dashboard, you must still enable it in the Google Analytics dashboard.
Log in to your Google Analytics account > Admin (select an Account, a Property, and View) > From the View column, choose E-commerce Settings.
Turn on E-commerce (if you have not already done so), and then click on Next Step.
Enable Enhanced E-commerce reporting and click on Submit.
Excluding referrer domains
If your store’s checkout is in a different domain, then you must add a reference domain exclusion. This way, you will be able to track your customers’ behaviour better.
Log into Google Analytics and on the left side menu click on Admin> Select an Account > Property > Tracking Info > Referral Exclusion list.
Click on Add Referral exclusion.
Type all the domains you wish to exclude.
Enter the following:
- Your store’s domain (example.com)
- Your default Online Store domain (yourstorename.sumup.link)
- PayPal – In case you use this kind of payment method
- Any other domain you wish to exclude