How to set up Google Analytics 4

Set up and connect GA4 to Shopify

Setting up Google Analytics in Shopify helps you track store visitors, analyze traffic sources, and measure the performance of your ads.


Step 1: Create a Google Analytics Account & Property

Before linking Google Analytics to Shopify, you first need to create an account and set up a new Google Analytics 4 (GA4) property.


📌 Follow this guide from Google to create your account and property:

Set Up Google Analytics


Step 2: Connect Google Analytics in Shopify

Once your Google Analytics property is set up, you can link it to Shopify through the Google & YouTube app.


To connect your Google Analytics property:

  1. Go to your Shopify Admin and open the Google & YouTube app.
  2. On the setup screen, click Get Started under the box titled "Looking only to set up Google Analytics 4?".
  3. Scroll down to Connect a Google Analytics property.
  4. Select your Google Analytics property from the dropdown list.
  5. Click Save to complete the setup.

📌 It may take up to 24 hours for Google Analytics to start collecting data from your Shopify store.


Next Steps

Once connected, Google Analytics will track store visits, customer interactions, and conversion data. Marketer can then use this data to help you optimize your ad performance.