Shopify Enhanced Ecommerce Tracking in Google Analytics – Tutorial

Last Updated: July 12, 2023

Setting up Shopify enhanced ecommerce tracking can get a bit tricky, depending upon the level of your expertise.

In this article, I will show you, how to correctly install enhanced ecommerce tracking with and without Google Tag Manager on your Shopify store.

Whether or not you use Google Tag Manager, the whole process of setting up enhanced ecommerce tracking on your Shopify store is still the same.

Follow the steps below:

Step-1: Make sure that Google Analytics is correctly installed on your website via Shopify (as explained in this article: How to correctly set up Google Analytics for Shopify Store). Otherwise, you won’t be to install enhanced ecommerce tracking.

Step-2: Login to your Google Analytics account and then navigate to the ‘All Website data’ view (or any other view where you want to collect the enhanced ecommerce data).

Step-3: Navigate to the ‘Admin’ section of your Google Analytics view and then click on ‘Ecommerce Settings’ under the ‘View’ column:

enhanced ecommerce tracking shopify ecommerce settings

Step-4: Set your ecommerce settings like the one below:

enhanced ecommerce tracking shopify ecommerce settings2

Note: If you skip Step-4, then your Google Analytics view won’t collect any enhanced ecommerce data coming from Shopify.

Step-5: Leave the ‘checkout labelling’ settings intact. This is because Shopify does not support ‘checkout labelling’ for enhanced ecommerce:

enhanced ecommerce tracking shopify checkout labelling enhanced ecommerce

Note: With Shopify Enhanced Ecommerce tracking, your ‘Checkout behaviour Analysis’ report won’t work.

Step-6: Click on the ‘Submit’ button. Your Google Analytics view is now ready to receive enhanced ecommerce data.

Step-7: In order to understand the checkout behavior of your Shopify store, you would need to set up Sales funnel in Google Analytics like the one below:

enhanced ecommerce tracking shopify sales funnel shopify

Shopify generates the following virtual pageviews for each checkout step:

Customer Information

/checkout/contact_information

Shipping

/checkout/shipping

Payment

/checkout/payment

Order Review

/checkout/review

Thank you

/checkout/thank_you

So these virtual pageviews can be used as funnel steps in Google Analytics (provided Google Analytics cross domain tracking is correctly working between your website and the Shopify checkout website: checkout.shopify.com):

enhanced ecommerce tracking shopify cross domain tracking

If you are new to sales funnels in Google Analytics then read this article: Google analytics goals and sales funnel – Complete Guide

Step-8: Login to your Shopify store with Admin/full access and then click on ‘Preferences’ under the ‘Online Store’ drop-down menu:

enhanced ecommerce tracking shopify preferences shopify

Step-9: Scroll down to the ‘Google Analytics Section’ and then check the box ‘Use Enhanced Ecommerce’:

enhanced ecommerce tracking shopify use enhanced ecommerce

Step-10: Click on the ‘Save’ button. 

That’s it. Enhanced ecommerce tracking is now installed on your Shopify store.

Note: Do not use Google Tag Manager to install Enhanced Ecommerce tracking on your Shopify Store. Enhanced ecommerce tracking is built into shopify and it does not use GTM or its data layers to deploy the tracking. So even if you try to use data layers for enhanced ecommerce, Shopify won’t use it.

Step-11: Once a new order has been placed on your website and a couple of minutes (10 or more minutes) have elapsed then navigate to ‘Shopping Behavior Analysis report‘ (under ‘Conversions’ > ‘Ecommerce’) in your Google Analytics view:

enhanced ecommerce tracking shopify shopping behavior analysis report2

You should now be able to see the ecommerce data like the one below:

enhanced ecommerce tracking shopify shopping behavior analysis report

Step-12: Now navigate to ‘Funnel Visualization’ report (under ‘Conversions’ > ‘Goals’):

enhanced ecommerce tracking shopify funnel visulization report1
enhanced ecommerce tracking shopify goals drop down menu

Step-13: Select the goal you created earlier (in order to understand the checkout behavior of your Shopify store) from the ‘Goals’ drop-down menu:

Step-14: Now look at the funnel visualization report and find drop-offs from one funnel step to the next:

enhanced ecommerce tracking shopify funnel visulization report2
  1. Google Analytics Ecommerce Tracking Tutorial
  2. Enhanced Ecommerce Tracking in Google Analytics – Tutorial
  3. Set up Enhanced Ecommerce Tracking in Google Analytics
  4. Using Enhanced Ecommerce segments for Remarketing in Google Analytics
  5. Using Cohort Analysis & Enhanced Ecommerce to Understand User Behavior
  6. Duplicate Transactions (orders) in Google Analytics
  7. Enhanced Ecommerce Tracking via Google Tag Manager
  8. Ecommerce Tracking Google Tag Manager (GTM) – Tutorial
  9. GA4 (Google Analytics 4) Ecommerce Tracking via GTM – Tutorial
  10. Why Google Analytics and Shopping Cart Sales data don’t match and how to fix it
  11. How to remove / modify Google Analytics ecommerce transaction in one click
  12. Tracking Google Analytics Paypal Referral and other payment gateways
  13. Subscription & Recurring Revenue Analytics in Google Analytics
  14. Understanding Google Analytics Product Data Import
  15. Shopping Cart Analytics Tutorial
  16. Learn To Read E-Commerce Reports In Google Analytics
  17. Dealing with Google Analytics Refund – Reverse Transaction
  18. How to reverse transaction in Google Analytics for gtag.js and analytics.js
  19. How to Fix Missing Ecommerce Data in Google Analytics

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade