Chris Raad · 20 November 2026

GA4 on Shopify: why GA4 and Shopify disagree, what gap is normal, and a checklist to fix duplicate tags, consent, currency, referrals and lost purchases.

GA4 and Shopify will never show the same numbers, and they shouldn't: Shopify counts every order on its own servers, while GA4 counts only what a shopper's browser manages to send to Google. Shopify's help centre says the two services use different tracking mechanisms and won't record visitors equally. The gap you should fix is the one that changes suddenly, or the one caused by a setup mistake, and most of those come from a short list.

This guide sets out the supported setup as of 20 November 2026, explains which differences are built in, and gives a checklist for the ones you can fix, each checked against Shopify's and Google's own documentation.

What is the right way to set up GA4 on Shopify?

Connect GA4 through the Google & YouTube app and remove every other Google tag. Google publishes and supports the app, and its Shopify setup article calls connecting through the app "strongly preferred", with a manually added Google tag in the app's settings as the fallback.

In Shopify, open the Google & YouTube sales channel, choose the option to set up only Google Analytics 4 if you don't need Merchant Center, and select or create the GA4 property. Shopify's connection steps list only properties where your Google account is an administrator.

The app maps Shopify's customer events to GA4's ecommerce events, per Google's Shopify event reference (updated 28 July 2026):

GA4 eventFires whenShopify customer event behind it
page_viewAny page loadspage_viewed
view_item_listA collection is viewedNot named in Google's reference
view_itemA product page is viewedproduct_viewed
searchA search is submittedsearch_submitted
add_to_cartAn item is addedproduct_added_to_cart
remove_from_cart, view_cartThe cart changes or is viewedNot named in Google's reference
begin_checkoutCheckout startscheckout_started
add_shipping_infoShipping details entered, on Checkout Extensibility checkouts onlyNot named in Google's reference
add_payment_infoPayment details enteredpayment_info_submitted
purchaseThe order completescheckout_completed

Setups Google and Shopify warn against:

  • GA4 or Tag Manager in a custom pixel. Shopify says custom pixels are unsupported by Shopify, and Google lists features that may fail there, including enhanced measurement, cross-domain measurement and Tag Assistant.
  • Tag Manager next to the app. Shopify warns that adding Google Analytics through Tag Manager on top of the built-in integration can cause duplicate tracking.
  • A legacy tag in the Online Store preferences. Google says tags not moved to the app by 2 February 2025 were converted to custom pixels by Shopify, which "may create discrepancies".

The app has limits. It connects one GA4 property; a second property needs a manually added tag. It doesn't support server-side Tag Manager, GA4 custom dimensions sent through custom parameters, or cookie settings in code. A store that needs those is in custom territory, and Google's support won't help with it.

Why don't GA4 and Shopify numbers match?

GA4 and Shopify differ because they count different things in different places. Shopify lists the causes on its discrepancies page: page reloads counted differently, different session definitions, Google needing JavaScript and cookies, browser extensions blocking Google Analytics, and different reporting time zones.

What differsShopifyGA4
Where it countsOrders on Shopify's servers, every sales channelEvents a browser sends to Google from the storefront and checkout
SessionEnds after 30 minutes of inactivity; since 21 to 23 September 2026 no longer ends at midnight UTC, and identified bots are filtered by defaultEnds after 30 minutes of inactivity by default; counts in reports are estimates
Funnel unitSessionsUsers, in the purchase journey and funnel explorations
RevenueTotal sales include shipping, taxes and every channel (Live View)Purchase value net of discounts, without shipping and tax
AttributionLast click, so a direct return visit takes the creditNon-direct last click, with a 90-day lookback by default
ConsentIts own session counts fall in cookie banner regions, Shopify saysNothing is sent from a pixel until consent in banner regions
ProcessingNear real time24 to 48 hours, with some data arriving later

Shopify's session change in September 2026 moved conversion rates on every store without a single order changing; Shopify says to treat data after the update as a new baseline. If your GA4 and Shopify ratios shifted in the last week of September, that is the likely cause. Our post on Shopify conversion rate compares the two conversion rate definitions in detail.

How big should the gap between GA4 and Shopify be?

No Shopify or Google page states a normal size for the gap, so measure your own and watch whether it holds. Shopify's nearest statement is that each service's recording methods are "proprietary information and are never shared". Figures such as "5% to 15%" appear only on agency and app blogs, without a method.

Practitioners judge the gap by its stability. One r/shopify commenter who works on tracking wrote that GA4 undercounts revenue by 10 to 20% against Shopify for most stores they work with, and that "that gap is pretty stable". They suggested a weekly check of GA4 revenue as a share of Shopify revenue. That is one person's experience. The method holds up regardless:

  1. Each Monday, divide last week's GA4 purchases by last week's Shopify online store orders.
  2. Keep the ratio in a sheet with the date of every theme, app and checkout change next to it.
  3. When the ratio moves sharply in one week, look at what changed that week first.

When you need to know which orders are missing, compare order lists rather than totals. Export a day's Shopify online store orders, list the same day's purchases in a GA4 exploration with transaction ID as the dimension, and diff the two. A pattern in the missing orders (one device, one payment method, one country) points to the cause. Our Shopify conversion rate guide sets out that comparison step by step.

How do you audit GA4 tracking on Shopify?

Work through the causes in order of how often they break tracking, starting with duplicate tags and ending with the gaps you can't close. Each check below names the symptom, the cause and the fix.

SymptomLikely causeFix
GA4 purchases above Shopify orders, or page views doubledTwo Google tags firingRemove every Google tag except the app's
GA4 purchases fell sharply from late August 2025 (Plus) or late August 2026 (other plans)Tracking lived in additional scripts or a script tag appMove to the app pixel
Purchases missing for one country or regionConsent banner or consent appCheck banner regions and consent syncing
A steady shortfall in purchasesAd blockers and declined cookiesNone in the browser; track the ratio
GA4 revenue well below Shopify sales, orders closeRevenue definitions differCompare like with like
Revenue in the wrong currency or totals that driftProperty currency or time zoneSet AUD and your store's time zone
Purchases credited to PayPal or your own domainPayment redirects counted as referralsAdd them to unwanted referrals
Shopify orders that never appear in GA4 at allOrders from outside the online storeExclude them from the comparison

Duplicate tags

Duplicate tags are the most common reason GA4 shows more purchases or page views than it should. Google's duplicate tag checklist for Shopify tells you to look in four places: custom pixels (Settings, then Customer events), checkout additional scripts, checkout.liquid and theme.liquid. Search theme.liquid for gtag/js?id= and analytics.js. Any Google tag outside the app is a second copy.

Apps add tags too. Review apps, reporting apps and old marketing apps sometimes inject their own Google tag; check the Customer events list for app pixels you no longer use.

Purchases lost to the checkout upgrade

If your purchase tracking lived in the old additional scripts box or a script tag app, it has stopped. Shopify made additional scripts view-only on 28 August 2025. Plus stores' thank-you and order status pages began automatic upgrades in January 2026, and other stores that hadn't upgraded by 26 August 2026 were upgraded automatically. On the new pages, tracking runs only through pixels. Our Shopify checkout guide lists the other changes from those deadlines.

The app's purchase event comes from Shopify's checkout_completed event, which fires once per checkout, usually on the thank-you page or on the first upsell page if you run post-purchase offers. Shopify's event documentation says that if that page fails to load, the event isn't sent at all. A post-purchase upsell app that errors can therefore cost you purchase events.

Consent removes purchases only where a cookie banner asks for it, and Shopify's banner asks only in regions you configure. Shopify switches it on automatically for the UK and EEA where you sell there, and leaves it off elsewhere, including Australia, unless you choose otherwise (Shopify privacy settings). In banner regions, app pixels such as Google's run only after consent, then replay the events from earlier on the page.

  • Turning on Shopify's banner switches on Google consent mode for the app automatically, per Google's consent help.
  • A third-party banner app must pass consent to Shopify through the Customer Privacy API. Shopify warns that otherwise pixels might not fire even after a shopper agrees.
  • The banner app and Shopify's privacy settings must use the same regions, or data can be processed before consent.

Google can model some of what consent removes, but only above thresholds: at least 1,000 events a day from users who declined, for at least 7 days, and at least 1,000 daily users who accepted on 7 of the previous 28 days, using advanced consent mode (Google's modelling requirements). No Google or Shopify page says whether the app runs basic or advanced consent mode, and Shopify's pixel behaviour (nothing runs before consent) matches basic. An Australian store with a modest UK and EU audience is unlikely to reach those thresholds either way.

Ad blockers and declined cookies

Ad blockers and declined cookies cause a shortfall you can't fix in the browser. Shopify says Google "can only count visitors with JavaScript and cookies activated" and that browser extensions can block it from recording sessions and purchases; Google's own Tag Assistant help says ad blockers may stop the Google tag from running. This is the steady part of the gap, and the reason to track the ratio rather than chase a perfect match.

Revenue definitions

GA4 revenue and Shopify sales are built differently, so compare order counts before revenue. Google's event reference says the app's purchase value takes off item and order discounts "but does not include shipping charges and taxes". Shopify's total sales add shipping and taxes and include orders from every channel.

  • Google says purchase values for some orders fell from about 22 April 2025, when Shopify began subtracting order-level discounts. A year-on-year revenue comparison across that date overstates the fall.
  • Australian prices usually include GST. Pick one order and compare its GA4 purchase value with the Shopify order to see how your store's tax setting comes through, before you build a comparison on it.
  • The app sends no refund event, going by Google's published event list, so GA4 revenue isn't reduced when you refund in Shopify unless something else sends a refund event.

Currency and time zone

A GA4 property reports in US dollars by default, and Google converts other currencies at the prior day's exchange rate. Set the property's currency to Australian dollars in the property settings; Google notes that changing it also converts historical data. The app sends the currency with each event and defaults to USD if none is set.

Time zones shift orders between days. Set the GA4 property's time zone to match the one in your Shopify settings, then compare complete days only.

Payment redirects and unwanted referrals

When a payment provider sends shoppers to its own page and back, GA4 can credit the purchase to that provider as a referral. Shopify's referral exclusion list names your own domain, checkout.shopify.com, shop.com for Shop Pay, and external providers such as paypal.com. In GA4, add them under the web stream's tag settings, in list unwanted referrals; Google allows up to 50 per stream. For a buy now, pay later provider, place a test order and watch the address bar: if it leaves your domain, add that domain.

If your store runs on more than one root domain, for example a separate domain per market, GA4 counts one shopper as two users and two sessions unless you set up cross-domain measurement.

Orders GA4 never sees

Some Shopify orders never pass through a browser checkout, so GA4 has nothing to record. Shopify says pixels load on the storefront, checkout, thank-you and order status pages only. Leave point-of-sale orders, marketplace orders and subscription renewals out of any comparison. A paid draft-order invoice goes through checkout and may fire; check one before you decide.

GA4 also records nothing while the store is password-protected, per Shopify's GA4 setup page.

How do you test GA4 purchase tracking on Shopify?

Place a real order on your own store and watch it arrive in GA4. The tools, in the order to use them:

  1. Open GA4's Realtime report, which shows events by name from the last 30 minutes. Google lists checking that measurement works as one of its uses.
  2. Place a low-value order with your own card, then refund it. Shopify keeps test orders out of its own reports, and neither Shopify nor Google says whether a test order fires the GA4 purchase event, so a real order is the cleaner test.
  3. Confirm one purchase event appears, not two. Two means a duplicate tag.
  4. For detail, connect Tag Assistant to the store, which turns on GA4's DebugView for your own browser and shows each event's parameters, including value, currency and transaction ID.
  5. The next day, find your order's transaction ID in a GA4 exploration.

Testing limits to know:

  • DebugView shows nothing from a browser that has declined analytics cookies. Accept the banner first.
  • Tag Assistant can't see Google tags inside a custom pixel; Shopify's own Pixel Helper extension checks pixels instead.
  • Switch off your ad blocker while testing.
  • Google tag diagnostics in the tag settings flag a tag as urgent if it hasn't been detected for 48 hours. Check that status after any theme change.

When is GA4 on Shopify good enough?

GA4 is good enough when its purchases sit steadily below Shopify's online orders, the funnel events fire once each, and currency and time zone match your store. At that point it answers the question it is for: which step of the path loses shoppers, on which device, from which source. Shopify stays the record of orders and revenue.

Use the two together. Shopify tells you what you sold. GA4 tells you where in the funnel the rest of your visitors left, and our one-hour diagnosis uses it for exactly that, next to Microsoft Clarity recordings of the step that leaks.

Sources

Questions

Why doesn't GA4 match Shopify?

GA4 sees only what a shopper's browser sends to Google, while Shopify records every order on its own servers. Ad blockers, declined cookies, orders from point of sale and other channels, and different definitions of sessions and revenue all widen the gap. Shopify's help centre says the two use different tracking mechanisms, so an exact match is not expected.

What is a normal gap between GA4 and Shopify orders?

Neither Shopify nor Google publishes one. Measure your own ratio of GA4 purchases to Shopify online store orders each week. A steady ratio is the normal cost of browser tracking; a ratio that jumps or falls in one week means a tag broke or doubled.

Why is GA4 revenue lower than Shopify sales?

The Google & YouTube app sends purchase value net of discounts but without shipping and tax, according to Google's Shopify event reference, while Shopify's total sales include shipping, taxes and orders from every sales channel. Compare order counts first, and compare revenue only against a Shopify figure built the same way.

How do I fix GA4 not tracking purchases on Shopify?

Connect GA4 through the Google & YouTube app, remove any old Google tags from theme.liquid, custom pixels and Google Tag Manager, and place a test order while watching GA4's Realtime report. Since Shopify upgraded every store's thank-you and order status pages, purchase tracking runs only through pixels, so code left in the old additional scripts box no longer fires.

Should I use Google Tag Manager on Shopify?

Not for GA4 on a standard Shopify store. Google says running Tag Manager inside a Shopify custom pixel is not a supported implementation and many features won't work, and that Tag Manager can't be set up through the Google & YouTube app. Google advises moving Google tags into the app.

We'll show you what your customers do on it.

Apply for a free teardown