Built for Shopify & WooCommerce · Tracking checked every 30 minutes.

Shopify analytics vs Google Analytics: why your sales don't match in GA4

Abir Molla
Abir MollaNov 20, 2026 · 10 min read
Shopify analytics vs Google Analytics: why your sales don't match in GA4Video · 4:57 · plays from YouTube

Shopify analytics and Google Analytics don't match because they count sales in different ways. Shopify records every order in its own database. GA4 only counts the purchase events that reach it, usually from the buyer's browser, so blocked, declined, duplicated or wrongly built events all change its total. A small gap is normal; a big one means some purchases never reach GA4, some reach it twice, or the two tools are measuring different revenue.

The video above shows why browser tracking misses so many Shopify sales, and the server-side setup I use to fix it. This post is the written version, with the checks to do first: how to find exactly which orders GA4 missed, how to spot double counting, and which part of the revenue gap you should simply leave alone.

Why the gap matters

The gap isn't only a reporting problem. Your sales are in your bank account either way. What goes missing is the information your marketing runs on.

Google Ads and Meta learn from the purchases they're told about. If a sale never reaches them, the campaign that drove it looks worse than it is, and the bidding moves money away from it. In the video I put it this way: you are bidding on ads with one eye closed.

So the goal isn't to make GA4 match Shopify to the cent. It's to know which part of the gap is broken tracking you can fix, and which part is normal.

What you need

  • Access to Shopify admin, with permission to export orders and see your apps and customer events.
  • Access to GA4, so you can build an exploration and open DebugView.
  • Google Tag Manager access, if your GA4 purchase tag runs through GTM.
  • A test order you can place, or a store in test mode.

Step 1: compare the same thing

Before you look for broken tracking, make sure the comparison is fair. Plenty of "missing" sales turn out to be a bad comparison, not a bad setup.

  • Same dates, same time zone. Shopify reports in your store's time zone. GA4 reports in the property's reporting time zone, under Admin → Property details. If they differ, orders near midnight land on different days. Compare a full week, not a single day.
  • Count orders before revenue. In GA4, check the Ecommerce purchases metric, for example in Reports → Monetization → Overview. If the order counts match and only revenue differs, skip to Step 7.
  • Give GA4 time. Google says data processing can take 24 to 48 hours, and numbers can change while it runs (Analytics Help, data freshness). Compare days that are at least two days old.

If you use KiteTrack, your tracking server gives you a third count between Shopify and GA4, which tells you which side the gap is on. The GA4 and Shopify revenue gap guide shows how to read it.

Step 2: find the orders GA4 missed

Totals tell you there is a gap. Order numbers tell you why.

Export your orders from Shopify for one week. Then in GA4, go to Explore → Free form, add the dimension Transaction ID, and the metrics Ecommerce purchases and Purchase revenue, for the same week. Put the two lists side by side and mark every Shopify order that has no matching transaction ID in GA4.

Your transaction ID may be the order number (#1001), the order name, or Shopify's long order ID, depending on how your tracking was set up. Look at a few in GA4 first, so you match the right column.

Now look at what the missing orders have in common:

  • They never went through the online checkout. Point-of-sale sales, orders you create and mark as paid in the admin, and subscription renewals never load a thank-you page in a buyer's browser. Shopify counts them; browser tracking can't. That gap is expected.
  • They come from visitors who declined cookies. If you run a consent banner, a buyer who says no isn't tracked. That's consent working as it should, and no setup should get around it.
  • They look like ordinary online orders. Then it's one of two things. Either the browser stopped the purchase before it was sent, which is what the video is about: ad blockers, Safari's Intelligent Tracking Prevention and iPhone privacy limits. Or the purchase event itself is unreliable. Step 3 tells you which.

I use the same order-by-order method for ad platforms. If you want to run it for Meta and Google Ads too, see how to check 10 Shopify orders against Meta and Google Ads.

Step 3: fix the data layer first

This is the first step of the framework in the video. If the purchase data going in is wrong, nothing after it can be right.

The data layer is the object your store pushes when an order is placed. It's where your GA4 tag reads the order from. For each purchase it should carry:

  • A transaction ID, unique for every order. Google says not to send an empty transaction ID: GA4 treats every purchase with an empty ID as the same one and drops the rest (Analytics Help, transaction IDs).
  • The value and the currency. GA4 needs a currency on every purchase that has a value, or revenue isn't calculated correctly (Analytics Help, currency reference).
  • The items, with ID, price and quantity.
  • Tax and shipping as their own fields, if you want them in GA4.
  • Customer details such as email and phone, which the server step uses later for Meta and Google Ads.

Place a test order with GTM Preview running. Click the purchase event and check the Data Layer tab. Then open GA4 DebugView and check that the purchase event arrived with the same transaction ID, value and currency.

On Shopify, the purchase is recorded when the buyer's browser reaches the thank-you page, through Shopify's customer events. If your tag fires on a page view instead of the purchase event itself, it can fire before the order data is there. Use the purchase event as the trigger.

Step 4: move tracking onto a server

The second step in the video is server-side Google Tag Manager. Instead of the buyer's browser sending each event straight to Google, it sends it to your own tracking server first. That server runs on a subdomain of your store, such as track.yourstore.com, so the request is first-party.

This helps with the browser losses from Step 2. Ad blockers work from lists of well-known tracking addresses, and a request to your own subdomain is much harder for them to tell apart from the rest of your store.

Be honest about the limits. A server doesn't bring back a buyer who declined cookies, and it doesn't reach every visitor. It narrows the gap. It won't close it.

Step 5: send purchases from the server

The third step is to let your server talk to the ad platforms directly: the Meta Conversions API, and Google's server endpoints for GA4 and Google Ads.

Two things make this work:

  • Every server event carries the same order ID as the browser event. That's how GA4, Meta and Google Ads recognise the same purchase arriving twice and keep one.
  • Customer data is hashed before it's sent. Meta and Google Ads use the hashed email and phone to match a sale to the right ad click, even when the browser cookie is gone.

For GA4, a purchase sent from a server must carry the visitor's GA4 client ID, the one their browser had during the visit. That's how GA4 ties the sale to the right session and source. Get it wrong and the sale lands in GA4 with no source, or the wrong one.

Step 6: check you're not counting twice

At the end of the video I warn that one wrong tag can double count your sales. Here is where that shows up.

If GA4 shows more purchases or revenue than Shopify, look for a second GA4 source. The most common one on Shopify is the Google & YouTube app sending purchases to GA4 while a GTM tag, a GA4 plugin or a gtag.js snippet in the theme does the same.

GA4 drops a repeat purchase only when it has the same transaction ID from the same user (Analytics Help, transaction IDs). Two sources that send different IDs, such as the order number from one and the long order ID from the other, are counted twice.

To check, go back to your Transaction ID exploration from Step 2. Any transaction with Ecommerce purchases above 1, or two different IDs for the same Shopify order, means two sources. Pick one, and turn off the GA4 purchase in the other.

Step 7: explain the revenue gap that's left

Once the order counts line up, the revenue can still differ. These causes are normal. You just need to know they're there.

  • Tax and shipping. Google's own examples build the purchase value from the items (price times quantity) and send tax and shipping as separate fields (Google Analytics developers, measure ecommerce). Shopify's Total sales includes tax and shipping. Compare GA4 with the Shopify figure that matches what your value includes.
  • Currency. If you sell in more than one currency, GA4 converts each purchase into the property's currency at the previous day's exchange rate (Analytics Help, currency reference). Shopify converts in its own way, so totals drift a little.
  • Refunds and edited orders. Shopify subtracts refunds, cancellations and order edits. GA4 only subtracts a refund when it receives a refund event with the same transaction ID (Google Analytics developers). Most Shopify setups don't send one, so GA4 keeps the original amount.
  • Test orders. Shopify leaves test orders out of its sales. If you placed one with tracking live, GA4 counted it. Find it by its transaction ID and leave it out.

Common mistakes

Comparing one day. Time zones and GA4's processing time move orders between days. A week tells you far more.

Comparing revenue before orders. If you start with revenue, tax, currency and refunds hide the real problem. Count orders first.

Running the Google & YouTube app and a GTM purchase tag together. Both send purchases to GA4, often with different IDs, and GA4 counts both.

Sending an empty or repeated transaction ID. GA4 keeps only the first purchase with that ID, so real orders disappear.

Expecting server-side tracking to close the whole gap. It helps with ad blockers and browser limits. It doesn't change consent, and it doesn't see orders that never touch your online checkout.

Publishing tracking changes without a test order. Check every change in GTM Preview and GA4 DebugView before you publish. One wrong tag can double your purchases or stop them.

Questions people ask

Which number is right, Shopify or GA4?

For orders and revenue, Shopify. It's your record of what was actually sold. GA4 is for understanding where buyers came from and what they did. You want GA4 close enough to Shopify that its source and campaign reports can be trusted.

How big a gap is normal?

There's no official number, and it depends on your market, your consent banner and how many buyers use Safari or ad blockers. Track your own gap week by week. A gap that suddenly grows matters more than its size on any one day.

Why does GA4 show more sales than Shopify?

Usually duplicates: two GA4 sources sending the same purchase with different transaction IDs. Test orders and refunds GA4 never heard about are the next most common causes.

Does Shopify's Google & YouTube app fix the gap?

It's an easy way to send purchases to GA4, but it's still browser tracking, so ad blockers and browser limits affect it the same way. And if you also track purchases through GTM, it can be the source of your duplicates.

Will server-side tracking make GA4 match Shopify exactly?

No. It narrows the gap from ad blockers and browser limits. Consent choices, orders outside the online checkout, tax, currency and refunds still keep the two apart.

Where KiteTrack fits

KiteTrack runs your own tracking server on your store's subdomain and sends every purchase to GA4, Meta, Google Ads and TikTok from it, with the same order ID each time so nothing is counted twice. Customer data is hashed before it leaves your server, and KiteTrack checks your tracking every 30 minutes, so a purchase event that stops firing becomes an alert, not a gap you find at the end of the month. See how it works for GA4 on Shopify.

Not sure where your own Shopify and GA4 gap comes from? Start with the free Tracking Check. It looks at your site in about two minutes, no signup. If you'd rather talk it through, book a call with me.

Sources

Get tracking tips by email

Short, practical fixes for Meta, Google Ads and GA4, from Abir.

You’re in. First tip lands soon.

Abir Molla
Written by Abir Molla

Tracking specialist. He builds and runs KiteTrack, and explains tracking on YouTube.

Keep reading

Let your ads see every sale.

30-day money-back guarantee · free migration · cancel any time