Google Analytics 4 (GA4) is Google’s free tool that shows where your visitors come from and what they buy. But many store owners open their Shopify GA4 reports and find no purchases, or every sale counted twice. The cause is almost always the setup, not a bug in GA4.
In this guide I show you how GA4 gets data from Shopify today, why purchases go missing, and how to check every step yourself. I have fixed GA4 tracking on many client stores, and this is the order I check things in. Everything here is as of November 2026.
Here is what you will learn:
- How Shopify sends data to GA4 now, and what stopped working
- The right way to connect GA4 in five steps
- Eight reasons the purchase event is missing or doubled, with fixes
- How to test it in Realtime, DebugView and the purchases report
- Why Shopify and GA4 numbers never match, and Consent Mode v2 basics for EU and UK stores
How Shopify GA4 tracking works today
Today, Shopify GA4 tracking runs through the free
Google & YouTube app, made by Google. You connect your GA4 property in the app, and it adds an app pixel to your store. You don’t paste any code.
- The app pixel runs in the browser. It turns Shopify’s customer events into GA4 events, such as page_view, view_item, add_to_cart, begin_checkout, add_payment_info and purchase. When an order is placed, Shopify’s checkout_completed event becomes the GA4 purchase event.
- A server connection backs up purchases. Google also receives the purchase straight from Shopify’s servers, so some orders still count when the browser pixel is blocked. Google removes the duplicate when both arrive.
- The app handles ecommerce tracking for you. Each purchase carries the order ID, value, currency, tax, shipping and the products bought.
Three older ways stopped working. After February 2, 2025, Shopify turned GA tags left in Online Store, then Preferences, into custom pixels. The Additional scripts box and checkout.liquid no longer run on the Thank you and Order status pages. Shopify Plus stores lost them on August 28, 2025, and the deadline for all other plans was August 26, 2026.

How to set up Shopify GA4 the right way
To set up Shopify GA4, connect your property in the Google & YouTube app and remove every other GA4 tag. It takes about ten minutes and gives you ecommerce tracking without any code. You need a GA4 property with a web data stream first.
Step 1: Install the Google & YouTube app
Install it from the Shopify App Store and connect the Google account that is an administrator of your GA4 property. You don’t need a Merchant Center account for analytics only.
Step 2: Connect your GA4 property
- In your Shopify admin, go to Sales channels, then Google & YouTube.
- In the Looking only to set up Google Analytics 4? banner, click Get started.
- Under Connect a Google Analytics property, choose your property from the drop-down, or click Create new.
- Click Connect.
Step 3: Check the app pixel
Go to Settings, then Customer events. The Google & YouTube pixel should be in the list and connected.
Step 4: Remove every other GA4 tag
Look in theme.liquid, in Customer events under Custom pixels, and in any tracking app. If your GA4 ID appears anywhere else, remove it. Keep one source only.
Step 5: Remove the store password
GA4 can’t track events while your store is password protected. Shopify says so on its own GA4 setup page.

Why the GA4 purchase event doesn’t show (8 causes)
Most missing or doubled sales come from duplicate tags, old checkout code, cookie consent or checking too soon. When the GA4 purchase event looks wrong, check these eight causes in this order.
1. Two tags count every order twice
This is the cause I see most. The app sends purchases, and an old tag sends them again. Common sources are a gtag snippet in theme.liquid, a custom pixel Shopify made from your old Preferences tag, a
Google Tag Manager container, or a second tracking app. Google tells you to remove legacy tags so purchases are not measured twice.
2. Old Additional scripts code stopped
If your purchase event used to come from Additional scripts, it no longer runs. Nothing replaces it by itself. Connect GA4 in the Google & YouTube app, which tracks the Thank you page through its app pixel.
3. GA4 runs inside a custom pixel
Shopify lets you add Google Tag Manager as a custom pixel. But Google says running its tags in a custom pixel is not a supported setup. Events and features can break, and Google support won’t help. Use the app for GA4.
4. The cookie banner blocks events
In regions that need consent, usually the EEA and the UK, Shopify pixels only run after the visitor agrees. If you declined your own banner, you won’t see your own test. A third-party banner must also sync consent through Shopify’s Customer Privacy API, or pixels may never fire.
5. You checked too soon
Realtime shows events within a few minutes. Standard reports take longer, and Google says processing can take 24 to 48 hours. After connecting the app, give it two days before you judge.
6. The wrong property is connected
In the app, check the measurement ID under Your Google Analytics property. It must match the property you open in GA4. On client stores I often find a second, forgotten property here.
7. Currency or revenue looks wrong
A GA4 property uses USD by default. If you sell in euros or pounds, set your property currency in GA4. Orders in other currencies are converted at the previous day’s exchange rate, so small gaps are normal.
8. Ad blockers and test browsers
Ad blockers and privacy browsers stop the browser pixel. The server connection recovers some purchases, but not page views or add to cart events. Test with extensions turned off.
How to check your purchase event step by step
Test the whole Shopify GA4 path once, from your store to your reports. It takes about 15 minutes.
Step 1: Test the pixel in Shopify
- Go to Settings, then Customer events.
- Click the … button next to the Google & YouTube pixel and click Test.
- Your store opens with the Shopify Pixel Helper. Browse a product and add it to the cart. A green dot means the event worked.
- If you see Pixel is awaiting consent, accept your banner or click Give consent to continue test.
- To test the purchase, place a test order. checkout_completed should appear.
Step 2: Watch Realtime in GA4
In GA4, open Reports, then Realtime. Check the Event count by event name card while you browse. Your page views and your test purchase should show up within minutes.
Step 3: Use DebugView for details
- Open Google Tag Assistant at tagassistant.google.com and connect your store address. This turns on debug mode for your browser.
- In GA4, go to Admin, then under Data display, click DebugView.
- Place another test order and click the purchase event. Check transaction_id, value and currency.
DebugView stays empty if consent mode is on and you declined analytics cookies. So accept your banner first.

Step 4: Check the purchases report the next day
Open Reports and find Ecommerce purchases. In most properties you find it under Monetization. If Realtime showed the purchase but this report stays empty after 48 hours, check the currency and the property again.
Test orders don’t appear in Shopify’s own reports, so delete or ignore them when you compare numbers.
Why Shopify and GA4 numbers never match
Shopify and GA4 will never show the same sales total, and that’s normal. Shopify records every order on its servers. GA4 relies mostly on the visitor’s browser and their consent.
| Reason | Shopify | GA4 |
|---|---|---|
| What revenue includes | Total sales adds tax and shipping | Subtotal minus discounts |
| Refunds | Subtracted | Not sent by the app |
| Declined cookies | Order still counts | Mostly missing |
| Ad blockers | No effect | Browser events lost |
| Time zone | Store time zone | Property time zone |
| Test orders | Left out | May be counted |
The first row explains most gaps. Since April 24, 2025, the app sends the purchase value as subtotal minus discounts, with tax and shipping as separate fields. So compare GA4 purchase revenue with Shopify’s gross sales minus discounts, not with Total sales.
My rule: use Shopify for money and GA4 for trends and traffic sources. If both move up and down together, your ecommerce tracking works. If they drift far apart for a full week, start again at cause 1.

Consent Mode v2 basics for EU and UK stores
Consent Mode tells Google tags what a visitor chose in your cookie banner. Version 2 added two signals for ads, ad_user_data and ad_personalization, next to ad_storage and analytics_storage.
- Shopify’s free banner works with it. Google says consent mode turns on by itself once you activate Shopify’s cookie banner with the Google & YouTube app.
- Third-party banners need the Customer Privacy API. Without it, Shopify never learns the choice, and your pixels may not fire.
- Expect fewer sessions. When visitors decline, Google may fill some gaps with modeling. Your raw GA4 numbers will still be lower than Shopify’s.
For the full setup and a two-minute test, read my Shopify cookie banner guide. This is general information, not legal advice. Ask a lawyer what your store needs.
Common mistakes to avoid
These mistakes break Shopify GA4 data on many stores I check.
- Following old guides. Many still say to paste gtag code into theme.liquid. With the app, that only creates a duplicate.
- Skipping the referral exclusion list. Shopify suggests adding your own domain, checkout.shopify.com,
Shop Pay’s shop.com and payment sites like
PayPal. Otherwise they can show up as traffic sources for your sales. - Judging on day one. Wait 48 hours before you call it broken.
- Fixing GA4 and forgetting other pixels. The same duplicate and consent problems hit ad pixels. See my
Meta pixel guide. - Blaming tracking for low sales. If GA4 and Shopify agree that visitors don’t buy, read why a store gets traffic but no sales.
Which way should you use?
For almost every store, the Google & YouTube app is the right Shopify GA4 setup. Google built it, Google recommends it, and it covers ecommerce tracking plus a server backup for purchases. Shopify also recommends its built-in integration over Tag Manager, because adding both can double your data.
Use Google Tag Manager only if you need custom events and have a developer who knows the custom pixel limits. Never run it next to the app with the same GA4 ID. Want a second opinion on your whole store? Run my free Shopify store audit tool.
Related guides
- Shopify Google Ads conversion tracking: set it up and fix it when it stops.
- Shopify TikTok pixel: set it up with the app or a custom pixel.
- Shopify thank you page: what you can change now and how.
Frequently asked questions
How do I connect GA4 to Shopify?
Install the Google & YouTube app. Go to Sales channels, then Google & YouTube, click Get started in the GA4 banner, choose your property and click Connect. Then remove any other GA4 tags.
Why is GA4 not tracking purchases on Shopify?
The usual causes are old Additional scripts code that stopped, a declined cookie banner, the wrong property, or checking before the 24 to 48 hour delay. Test the purchase event with the Shopify Pixel Helper and GA4 Realtime.
Why does Shopify GA4 show every purchase twice?
Two tags send the same purchase. Remove gtag code from theme.liquid, old custom pixels and Tag Manager containers that use your GA4 ID, and keep only the app.
Why is GA4 DebugView not working?
Debug mode must be on, usually through Google Tag Assistant. DebugView also stays empty if consent mode is active and you declined analytics cookies.
Shopify Analytics vs GA4: which one is right?
Both, for different jobs. Shopify Analytics counts every order, so use it for sales and money. GA4 is better for traffic sources and shopper behavior, but it misses visitors who block tracking.
Is GA4 free for Shopify stores?
Yes. The standard GA4 property and the Google & YouTube app cost nothing, and Google says the Shopify integration is free.
Check your Shopify GA4 setup after every theme change, app install or banner change, because that is when tracking breaks. For more practical guides, see my Shopify tips. If you would rather have someone check it for you, I fix GA4 and pixel setups as part of my Shopify store management service. Message me on WhatsApp and I will take a look.




