Why Shopify and GA4 numbers never match
Artwork, not data. Two counting houses, two tallies.
Short answer
Shopify records orders. GA4 records the events a browser or integration sends, so the two count different things in different ways and will rarely match exactly. There is no official benchmark for a normal gap, so start by aligning definitions and checking for duplicates before you judge your tracking.
Why Shopify analytics and Google Analytics differ
Shopify's own help page on analytics discrepancies lists the main reasons:1
- Different definitions. Shopify and GA4 define sessions and visitors differently.
- Bots. The two systems handle bot traffic differently.
- Cookies and JavaScript. Google Analytics needs both to work in the visitor's browser. Shopify's order records do not.
- Browser extensions. Some block Google Analytics entirely.
- Time zones. Each system reports in its own time zone, so "yesterday" may not be the same 24 hours.
Every order is in Shopify. Only the orders whose purchase event reached GA4 are in GA4.
Line up one week fairly
Before deciding anything is broken, compare like with like.
Pick one full week that ended at least a few days ago, so GA4 has finished processing.
Match time zones.
Check the reporting time zone in Shopify settings and in GA4's property settings. If they differ, your daily totals will not line up.
Count Shopify orders from the online store.
Leave out test orders. Note any orders from point of sale, draft orders or subscriptions separately, since those may not have a storefront visit behind them.
Count GA4 purchases.
Use the number of purchases (or transactions), not users or sessions.
Compare revenue last.
Revenue is where definitions differ most. Whether tax, shipping and refunds are included depends on how your purchase event is set up, so check that before reading anything into a revenue gap.
Whatever gap remains is the one worth explaining.
How to check for duplicate purchase events
Duplicates make GA4 look more complete than it is, or make your Google Ads conversions look better than your sales. Two checks catch most of them.
Trace one real order
Open Google Tag Assistant and place a real or test order on your store (or watch a page load if you cannot order). Select the Google tag and open the Hits sent tab. Count how many purchase events fire for the one order. If the same event goes out more than once, or is sent for both Analytics and Ads in a way you did not set up, it may be duplicated.4
Compare GA4 transaction IDs with Shopify order numbers
In GA4, build an exploration with Transaction ID as the dimension and purchases as the metric, for the same week. Export it and set it beside your Shopify orders.
- One ID with more than one purchase. GA4 is meant to deduplicate purchase events that share a transaction ID,5 so a count above one for a single order is worth looking into.
- A blank ID, or one ID for everything. If the transaction ID is empty, GA4 merges all those purchases into one.5 Google Ads also uses the ID to ignore repeats, so a fixed or empty ID undercounts conversions there too.6
- IDs that are not in Shopify. Often test orders or a tag firing on the wrong page.
- Shopify orders missing from GA4. Expected for some share of orders. Look for a pattern, such as one payment method or one device type.
Where a duplicate tag can hide
Duplicates come from other Google tags or an older setup running alongside Shopify's Google & YouTube app.478 Check each of these:
- The Google & YouTube app
- Pixels in Shopify under Settings, then Customer events (Shopify app pixels and custom pixels both run here)910
- Your theme code
- A Google Tag Manager container
- Other apps that add Google tags
What the app itself sends is covered in what Shopify's Google & YouTube app measures.
How to check whether bots are distorting a report
GA4 automatically excludes traffic from known bots and spiders. You cannot turn that off or see how much was excluded. Traffic from bots GA4 does not know about can still appear.11
Shopify handles bots in its own way,1 so a bot surge can inflate sessions in one system and not the other.
Practical signs that practitioners use (a rule of thumb, not something Google documents):
- A sudden jump in sessions from one country or city you do not sell much to.
- Very short visits, almost no product views and no add-to-carts.
- Traffic arriving as
Director from an unfamiliar referrer at odd hours.
If a spike looks like that, compare the same period with and without that segment before trusting your conversion rate. Spikes that show up mainly as Direct are covered in when Direct really means direct.
Google Ads conversions vs Shopify orders
Google Ads will not match Shopify either, and many of the same causes apply: duplicate tags, missing or repeated transaction IDs, and visits Google never saw.46 Google Ads also counts conversions under its own attribution settings, so its numbers are credited conversions, not an order count.
Keep the questions separate. A Google Ads conversion count that matches Shopify does not mean GA4 has the right source for each sale. And neither tells you, by itself, whether your ads are performing well.
What is not a tracking problem
Some gaps are bookkeeping, not tracking:
- Test orders, which Shopify may show and GA4 may or may not receive.
- Refunds and cancellations, which Shopify reflects in its reports and GA4 only reflects if a refund event is sent with the original transaction ID.5
- Tax and shipping, which may be included in one total and not the other, depending on your setup.
- Orders created outside the online store.
We have not confirmed the exact treatment of tax, shipping and test orders in Google's and Shopify's documentation, so check how your own purchase event is configured.
If the question is not "why are the totals different" but "why does this revenue have no source," that is the (not set) and Unassigned guide.
A second opinion
If you would like a second opinion on your own setup, Peter is open to a conversation.
Sources
- Analytics discrepancies, Shopify Help Center. accessed
- Shopify Analytics session measurement improvements, Shopify Changelog. accessed
- _shopify_y and _shopify_s cookies will no longer be set, Shopify Dev Changelog, published 2025-08-04. accessed
- How to avoid duplicated tracking events, Google Merchant Center Help. accessed
- Measure ecommerce, Google Analytics Help. accessed
- Use a transaction ID to minimize duplicate conversions, Google Ads Help. accessed
- Set up conversion tracking with the Google & YouTube app on Shopify, Google Ads Help. accessed
- Migrate to the Google & YouTube app, Google Tag Manager Help. accessed
- Web Pixels API, Shopify Dev. accessed
- Pixels overview, Shopify Help Center. accessed
- Known bot-traffic exclusion, Google Analytics Help. accessed