Browse by Topic

Setting Up Google Analytics

Google Analytics is a free analytics tool that helps you track visitors and conversions on your store. It allows you to gain further insight into your visitors, such as which pages they are visiting the most, what channels are driving the most traffic to your store, and which products are performing best.

With Google Analytics Real-Time reports, you can even see how many visitors are viewing your store at any given moment.  Real-Time reports allow you to see if a current promotion is driving more traffic to your store, the effects on store traffic from social media posts, traffic driven by content changes and more, making Google Analytics virtually essential.

Our Google Analytics integration supports Enhanced Ecommerce and Site Search, and uses the Universal Analytics (UA) property.

Anyone using a Stencil or Blueprint theme can take advantage of our updated integration, but only those using Cornerstone or a theme that supports Data Tags will experience full functionality. See Requirements & Limitations to learn more.

 

Customers must accept cookies for analytics to work. Hiding the cookies banner via theme customization will not affect site functionality, but will not allow for analytics to run. For more information on cookie consent tracking, see our Security and Privacy Settings article.

 

Universal Analytics sunset: On July 1, 2023, standard Universal Analytics properties will stop processing new hits. If you’re currently using Universal Analytics, we recommend that you set up and start using Google Analytics 4. See Setting Up Google Analytics 4.

 
 

Requirements & Limitations

  • Your Google account must be verified.
  • Store must be using Optimized One-Page Checkout.
  • Checkout Labeling in Google Analytics must match your store's checkout steps. See Setting up Google Analytics.
  • Your store must have a custom domain applied.
  • To get the most out of Google Analytics Enhanced Ecommerce, you must have data tags in your theme. The "Product List Performance Report" within Google Analytics requires the use of our data tag solution to collect the necessary data. Currently, the only theme that has data tags built-in is Cornerstone (2.6.0 or later). If you would like to add data tags into your theme, visit our Dev Center to learn how.
 
 

FAQ

Can I send custom dimensions and metrics to Google Analytics?

Yes, our recommended method can send custom dimensions and metrics. See Google Analytics' developer documentation and support documentation on custom dimensions and metrics for more information.

Can I prevent transactions from payment gateways from appearing as referrals in Google Analytics?

To avoid transactions made through payment gateways such as PayPal appearing as referrals in Google Analytics, you will need to add your payment gateways to your Referral Exclusion List. Note that the method listed below will not work with Google Analytics 4, as this only works with your store's Tracking ID.

1. In your Google Analytics account, go to AdminPropertyTracking InfoReferral Exclusion List.

2. Click Add Referral Exclusion.

Add Referral Exclusion

3. Enter the domain of your payment gateway (such as paypal.com) in the Domain field, then click Create to save your changes.

How do I send Google Ads conversion data to my Google Analytics account?

If you have Google Ads conversion tracking set up through Ads and Listings on Google or another solution, you can enable data flow to your Google Analytics account by following the instructions in Google's support documentation.

After linking your Google Ads and Google Analytics accounts, any conversion from your ad campaigns will be marked in Google Analytics as Ads revenue instead of search-derived revenue.

Who should I contact if I have questions about Google Analytics in my store?

While our support team can assist in setting up the integration and confirming your tracking code(s), we recommend using Google Analytics Help Center and Community for additional information and troubleshooting.

Was this article helpful?