Skip to content
Cart
Your cart is currently empty.

Install Google Analytics (GA4) for Shopify (updated)

Install Google Analytics (GA4) for Shopify (updated)

Install Google Analytics (GA4) for Shopify (updated)


In today’s e-commerce environment Google Analytics feels like a necessity.

Unfortunately, Shopify’s own Guide is not up to date with Google’s latest Analytics version (GA4).


In case you are tired of seeing this screen

hazil-studios-google-analytics-shopify

 


This guide is for you.



The good news however, it is just as easy to connect your store to Google Analytics how it was before. Just slightly different.



If you haven’t set up an analytics property yet, you can follow these steps:

  1. Create a Google Analytics account
  2. On the Analytics Dashboard, go to Admin (at the bottom of the left side bar)
  3. On the right side you should see a property. If not, select “create property” at the top.
  4. Click on Setup Assistant
  5. Select Tag Installation
    hazil-studio-google-analytics-shopify-tag-installation

  6. Select the stream you want to connect
    hazil-studio-google-analytics-shopify-select-source

  7. Select Global site tag
    hazil-studio-google-analytics-shopify-tag-selection

  8. Copy the code snipped
    hazil-studio-google-analytics-shopify-copy-snippet

  9. In your Shopify Dashboard, go to Themes -> Actions -> Edit Code
  10. Search for the file named theme.liquid
  11. Paste the snipped we just copied from Google Analytics within the <head> </head> tag
    hazil-studio-google-analytics-shopify-tag-snippet-installation


Et voila! Save the page, refresh the website and you should see the Google Analytics Dashboard start tracking live visitors.



If you have any more questions, feel free to shoot us a message. I’m happy to help out.



Best,
Florian


Developer @ Hazil Studios

Previous post Next post