Google Analytics 4 (GA4) is a free data platform that allows you to measure user interactions with your website or app. It is the successor to Universal Analytics, which was released in 2014. GA4 offers several advantages over Universal Analytics, including improved data collection, granular event tracking, and support for machine learning.
To set up GA4 on your Shopify store:
1. Create a GA4 property.
If you don’t already have a GA4 property, you can create one in the Admin section of your Google Analytics account.
2. Install the Google Analytics tracking code.
In your Shopify admin, go to Online Store > Preferences. Under “Google Analytics“, select “Add Google Analytics code“. Paste your GA4 property ID into the “Tracking ID” field and click Save.
3. Enable e-commerce tracking.
In your GA4 property, go to Data > Ecommerce Settings and turn on Enable E-commerce.
4. Add Enhanced E-commerce tracking.
Enhanced Ecommerce lets you track user interactions with your product pages and checkout flow. To set it up, go to Data > Ecommerce Settings and turn on Enable Enhanced Ecommerce Reporting. Then, follow the instructions in the Enhanced Ecommerce Tracking Guide to add the necessary code to your Shopify theme.
5. View your data in Google Analytics.
Once you’ve completed these steps, you can start viewing e-commerce data in your GA4 property. To do this, go to Conversions > Ecommerce > Overview.
How Do I Set Up Google Analytics 4 on Shopify?
Google Analytics 4 (GA4) is a free data platform that allows you to measure user interactions with your website or app. By following these simple steps, you can easily set up GA4 on Shopify:
1. Create a GA4 property.
2. Install the Google Analytics tracking code. Paste your GA4 property ID into the “Tracking ID” field and click Save.
3. Enable e-commerce tracking. In your GA4 property, go to Data > Ecommerce Settings and turn on Enable E-commerce.
4. Add Enhanced E-commerce tracking. Then, follow the instructions in the Enhanced ECommerce Tracking Guide to add the necessary code to your Shopify theme.
5. View your data in Google Analytics.