Do I have to enable data collection for my Shopify store with GA4 measurement ID?

Asked 2 years ago

I have made the migration from Universal Analytics to Google Analytics 4. I also have a Google Tag Manager account so I can use GA4 through GTM on Shopify. I know that GA4 doesn't use the tracking ID that UA used, but instead it uses the measurement ID for data collection. Is it mandatory for me to use the measurement ID and enable data collection for my Shopify store?

Data collection
Universal analytics

Sergio Shaw

Wednesday, August 17, 2022

You can use measurement ID at the standard Shopify store. However, the checkout pages are an exception. Every page has a different method for setting up the ID. The theme page requires you to paste the ID between the head tags in the theme.liquid file. You need to paste it into additional scripts for the order confirmation page. Moreover, if you can't access the backend, copy the Google Site Tag and add it to your website to connect the Google Analytics.

Write an answer...


Please follow our  Community Guidelines

Can't find what you're looking for?