Website Building » Shopify » How Do I Add Google Analytics 4 to Shopify?

How Do I Add Google Analytics 4 to Shopify?

Last updated on October 1, 2022 @ 5:13 pm

Adding Google Analytics 4 to Shopify is a simple process that can be completed in just a few steps. First, you’ll need to create a new Google Analytics 4 property for your Shopify store.

Next, you’ll need to generate and add the tracking code for your new property to your Shopify store. Finally, you’ll need to verify that the tracking code is working correctly.

Creating a new Google Analytics 4 property is a simple process. First, you’ll need to log into your Google Analytics account and select the “Create Property” option from the “Admin” drop-down menu.

Next, you’ll need to select the “Web” option as the platform for your new property. Finally, you’ll need to provide a name and website URL for your new property.

Generating and adding the tracking code for your new Google Analytics 4 property is also a simple process. First, you’ll need to log into your Google Analytics account and select the “Tracking Info” option from the “Property” drop-down menu.

Next, you’ll need to select the “Tracking Code” tab and click on the “Global Site Tag (gtag.js)” link. Finally, you’ll need to copy the provided tracking code and add it to every page of your Shopify store.

Verifying that the tracking code is working correctly is a vital final step. The easiest way to do this is to use the Google Tag Manager preview mode.

First, you’ll need to log into your Google Tag Manager account and select the “Preview” mode option from the top right-hand corner of the screen. Next, you’ll need to visit your Shopify store in a web browser while logged into your Google Tag Manager account. Finally, you should see data being collected in your Google Analytics 4 property in real-time.

Adding Google Analytics 4 to Shopify ia simple process that takes only a few steps: creating a new property in GA4, generating tracking code for that property, adding said code snippet onto every page of Shopify website/store,and verifying that tracking code is working as intended by using GTM’s preview mode while visiting website pages.

PRO TIP: Please be aware that adding Google Analytics 4 to your Shopify account requires you to have a Google Analytics account and property already set up. You will also need to be familiar with code in order to complete this process.

Conclusion:

Overall, adding GA4 onto Shopify is easy and can be done relatively quickly by following these simple steps.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.