Emily Cella
Emily Cella PPC Executive

How to integrate Shopify and Google Analytics to track performance

Emily Cella
Emily Cella PPC Executive

It is essential to track how your website is performing, not only to see how potential clients and customers are interacting with your site and products, but also to track core data such as revenue.

Currently the most widely used web analytics platform, Google Analytics is the preferred means for many of tracking and monitoring site performance metrics. A correct Google Analytics setup tells you more about your online customers on your sites – whether mobile or desktop – than you could otherwise know, such as buying preferences, geographical location and demographic.

Designed to allow you to sell online with ease, Shopify is becoming an increasingly a popular platform within e-commerce. Previously, it has often been difficult to determine how your online outlet is performing, due to poor data and difficulties with the inbuilt analytics program.

Our easy to follow guide explains how to integrate Google Analytics with your Shopify account, allowing you to interpret your analytics and use them to optimise your Shopify outlet.

Step 1 – Enable universal analytics

1. Sign in to your Google Analytics account
2. Click on the ‘Admin’ section
3. Under ‘Property’, click ‘Tracking Info > Tracking Code’
4. Here you will need to copy the website tracking code

5. You will now need to open your Shopify account in a new tab or browser
6. From here click ‘Online Store > Preferences’
7. Here you will need to paste your ID tracking code from Google Analytics

8. Make sure you have removed password protection from your account.

Step 2 – Enable enhanced e-commerce tracking

To enable e-ccommerce tracking you will need to install the latest version of Google Analytics
1. In your Shopify account, click on ‘Online Store > Preferences’
2. Scroll to the section labelled ‘Google Analytics’ and check the tick box underneath to enable Enhanced E-commerce


3.  Click ‘Save’
4. In Google Analytics, click on the ‘Admin’ section
5. Under ‘View’, click on ‘E-commerce Settings’
6. Here you will need to set the ‘Enhanced E-commerce Reporting’ toggle to ‘On’

Here you will have the opportunity to generate related products data if you wish.

7. Click submit

You have now successfully integrated Google Analytics and Shopify, enabling you to track all your key site performance metrics with ease as you sell online.


  1. Avatar

    Vishnu Naruvadi

    Really great and looks to be any one can do if they have access rights. Is this only do Shopify or available for other e-commerce products ? I mean straight forward implementation.

    1. Emily Cella

      Emily Cella

      Hi Vishnu,
      Thank you for your comment! Glad you found this a useful read. Google Analytics will integrate with most e-commerce platforms although the process may vary for each. If there is a particular platform you are trying to integrate and can’t find information for, Google themselves are very helpful!

Comments are closed.

SIGN UP to our monthly newsletter

  • This field is for validation purposes and should be left unchanged.