The Complete Guide to Setting Up Google Analytics for your Shopify Store

Google Analytics provides troves of actionable data that’ll help grow your online store’s revenue. From identifying the pages on your site that result in the best conversion rates to finding drop-off points, Google Analytics data is a must-have for all Shopify users. With that in mind, let’s look at the steps you need to take in order to get Google Analytics working perfectly with your Shopify store.

Upgraded Analytics

First off, you’ll need to make sure you’re using the latest version of Google Analytics. Google introduce Universal Analytics a while ago, and there’s been some confusion as to whether or not Shopify users need to upgrade their Analytics account from Classic to Universal. According to Google, Universal Analytics is the operating standard and all properties have been upgrade to Universal. Your Shopify account should be upgraded to Universal, but to make sure, follow these steps:
  1. 1. From the Shopify admin tab, click the Online Store option, then select Preferences.
  2. preferences in shopify admin tab
  3. 2. Scroll down to the Google Analytics section, then select Upgrade to the latest version.
Once your Shopify account is updated to the latest version of Google Analytics, you need to enable your store to understand and generate reports from that data.

Making Universal Analytics Work

To make sure that Universal Analytics works with your Shopify store, do the following:
  1. 1. Log in to your Google Analytics account and click the Settings wheel in the bottom-left corner.
  2. Google Analytics settings
  3. 2. In the second column of menu options for your website, select the Tracking Info tab, then click on Tracking Code.
  4. Google Analytics tracking code
  5. 3. A new screen will roll in from the right, where you’ll see your Tracking ID, Status, and a Website Tracking dialog box. In the Website Tracking dialog box, you’ll see a snippet of code starting and ending with the <script></script> tags. Copy that script to your clipboard.
  6. Google Analytics website tracking code
  7. 4. From there, you’ll need to log back into your Shopify Admin account.
  8. 5. From there, select Online Store, then select Preferences.
  9. 6. On the Preferences page you’ll see blank field for your Google Analytics account. Paste the tracking code you copied from your Google Analytics account to the blank field within your Shopify Admin account.
  10. 7. Finally, disable password protection for your online store.  

Ecommerce Tracking

To this point you’ve upgraded your analytics account and ensured you’re tracking all the data possible. Next, you can implement specific ecommerce tracking services to gain enhanced detail about your site visitors. Google provides two versions of ecommerce tracking services and today we’ll look at implementing their “Enhanced” view. This gives you the most data possible on visitor behavior.
  1. 1. Go to your Shopify Admin account, select Online Store, then select Preferences.
  2. 2. Select Google Analytics, then check the Use Enhanced Ecommerce checkbox. Then save your work.
  3. ecommerce tracking
  4. 3. Next, go to your Google Analytics account and click on the settings wheel in the bottom-left corner. In the far-right column, under All Web Site Data, click Ecommerce Settings.
  5. ecommerce settings
  6. 4. Switch your Enable Ecommerce Status to On. You’ll also see an option to turn on the Related Products status. Do so to generate related products data in your Analytics reports.
  7. enable ecommerce setup
  8. 5. Select Next Step.
  9. 6. You’ll see another dialog box appear asking you to enable Enhanced Ecommerce Reporting. Select that status to On.
  10. enable ecommerce setup
  11. 7. Finally, select Submit and you’ll now be able to generate ecommerce-specific data on your website visitors.
As a Shopify partner, we know that these three steps will enable Google Analytics’ powerful tools for your ecommerce store, enhancing your knowledge of visitor behavior and page conversions. This information is critical to maintaining a consistently-optimized website and providing your visitors with the best possible shopping experience. ]]>

Greg is the founder and CEO of Stryde and a seasoned digital marketer who has worked with thousands of businesses, large and small, to generate more revenue via online marketing strategy and execution. Greg has written hundreds of blog posts as well as spoken at many events about online marketing strategy. You can follow Greg on Twitter and connect with him on LinkedIn.

Leave a Reply

Your email address will not be published. Required fields are marked *

Join an E-commerce Newsletter Worth Reading

Subscribe to our weekly, no-fluff newsletter packed with actionable insights to help grow your D2C brand!