When analytics, ads and orders disagree: reconciling the numbers

TL;DR

Difficulty: Intermediate

Each system counts something different, so the numbers will never match, and that is fine once you know by how much they should differ.

  • The order database counts sales, the payment providers count money, GA4 counts consenting browsers, the ad platforms count what they can link to their own ads.
  • The gaps come from consent, blockers, redirects, attribution windows, click date versus purchase date, time zones, VAT and shipping, refunds, cross device journeys and duplicates.
  • Explain the gap once as a waterfall, then track the ratios between systems weekly with a band of normal variation.
  • Money from the database, behaviour from GA4, bidding signals from the platforms. Never add platform claims together.

Your shop says 456 orders, GA4 says 374, Google Ads 171 and Meta 118, all for the same week. None of them is broken. This chapter explains every reason they differ, walks one invented Leeds homeware shop from its order database to its analytics purchase by purchase, and gives you a weekly reconciliation table that tells you when a gap is normal and when something has broken.

Five systems, five numbers, one week

You open five tabs on a Monday morning. The shop says it took 456 orders last week. Google Analytics 4 (GA4) says 374 purchases. Google Ads says its campaigns drove 171. Meta says 118. The payment provider's dashboard shows 452 payments. Nobody has made a mistake, and yet nobody agrees.

This chapter answers the question every shop owner eventually asks: which one do I believe? The short answer is all of them, each for a different question, once you know exactly what each one counts. The long answer is the rest of this article. It lists every reason the numbers differ, with the source for each, shows how big each gap usually is, and ends with a weekly reconciliation table you can copy, with tolerances that tell you when a gap is normal and when something has broken.

It builds on the purchase event from chapter 2, the purchase event done right. If your purchase event has no transaction ID or fires twice on a reload, fix that first, because no reconciliation survives a broken event. The attribution question that hides behind several of these gaps (which channel actually made the sale) gets its own chapter, attribution for online shops.

A few terms first. A conversion is the thing an ad platform counts as a success, here a purchase. Attribution is the rule that decides which ad or channel gets the credit for a conversion. A window (or lookback window) is how many days after a click or a view a purchase can still be credited. A tag is the small piece of JavaScript in the browser that sends events to GA4, Google Ads or Meta.

Example: one week at Wrenfield Home

Wrenfield Home is an invented online homeware shop in Leeds (wrenfieldhome.example). It sells ceramics, kitchen textiles, lamps and small furniture, about 1,400 products. Priya owns it and Callum is its developer. The shop runs on Ruby on Rails and Solidus, takes card and PayPal, sends a newsletter to 38,000 subscribers and spends £14,000 a month on Google and Meta ads. Every number about Wrenfield in this article is invented for the example.

A typical month brings 110,000 sessions and converts 1.8% of them, at an average order value of £72 including VAT and shipping. One week is about 7 days out of 30.4, so:

  • Sessions: 110,000 × 7 ÷ 30.4 ≈ 25,300
  • Orders: 25,300 × 1.8% ≈ 456
  • Revenue: 456 × £72 = £32,832

Here is what Priya saw for the week of Monday 1 to Sunday 7 February 2027, read on Monday 15 February so that late data had time to arrive.

SystemPurchases reportedWhat it calls them
Solidus order database456completed orders
Card processor and PayPal452captured payments
GA4374purchase events
Google Ads171conversions (purchase action)
Meta Ads Manager118website purchases
Invented example for Wrenfield Home, week of 1 to 7 February 2027. The order database shows 456 orders, the payment providers 452 captured payments, GA4 374 purchases, Google Ads 171 conversions and Meta 118 purchases. The two ad platforms together claim 289 purchases. Tap or click to open full screen and move around

The rest of the article explains every bar, and the one thing to notice already: the two ad platforms together claim 289 sales, while GA4 credits paid channels with far fewer. That gap is not a bug either.

Each system answers a different question

Before any reason in detail, the frame that makes the rest easy. Each system counts something slightly different, at a slightly different moment, under its own rules.

  • The order database counts orders that completed in your own checkout, at the moment they completed. It sees every order, whether the customer accepted cookies or not, because the order is the business itself. It is the record of money owed to you.
  • The payment providers count money captured. They confirm the money arrived, but they do not know about orders paid entirely by gift card, and they record a capture at their own time, sometimes days after the order. At Wrenfield the four orders between 456 and 452 were paid entirely with gift cards.
  • GA4 counts purchase events sent from browsers (or from your server) of people who allowed analytics. It is a measurement of behaviour: which pages, which campaigns, which devices. It is a sample of the truth, usually a large one.
  • Google Ads counts purchases it can connect to a Google ad interaction, within its own window, credited by its own model, dated by the ad interaction, and topped up with modelled conversions it estimates but cannot observe.
  • Meta does the same for Meta ads, with its own window, which by default also counts people who only saw an ad.

So the database and the payment providers answer "how much did we sell?", GA4 answers "how did people behave on the way?", and each ad platform answers "how much should my bidding algorithm value this campaign?". The last question is a legitimate one. It is just not the same question as the first.

Example: one order, traced through five systems

One of Wrenfield's customers, call her the lamp buyer, does this:

  1. Monday 1 February, 8.15pm: scrolls Instagram on her phone and sees a Wrenfield ad for a ceramic table lamp. She does not tap it.
  2. Thursday 4 February, 1pm: searches "ceramic table lamp" on her work laptop, clicks a Google Shopping ad, browses, leaves.
  3. Saturday 6 February, 11.40pm: types wrenfieldhome.example into her laptop's browser, buys the lamp for £89 with PayPal. On the cookie banner she accepted analytics but declined advertising cookies.

Now the five systems:

  • Order database: one order, £89, completed Saturday 6 February at 11.40pm UK time.
  • PayPal: one captured payment of £89 on Saturday night.
  • GA4: one purchase on Saturday 6 February, if she came back from PayPal to the thank you page. Credited (with the default data driven model) partly or wholly to the Google Shopping click, because GA4 saw that click as a session source on Thursday. The Instagram view does not exist for GA4: it never saw it.
  • Google Ads: she declined advertising cookies, so the Google Ads tag could not observe the purchase directly. Google may still add a modelled conversion to its total. If it counts one, it files it under Thursday 4 February, the date of the ad interaction, not Saturday.
  • Meta: the Instagram view was five days before the purchase, outside the default one day view window, and she declined advertising cookies anyway. Meta most likely counts nothing.

One customer, one lamp, and the systems disagree on whether it happened, on which day and on who deserves it. Multiply by 456 and you have Priya's Monday.

Tags in the browser may only measure people who agreed, and in the UK the law requires a yes for advertising cookies and, in most setups, for analytics too. This is general information and not legal advice. In the UK, regulation 6 of the Privacy and Electronic Communications Regulations 2003 (PECR), as rewritten on 5 February 2026, forbids storing or reading information on a visitor's device without consent, subject to the exceptions in its Schedule A1.12 One of those exceptions now covers some first party statistics, but the Information Commissioner's Office (ICO) guidance says it does not apply to anything related to online advertising, and names connecting a visitor to a purchase for ad conversions as something that needs consent.3 How to set up the banner and the tags properly is covered in event tracking and consent mode and, for the cross border picture, in cookies, consent and the DACH tracking rules. Here the only question is what consent does to your numbers.

Every buyer who declines is missing from GA4 (unless you send the purchase from the server with an honest treatment of consent, which chapter 3 covers in the shop database as the source of truth). How many decline depends heavily on the banner. Commanders Act's privacy barometer for 2025, which looked at 1,301 banners in May 2025, found that 55.03% of all visitors opted in, while 32.41% made no choice at all.4 Buyers usually do better than visitors, because someone at the checkout has already dealt with the banner, but you should measure your own rate rather than borrow anyone's.

Google then tries to fill part of the hole with models. With consent mode in its advanced form, Google tags load before the banner and send cookieless pings when consent is denied.5 GA4 can use those to model the behaviour of people who declined, but only if the property collects at least 1,000 events a day with analytics storage denied for at least 7 days, and has at least 1,000 daily users with analytics storage granted for at least 7 of the previous 28 days.6 Google Ads models conversions for consent mode once an account passes its own quality checks, including 700 ad clicks over a 7 day period per country and domain grouping, and puts those modelled conversions straight into the Conversions column.7

So some numbers you see are observed and some are estimated, and the mix changes when your traffic or your banner changes. For reconciliation, compare like with like: GA4 lets you switch the reporting identity between Blended, which uses modelling where there is no identifier, and Observed, which does not.8 Reconcile on Observed. Use Blended for trends, if you trust the model.

Of Wrenfield's 456 orders in the week, Callum removes seven that never touched a browser: five phone orders a colleague keyed into the Solidus admin and two test orders he placed himself. That leaves 449 online orders.

Wrenfield's consent log, which stores each choice with a timestamp, shows that 87% of buyers granted analytics consent in January. Wrenfield uses basic consent mode, so nothing is sent for people who decline.

  • Buyers who granted analytics: 449 × 0.87 = 390.6, call it 391
  • Buyers missing from GA4 because of consent: 449−391=58449 - 391 = 58

Fifty eight orders, 13% of the week, are invisible to GA4 before any other problem starts.

Reason two: ad blockers and browser privacy features

Two different things happen in browsers, and they hit different numbers.

Blocking extensions stop the tag from loading at all. A buyer who consented but runs a blocker that knows the GA4 or Meta script sends nothing. The purchase is simply missing from that tool, just as if they had declined.

Browser tracking protection mostly does something subtler: it lets the purchase through but breaks the link back to the ad. Safari's Intelligent Tracking Prevention (ITP) deletes all cookies created in JavaScript, and all other script writeable storage, after 7 days without interaction with the website. When a visitor arrives through a link decorated with a click ID, ITP caps the cookies created in JavaScript on that landing page to 24 hours.9 Since Safari 17, Private Browsing also strips tracking information from the query string and fragment of links between websites, and people can switch the same protection on for all browsing.10

The consequence: a Safari user who clicks a Google ad on Tuesday and buys the following Wednesday may still appear in GA4 as a purchase, but from a new user with no link to the ad, so the credit lands on direct or organic traffic. Google Ads, which needed the click ID, may lose the conversion entirely. The order count in GA4 barely moves, the paid share shrinks, and the ad platform's number drops.

Example: what blocking costs Wrenfield

Callum cannot measure blockers directly, so he estimates them from the shop's own data, as the section on finding missing orders further down shows. He matches the week's orders against GA4's transaction IDs and finds 11 orders from buyers whose consent log says "analytics granted", who completed the checkout in a normal browser session, and who never appear in GA4. Blocking is the likeliest explanation.

  • Consenting buyers: 391
  • Missing despite consent: 11
  • Blocking rate among consenting buyers: 11 ÷ 391 ≈ 2.8%

The ITP effect does not show up in this count at all. It shows up later, in the gap between what GA4 credits to Google Ads and what Google Ads claims.

Reason three: the purchase never reaches the thank you page

Most browser purchase tags fire on the order confirmation page, the thank you page. Any buyer who pays but never sees that page is a missing purchase in GA4 and in every ad platform that relies on the same page.

The usual culprit is the payment redirect. With PayPal, the buyer leaves your site to approve the payment and is sent back afterwards. Some close the tab after approving, some lose their mobile connection, some have the PayPal app open and never return to the browser. The order still completes, because the payment provider tells your shop by a server to server notification, but the browser event never fires. The same applies to any provider that redirects, including bank and buy now pay later checkouts.

The fix is to send the purchase from the server when the order completes, as described in chapter 3. Until then, expect the gap to concentrate on one payment method.

Example: the PayPal leak at Wrenfield

About 30% of Wrenfield's orders use PayPal. Among the 380 consenting, unblocked buyers (391−11391 - 11), that is about 114 PayPal orders. Callum's order matching shows 12 PayPal orders from consenting buyers that completed in Solidus but have no GA4 purchase. The shop's server logs show that nine of them never loaded the thank you page at all, so those are the redirect leak. The other three did load it, which points at blockers, and they are already among the 11.

  • PayPal buyers who never returned: 9 of 114, about 7.9%
  • Share of all consenting, unblocked buyers lost here: 9 ÷ 380 ≈ 2.4%

So the return rate to the thank you page across all such buyers is 1−0.024=0.9761 - 0.024 = 0.976.

Putting the browser losses into one expected number

The first three reasons multiply. A purchase reaches GA4 only if the buyer consented, and was not blocked, and reached the thank you page. Each of these is a rate (see Foundations: ratios and rates for the basics, and Foundations: probability for why independent steps multiply). The expected number of GA4 purchases is:

G^=N×c×(1−b)×r\hat{G} = N \times c \times (1 - b) \times r

where G^\hat{G} is the expected number of purchases GA4 should record, NN is the number of online orders in the shop database for the period, cc is the share of buyers who granted analytics consent, bb is the share of consenting buyers whose browser blocks the tag, and rr is the share of the remaining buyers who reach the page where the purchase event fires.

The formula is the backbone of reconciliation: it turns "GA4 is lower than the shop" into "GA4 is lower by exactly as much as these three known losses explain", or not.

Example: Wrenfield's expected GA4 purchases

With Wrenfield's numbers:

G^=449×0.87×0.972×0.976=370.6\hat{G} = 449 \times 0.87 \times 0.972 \times 0.976 = 370.6

Here N=449N = 449 online orders, c=0.87c = 0.87, 1−b=1−0.028=0.9721 - b = 1 - 0.028 = 0.972 and r=0.976r = 0.976, so GA4 should show about 371 purchases if nothing else is going on. It shows 374. Two more reasons, further down, explain the remaining three: a time zone shift and a handful of duplicates.

Reason four: attribution models and windows

The ad platforms do not count purchases. They count purchases they can attribute to their own ads, and each uses its own rules for that.

GA4 uses data driven attribution by default for its key event reports, which spreads the credit for a purchase across the touchpoints on the path, so you will see fractions of a purchase per channel. Its key event lookback window defaults to 90 days for purchases and other key events, with 30 or 60 days as alternatives, and 30 days for acquisition events such as first visit.11

Google Ads only ever considers interactions with Google ads in the same account. Its default click through conversion window is 30 days, its engaged view window for video is three days and its view through window is one day.12 View through conversions are not included in the Conversions column by default.13

Meta credits purchases within its attribution setting. In Meta's insights reporting interface, the default attribution windows are ["7d_click","1d_view"]: purchases within seven days of a click or one day of an ad view.14 Unlike Google Ads' Conversions column, the default includes people who only saw the ad.

The effect is that every platform credits itself with every sale it touched, within its window, and none of them knows about the others. Add up the platforms' claims and the total can exceed your real sales. This is called double counting, and it is the most common reason a shop believes its ads work better than they do. Which model to trust, and how to measure what ads truly add, is the subject of chapter 6 on attribution and of five ways to prove a campaign actually worked.

Example: who claims Wrenfield's week

In GA4, with data driven attribution and the Observed identity, Wrenfield's 374 purchases are credited like this (rounded):

Channel in GA4Purchases credited
Google paid (Search and Shopping)128
Paid social (Meta)31
Email58
Organic search71
Direct86
Other (referral, organic social)0
Total374

Now compare the paid lines with the platforms:

  • Google Ads claims 171, GA4 credits Google paid with 128: Google Ads is 34% higher.
  • Meta claims 118, GA4 credits paid social with 31: Meta is 3.8 times higher.
  • Together the platforms claim 289 purchases, which is 63% of all 456 orders. GA4 gives paid channels 159 of 374, which is 43%.

Neither view is the truth about what the ads caused. Meta's number is high mostly because it counts one day views and sees journeys across its own apps that GA4 cannot see. Google's is higher than GA4's because it ignores the email and organic touches that GA4 also weighs, and because of the modelled and cross device conversions covered in reasons one and eight.

Reason five: the date of the click versus the date of the purchase

This one confuses everyone, because the same purchase lands on different days in different tools.

GA4 records a purchase on the day it happened, in the property's time zone. Google Ads, in its standard Conversions column, reports a conversion against the date of the ad interaction that led to it; Google's troubleshooting page calls this conversion delay and adds that conversions can be reported up to 90 days after the click.13 Google Ads also offers columns by conversion time, "Conv. (by conv. time)", which date the conversion when it happened.13 Meta lets you report actions either on the day of the ad impression or on the day of the conversion; its own documentation shows the same purchase appearing on 1 January or on 2 January depending on that setting.14

Two practical consequences follow:

  • Last week keeps growing. In Google Ads, the week you look at is not finished when the week is over, because people who clicked during it are still buying. Comparing a fresh week against a mature one makes every recent week look worse.
  • Short periods disagree most. Over a day, the date shift can move a large share of conversions. Over a quarter, it mostly washes out.

The fix for reconciliation: compare GA4 and the shop by purchase date, compare Google Ads using the "by conversion time" columns, and read any week only after a fixed delay. Wrenfield waits until the following Monday week.

Example: how Wrenfield's Google Ads week grew

Callum noted the Google Ads Conversions column for the week of 1 to 7 February on several days afterwards:

Invented example for Wrenfield Home. Conversions attributed to clicks in the week of 1 to 7 February 2027, as shown in the Google Ads Conversions column on later dates: 139 on 8 February, 151 on 9 February, 158 on 10 February, 165 on 12 February, 171 on 15 February, 174 on 22 February and 176 on 8 March. Tap or click to open full screen and move around

Read on the Monday straight after the week, the number was 139. A week later it was 171, and a month later 176. Had Priya compared the 8 February reading against the full month before, she would have concluded that Google Ads had dropped by a fifth. It had not. The week simply was not finished.

Reason six: time zones

Every system has a time zone, and they do not have to agree.

  • The Solidus database stores completed_at in UTC, as Rails does by default, and the shop's reports convert it to UK time.
  • GA4 reports dates in the property's reporting time zone. Google's own advice when comparing GA4 with its BigQuery export is to check that the time zones match, because otherwise "you might be comparing data from different time periods".15 The BigQuery export records event_date in the property's time zone and event_timestamp in microseconds UTC.16
  • Google Ads sets the account time zone when the account is created, and time zone changes are no longer supported in standard accounts: you would need a new account.17
  • Meta ad accounts have their own time zone setting too.

A UK shop whose GA4 property was created in US Pacific time has a reporting day that starts at 8am UK time. Every week then borrows Monday morning's orders from the following week and loses its own Monday morning to the week before. Over a month it nearly cancels out. Over a week, or around a big sale that starts at midnight, it does not.

Example: the eight hour week at Wrenfield

Callum created the GA4 property years ago and left it on US Pacific time. For the week of 1 to 7 February:

  • Orders between midnight and 8am UK time on Monday 1 February: 12. GA4 puts them in the previous week.
  • Orders between midnight and 8am UK time on Monday 8 February: 9. GA4 puts them in this week.
  • Net effect on this week: −12+9=−3-12 + 9 = -3

So GA4's week is three purchases short for reasons that have nothing to do with tracking. Callum changes the property to Europe/London. Changing it does not rewrite the past, so he notes the date of the change in the reconciliation sheet.

Reason seven: value, VAT, shipping and currency

Purchase counts are only half of the problem. The money disagrees even more often, because "revenue" means something different in each system unless you decide it once.

Your shop's order total includes VAT and shipping and subtracts discounts. GA4's purchase value is whatever your tag sends in value, so it can be with or without VAT and shipping depending on what your developer decided. GA4's Purchase revenue metric is the sum of purchase revenue minus refunds, while Gross purchase revenue ignores refunds, and Item revenue excludes tax and shipping.18 Ad platforms take whatever value the tag sends them, which may come from a different line of code than the GA4 value.

Chapter 2 explains how to choose the definition once. For reconciliation, write the definition of value per system into the reconciliation sheet, and convert before comparing.

Example: Wrenfield's revenue, four ways

Wrenfield's average order is £72 including VAT at 20% and an average shipping charge of £3.60 including VAT. Callum's GA4 tag sends value without VAT and without shipping. The Google Ads and Meta tags, added by an agency years ago, send the order total including both.

  • Goods including VAT, per order: £72.00 minus £3.60, which is £68.40
  • Goods without VAT, per order: £68.40 ÷ 1.2 = £57.00
SystemWhat value meansCalculationRevenue for the week
Order databaseorder total incl. VAT and shipping456 × £72£32,832
GA4goods without VAT, no shipping374 × £57£21,318
Google Adsorder total incl. VAT and shipping171 × £72£12,312
Metaorder total incl. VAT and shipping118 × £72£8,496

GA4's revenue is 65% of the shop's, while its purchase count is 82% of the shop's. Without the value definition written down, Priya would hunt for a tracking bug that is really an accounting choice. And because Google Ads values include VAT while GA4's do not, return on ad spend (ROAS) in Google Ads looks 26% better than the same ROAS calculated from GA4 values, before attribution even enters. The full argument for steering by profit rather than by this revenue is in ROAS, POAS and MER.

Reason eight: refunds and cancellations

The shop's net revenue drops when you refund. The tools only know about it if you tell them.

GA4 subtracts refunds from Purchase revenue only when you send the refund event with the transaction ID, and it uses the transaction ID to process refunds properly.1819 Google Ads lets you upload conversion adjustments by order ID, either restating the value of a conversion or retracting it completely.20 Without either, both tools keep the original sale forever, and at Wrenfield's return rate that matters.

A note on timing: a refund belongs to the week it is issued in your accounts, but the purchase it reverses belongs to an earlier week. Decide which view your reconciliation uses (Wrenfield compares refunds issued in the week) and never mix the two.

Example: a week of refunds at Wrenfield

At a 9% return rate, roughly 41 orders a week end in a refund. In the week of 1 to 7 February, Wrenfield issued 41 refunds worth £2,460 including VAT, or £2,050 without VAT.

  • Shop net revenue: £32,832 minus £2,460, which is £30,372
  • GA4 Purchase revenue: £21,318, because Wrenfield does not send refund events, so GA4 subtracts nothing
  • If Wrenfield sent refund events with values without VAT, GA4 Purchase revenue would be £21,318 minus £2,050, which is £19,268, and the ratio to the shop's net revenue without VAT and shipping would be stable week to week instead of drifting with the return rate.

How returns eat into margin is the subject of returns in eCommerce.

Reason nine: cross device journeys and identity

People look on a phone and buy on a laptop. Whether a system sees one person or two depends on what it can recognise.

GA4 can join devices when you send a user ID for logged in customers; its reporting identity uses the user ID first, then the device ID, and in Blended mode, modelling.8 Without a login, the phone visit and the laptop purchase are two users, and the purchase gets credited to whatever brought the laptop session. Google Ads models cross device conversions, to account for people who interact with an ad on one device and convert on another.13 Meta recognises people who are logged in to its apps on several devices.

So the ad platforms tend to see more of the journey than GA4 does, and they credit themselves accordingly. That is a real effect, not a trick, but it is unverifiable from your side, which is why the ad platform numbers are for bidding and not for accounting.

Example: the lamp buyer, again

The lamp buyer saw the Instagram ad on her phone and bought on her laptop. If she had bought within a day of seeing it, Meta could have counted the purchase, because she is logged in to Instagram on the phone and Meta can connect the two devices through its own data, as long as her consent allowed the purchase to be reported. GA4, with no Wrenfield login on the laptop, sees a direct visit and no Instagram at all. Same purchase, one system says Meta, the other says direct. Both are telling the truth about what they can see.

Reason ten: duplicates, test orders and data that is not final yet

The last group is housekeeping, and it is the easiest to fix.

  • Duplicates. GA4 deduplicates purchase events that share the same transaction ID, and Google advises never to send an empty one.19 Google Ads does the same per conversion action when the tag passes a transaction ID.21 A purchase sent without an ID, or with a different one on reload, counts twice.
  • Test and staff orders. Your developer's test purchases and orders keyed in by staff are in the database. Whether tests reach GA4 depends on how they are placed (Callum places his from a browser with tracking blocked, so they never do), and phone orders never do. Exclude both from the shop count explicitly.
  • Data that is not final. GA4 says data processing can take 24 to 48 hours, and reports may change during that time.22 Google advises allowing 24 to 48 hours for data to synchronise between Google Analytics and Google Ads before comparing them, and up to seven days after significant changes.13

Example: closing the last gap

Back to Wrenfield. The formula predicted 370.6 GA4 purchases, GA4 shows 374. Callum finds:

  • Six purchase events from the PayPal return path with an empty transaction_id, a bug in a template that only that path uses, sent by customers who reloaded the page. GA4 cannot deduplicate them: +6.
  • The time zone shift from reason six: minus 3.
  • Two test orders were already removed from NN, and five phone orders too, so they need no further adjustment.

The prediction becomes 370.6+6−3=373.6370.6 + 6 - 3 = 373.6, against 374 observed. Every purchase is accounted for. The next diagram shows the whole bridge.

The waterfall: from 456 orders to 374 purchases

A waterfall chart walks from one total to another, one known cause at a time. It is the single best picture for a reconciliation, because each bar is a reason you can name and fix, or accept.

Invented example for Wrenfield Home, week of 1 to 7 February 2027. Starting from 456 completed orders in the shop database: minus 5 phone orders keyed in by staff, minus 2 test orders, minus 58 buyers who declined analytics consent, minus 11 buyers whose browser blocked the tag, minus 9 PayPal buyers who never returned to the thank you page, minus 3 for the time zone shift, plus 6 duplicate purchases without a transaction ID, ending at 374 purchases in GA4. Tap or click to open full screen and move around

Read it from the top. Seven orders never had a browser. Fifty eight are the price of asking permission, which is the law and not a bug. Eleven are blockers. Nine are a fixable leak on one payment method. Three are a setting. Six are a bug that inflates GA4. Of those, the leak, the setting and the bug can be fixed this week, and the shop will be the better for it. The consent gap stays, and should.

Find the missing orders in your own data

The waterfall above needs one piece of real work: matching orders to GA4 purchases one by one. With the GA4 BigQuery export switched on and the transaction ID set to the Solidus order number, it takes three short steps.

First, the shop's side. This Postgres query lists the week's online orders in UK time, without test orders and without orders keyed in by staff:

-- Completed online orders, week of 1 to 7 February 2027, UK time
SELECT o.number,
       o.total,
       pm.name AS payment_method
FROM spree_orders o
JOIN spree_payments p        ON p.order_id = o.id AND p.state = 'completed'
JOIN spree_payment_methods pm ON pm.id = p.payment_method_id
WHERE o.completed_at IS NOT NULL
  AND (o.completed_at AT TIME ZONE 'UTC' AT TIME ZONE 'Europe/London')
      >= '2027-02-01' 
  AND (o.completed_at AT TIME ZONE 'UTC' AT TIME ZONE 'Europe/London')
      <  '2027-02-08'
  AND o.email NOT LIKE '%@wrenfieldhome.example'          -- staff test orders
  AND (o.created_by_id IS NULL OR o.created_by_id = o.user_id); -- not keyed in by staff

completed_at is stored in UTC, so the query converts it to London time before comparing dates. Orders created by a staff account for someone else are left out, because they never had a browser.

Second, GA4's side. This BigQuery query lists every purchase event for the same week with its transaction ID, and how often each ID appears:

-- GA4 purchase events in the UK week, whatever the property time zone
SELECT ecommerce.transaction_id,
       COUNT(*) AS events
FROM `wrenfield-analytics.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20270131' AND '20270208'
  AND event_name = 'purchase'
  AND DATE(TIMESTAMP_MICROS(event_timestamp), 'Europe/London')
      BETWEEN DATE '2027-02-01' AND DATE '2027-02-07'
GROUP BY ecommerce.transaction_id;

The table suffix covers a day either side, and the filter on event_timestamp, which is stored in UTC, cuts the week in UK time, so the query works even while the property is still on the wrong time zone. Rows where events is greater than one, or where the transaction ID is empty, are your duplicates. The export keeps every event, so you see duplicates here that GA4's own reports have already removed.

Third, compare the two lists. A short script in the Rails console, after saving the BigQuery result as a CSV file, groups the missing orders by consent choice and payment method. Wrenfield stores each buyer's analytics choice on the order, in a column it added called analytics_consent (it is not part of Solidus itself):

require "csv"

ga4_ids = CSV.read("ga4_purchases.csv", headers: true)
             .map { |row| row["transaction_id"] }.compact.to_set

week   = Time.zone.parse("2027-02-01")...Time.zone.parse("2027-02-08")
online = Spree::Order.complete.where(completed_at: week)
                     .where.not("email LIKE ?", "%@wrenfieldhome.example")
                     .where("created_by_id IS NULL OR created_by_id = user_id")
                     .includes(payments: :payment_method)

missing = online.reject { |order| ga4_ids.include?(order.number) }
missing.group_by do |order|
  [order.analytics_consent ? "granted" : "declined",
   order.payments.last&.payment_method&.name]
end.transform_values(&:count)
# => {["declined", "Card"] => 41, ["declined", "PayPal"] => 17,
#     ["granted", "Card"] => 8, ["granted", "PayPal"] => 12}

Spree::Order.complete returns orders with a completion time, and Time.zone is the shop's configured zone, so the week matches the SQL above. The two other filters remove test and staff orders, exactly as the SQL does. The result is the whole browser side of the waterfall in four numbers. The 58 declined orders (41 plus 17) are the consent gap. Among buyers who granted consent, 12 of the 20 missing orders are PayPal, although PayPal carries only 30% of orders: the signature of a redirect leak. The server logs then split those 12 into nine that never saw the thank you page and three blocked, and the eight card orders are blocked too, which gives the 11.

A weekly reconciliation table with tolerances

Knowing why numbers differ is useful once. Knowing when the difference has changed is useful every week. The trick is to track ratios between systems, not the raw numbers, and give each ratio a band of normal variation.

The main ratio is GA4's capture rate, measured against all completed orders:

p=GOp = \frac{G}{O}

where pp is the capture rate, GG is the number of GA4 purchases in the week and OO is the number of orders in the shop database for the same week, both in the same time zone.

Even if nothing changes, pp wobbles from week to week, because whether each buyer consents, blocks or returns is partly chance. Treating each order as captured or not, the standard 95% confidence interval for a proportion gives the band of normal wobble (see Foundations: confidence intervals for where it comes from, and Foundations: sample size for why small weeks wobble more):

p±1.96p (1−p)np \pm 1.96 \sqrt{\frac{p\,(1 - p)}{n}}

where pp is the usual capture rate, nn is the number of orders in the week, 1.961.96 is the multiplier for 95% confidence, and the square root term is the standard error of a proportion.

Treat the band as a minimum. Real weeks vary a little more than this model assumes, because a banner change or a sale shifts everyone at once. If your own history shows wider swings, widen the band to match your last eight to 12 weeks.

Example: Wrenfield's band, and the week it broke

For the week of 1 to 7 February:

p=374456=0.820p = \frac{374}{456} = 0.820

So p=0.820p = 0.820 and n=456n = 456. The standard error is 0.820×0.180÷456=0.000324=0.0180\sqrt{0.820 \times 0.180 \div 456} = \sqrt{0.000324} = 0.0180, and the 95% half width is 1.96×0.0180=0.03531.96 \times 0.0180 = 0.0353.

  • Lower bound: 0.820−0.035=0.7850.820 - 0.035 = 0.785, so 78.5%
  • Upper bound: 0.820 + 0.035 = 0.855, so 85.5%

Two weeks later, the shop takes 458 orders and GA4 shows 341. The capture rate is 341 ÷ 458 = 74.5%, below the band. Something changed. Callum checks the releases that week and finds that a cookie banner update loaded the GA4 tag only after a second page view, so buyers who accepted on the thank you page itself, after paying, were never counted. He fixes it, and the next week is back at 81.9%.

Here is Wrenfield's full weekly table. The bands for the binomial ratios come from the formula above. The ad platform ratios are not proportions (a platform can claim more than GA4 credits), so their bands are the range of the last eight weeks, which is Wrenfield's own choice for the example.

CheckRatioThis weekNormal bandIf outside the band
Payments captured ÷ shop orders452 ÷ 45699.1%98.2% to 100%look for unpaid or voided orders, failed captures
GA4 purchases ÷ shop orders374 ÷ 45682.0%78.5% to 85.5%match orders to transaction IDs, check releases and the banner
GA4 revenue ÷ shop goods revenue without VAT£21,318 ÷ (456 × £57)82.0%78.5% to 85.5%if counts are fine but revenue is not, check the value definition
GA4 refunds ÷ shop refunds0 ÷ 410%should be 95% to 100%send the refund event (Wrenfield's open fix)
Google Ads conversions (by conversion time) ÷ GA4 Google paid purchases171 ÷ 1281.341.22 to 1.45check primary conversion actions, windows, modelled share
Meta purchases ÷ GA4 paid social purchases118 ÷ 313.813.2 to 4.4check the pixel, the Conversions API deduplication, the attribution setting
Duplicate purchase IDs in the GA4 export660fix the template that sends them

The first column is the habit. Everything after it is detail that only matters on the week a ratio leaves its band.

Tap or click to open full screen and move around

Which system answers which question

Once the gaps are understood, the rule for which number to believe is simple: pick the system whose way of counting fits the question.

QuestionSystem to useWhy
How much did we sell, and how much do we keep?Order database, net of refundsit sees every order and every refund
Did the money arrive?Payment providersthey hold the money
Where do people drop out before buying?GA4it records behaviour, page by page
Which landing pages or devices convert worse?GA4a large, consistent sample is enough
Which campaign, ad or keyword should get more budget inside one platform?That ad platformits bidding uses its own numbers anyway
How much should each channel get overall?Neither the platforms nor GA4 aloneneeds experiments or a mix model, see chapter 6
Is tracking still working?The weekly ratiosa change in a ratio is the alarm

Two rules follow. Money comes from the database, always, and never from an ad platform's conversion value. And no platform's number is ever added to another platform's number, because each already includes sales the other also claims.

Example: Priya's Monday questions, answered from the right place

Priya has four questions on 15 February.

  1. "Was last week good?" From the database: £30,372 net revenue after refunds, against a plan of £31,000. Slightly behind.
  2. "Did the new product pages help?" From GA4: product page to basket rate up from 7.9% to 8.6%, on 82% of buyers, which is plenty for a comparison of rates.
  3. "Is the Shopping campaign worth more budget?" From Google Ads, using its own conversions by conversion time, because Smart Bidding learns from those same numbers. But the answer is checked against the shop: Google's 171 is a claim, and the database cannot confirm it.
  4. "Is Meta worth £5,000 a month?" Not from Meta's 118, which includes one day views, and not from GA4's 31, which cannot see in app journeys. From a holdout test, which chapter 6 sets up, and from allocating the ad budget by marginal returns.

Each answer has a source, and none of them needs the five numbers to agree.

Fixing the gaps you can fix

Some gaps are the cost of doing things properly. Others are just bugs and settings. In the order I would work through them for a shop like Wrenfield:

  1. Make the shop count clean. Exclude test orders and orders keyed in by staff with a rule, not by memory. Every other ratio depends on this denominator.
  2. Align time zones. Set the GA4 property to the shop's time zone. Check the Google Ads and Meta account time zones, and if Google Ads is wrong, note it in the sheet, because the account itself cannot be changed.17
  3. Fix duplicates. Every purchase event carries the order number as transaction_id, on every path, never empty.1921
  4. Write down the value definition for each system, and make the ad tags send the same value as GA4, or at least a known one.
  5. Send refunds. The refund event to GA4, and conversion adjustments to Google Ads by order ID.1820
  6. Send the purchase from the server when the order completes, with consent recorded on the order, so redirect losses disappear. That is chapter 3, the shop database as the source of truth, and the basics of the server side setup are in server side tracking.
  7. Check what each ad platform counts as a primary conversion. Google warns that non purchase actions set as Primary with values can inflate totals.13
  8. Run the weekly table, every week, from a query rather than by hand.

What you should not try to fix is the consent gap. People who say no are entitled to be invisible. Estimate them openly, as event tracking and consent mode shows, and never chase them with workarounds. And do not try to make the ad platforms agree with GA4: they never will, and they are not meant to. If the dashboard itself has started to mislead, is your dashboard lying to you has the ten minute audit.

I build shops on Rails and Solidus, which makes this easier in one specific way: the order, the payment, the refund and the consent choice all sit in the same database, so the reconciliation query is a join rather than a project. The same table works on any platform, though. All it needs is an order export with order numbers and a GA4 property that sends them.

Example: Wrenfield after four weeks of fixes

Callum works through the list in February and early March:

  • Time zone changed to Europe/London: the minus 3 disappears from the next weeks.
  • Empty transaction IDs fixed: the +6 disappears.
  • Purchases sent from the server for PayPal returns: the minus 9 disappears.
  • Refund events added: GA4 refunds ÷ shop refunds rises from 0% to 98%.
  • Ad tags changed to send the same value as GA4 (goods without VAT): Google Ads ROAS drops on paper by a fifth, and nobody panics, because the sheet says why.

The expected capture rate rises from 82% to roughly 449×0.87×0.972÷456=0.833449 \times 0.87 \times 0.972 \div 456 = 0.833, about 83% of all orders, with the consent and blocker gaps left honestly in place and the phone orders still, correctly, outside GA4. Priya's five numbers still differ. She now knows by how much they should, and she hears about it within a week when they do not.

Conclusion

The numbers disagree because each system counts a different thing. The order database counts sales, the payment providers count money, GA4 counts the behaviour of people who allowed it, and the ad platforms count what they can connect to their own ads, in their own windows, dated by the click, partly modelled. Explain the gap once, as a waterfall from shop orders to GA4 purchases, with each step named. Then track ratios between systems every week, with a band of normal variation, and investigate only when a ratio leaves it. Take money from the database, behaviour from GA4 and bidding signals from the platforms, never add platform claims together, and leave the consent gap where the law puts it.

If your five dashboards tell five stories, book the free workshop: I reconcile one week of your orders against GA4 and your ad platforms with you, and the first two weeks of work are on me.

Sources

  1. 1.

    The Privacy and Electronic Communications (EC Directive) Regulations 2003, regulation 6, as substituted on 5 February 2026 by the Data (Use and Access) Act 2025, legislation.gov.uk, https://www.legislation.gov.uk/uksi/2003/2426/regulation/6

  2. 2.

    The Privacy and Electronic Communications (EC Directive) Regulations 2003, Schedule A1 (exceptions to regulation 6), inserted 5 February 2026, legislation.gov.uk, https://www.legislation.gov.uk/uksi/2003/2426/schedule/A1

  3. 3.

    Information Commissioner's Office, Guidance on the use of storage and access technologies: What are the exceptions?, ICO, 2026, https://ico.org.uk/for-organisations/direct-marketing-and-privacy-and-electronic-communications/guidance-on-the-use-of-storage-and-access-technologies/what-are-the-exceptions/

  4. 4.

    Commanders Act, Privacy Barometer 2025 edition (1,301 banners, 1 to 31 May 2025), Commanders Act, 2025, https://www.commandersact.com/wp-content/uploads/2025/09/Barometre-Privacy-2025-EN-website.pdf

  5. 5.

    Google, Consent mode overview, Google for Developers, Tag Platform, https://developers.google.com/tag-platform/security/concepts/consent-mode

  6. 6.

    Google, Behavioural modelling for consent mode (the page title uses the American spelling), Google Analytics Help, checked 22 November 2026, https://support.google.com/analytics/answer/11161109

  7. 7.

    Google, About consent mode modelling (the page title uses the American spelling), Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/10548233

  8. 8.

    Google, Reporting identity, Analytics Help, checked 22 November 2026, https://support.google.com/analytics/answer/10976610?hl=en-GB

  9. 9.

    WebKit, Tracking Prevention in WebKit (sections on detection of cross site tracking via link decoration and the 7 day cap on all script writeable storage), webkit.org, https://webkit.org/tracking-prevention/

  10. 10.

    John Wilander, Charlie Wolfe, Matthew Finkel, Wenson Hsieh and Keith Holleman, Private Browsing 2.0, WebKit blog, 16 July 2024, https://webkit.org/blog/15697/private-browsing-2-0/

  11. 11.

    Google, Select attribution settings, Analytics Help, checked 22 November 2026, https://support.google.com/analytics/answer/10597962?hl=en-GB

  12. 12.

    Google, About conversion windows, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/3123169?hl=en-GB

  13. 13.

    Google, Data discrepancies: factors and troubleshooting (conversion delay, conversion time columns, view through and cross device conversions, data processing delays, action optimisation settings), Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/7457111?hl=en-GB

  14. 14.

    Meta, Ad Account Insights reference (parameters action_attribution_windows, whose default means 7d_click and 1d_view, and action_report_time), Meta for Developers, checked 22 November 2026, https://developers.facebook.com/docs/marketing-api/reference/ad-account/insights/

  15. 15.

    Google, Compare Analytics reports and data exported to BigQuery, Analytics Help, checked 22 November 2026, https://support.google.com/analytics/answer/13578783?hl=en-GB

  16. 16.

    Google, BigQuery Export schema (event_date, event_timestamp, ecommerce.transaction_id), Analytics Help, checked 22 November 2026, https://support.google.com/analytics/answer/7029846?hl=en-GB

  17. 17.

    Google, About your Google Ads time zone setting, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/17006726?hl=en-GB

  18. 18.

    Google, Analytics dimensions and metrics (Purchase revenue, Gross purchase revenue, Item revenue, Refund amount), Analytics Help, checked 22 November 2026, https://support.google.com/analytics/answer/9143382?hl=en-GB

  19. 19.

    Google, Minimize duplicate key events with transaction IDs (the page title uses the American spelling), Analytics Help, checked 22 November 2026, https://support.google.com/analytics/answer/12313109?hl=en-GB

  20. 20.

    Google, How to adjust your conversions, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/7686280?hl=en-GB

  21. 21.

    Google, Use a transaction ID to minimise duplicate conversions, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/6386790?hl=en-GB

  22. 22.

    Google, Data freshness, Analytics Help, checked 22 November 2026, https://support.google.com/analytics/answer/11198161