3 Simple Steps to Connect Google Analytics 4 (GA4) to Shopify

- In the bottom-left corner, click Admin.
- Under the Account column, select your account (or click Create Account).
Under the Property column, click Create Property. - Enter a name (like “MyShopifyStore GA4”), choose your reporting time zone and currency, then click Next → Create.
- After creating the property, select Web as the platform.
- Enter your store’s URL (e.g., https://www.yourstore.com) and give it a name (“Shopify GA4 Stream”).
- Click Create stream.
- On the Web stream details page, copy the Measurement ID (it looks like G-XXXXXXXXXX).
- Keep this handy—you’ll paste it into Shopify in Step 2.
- Go to analytics.google.com and log in
- Click your GA4 property
- In the left sidebar, click Admin
- Under the Property column, click Data Streams
- Select your Web data stream
- Copy your Measurement ID (it starts with G-XXXXXXX)
- In Shopify Admin, go to Settings > Customer Events
- Click Google Analytics 4 under the “Custom Pixels” section
- Paste your Measurement ID
- Save the changes
- Use GA4’s Realtime Report
- In GA4, click Realtime.
- Visit your Shopify store in a new tab and navigate pages. You should see your activity appear instantly.
- Test an Order
- Place a low-value test order on your store.
- In GA4’s Engagement > Events report, look for the purchase event and verify the revenue matches your test order.

Irene Le
Content Manager at TrueProfit & eCommerce Marketing Specialist
Irene Le is the Content Manager at TrueProfit, specializing in crafting insightful, data-driven content to help eCommerce merchants scale profitably. With over 5 years of experience in content creation and growth strategy for the eCommerce industry, she is dedicated to producing high-value, actionable content that empowers merchants to make informed financial decisions.