Skip to content

Why GA4 and your back office never report the same revenue

Data trust

By Boris Parov8 min read

Lire cet article en français

Google Analytics 4 (GA4) revenue doesn't match your orders for five reasons: consent, blockers, definition, tagging, and bots. The gap can't be forced to zero. It's measured and tracked per cause and per country. On Google's public sample, January 2021 holds 1,204 purchase events for 894 valid transaction IDs. Our guide to trusting your GA4 numbers covers the wider method.

Why doesn't GA4 revenue match your orders? The five causes

GA4 revenue doesn't match your orders because five independent mechanisms act on the same sales. Consent and blockers remove orders before any event is sent. The revenue definition changes the amount of orders GA4 does see. Tagging defects lose or duplicate purchase events. Bots add sessions, rarely sales.

Their usual weight follows that order on a European site, but no honest source gives a universal share. Consent depends on your banner, your markets, and your devices. Blockers depend on your audience: a technical audience blocks more. The definition gap is a convention, often large but stable. Tagging is small when the site is stable and large after a release. Bots weigh almost nothing on revenue. Each cause leaves a distinct signature, so each one can be tested separately.

CauseEffect on GA4 revenueSignatureTest in the export
Declined consentLowerOrders missing, unevenly across markets and devicesEvents per privacy_info.analytics_storage value, by country
Ad blockers, failed scriptsLowerOrders missing, with no consent pattern behind themOrder-only share of the transaction-ID join, net of consent
Revenue definitionEither wayMatched orders with different amountsFill rate of purchase_revenue, tax_value, shipping_value, refunds
Tagging defectsHigher or lowerDuplicated IDs, purchase without an IDpurchase events versus distinct transaction_id
BotsSessions higher, revenue unchangedSessions with no page_view or no engagementpurchase events inside suspect sessions

The decision that follows is about the reference, not the correction. Finance keeps the back office. Marketing compares channels and markets in GA4, where every channel loses the same way.

Declined consent removes orders from GA4 before they exist as revenue. A visitor who refuses analytics storage either sends nothing or sends cookieless pings. Without consent mode, the tag never fires, and the order leaves no row anywhere. With consent mode, the export keeps a ping marked as declined, without a lasting identifier.

Consent Mode v2 is the version of Google's consent mode that adds two signals, ad_user_data and ad_personalization, to the original analytics_storage and ad_storage, so that Google tags adjust their behavior to the choice a visitor made in the consent banner and send cookieless pings when storage is declined.

The first test is to see which consent values your export contains. The public sample predates consent mode, so it shows a single value.

SELECT
  IFNULL(CAST(privacy_info.analytics_storage AS STRING), 'unset') AS analytics_storage,
  COUNT(*) AS events,
  COUNTIF(event_name = 'purchase') AS purchase_events
FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
GROUP BY analytics_storage
analytics_storageEvents, January 2021purchase events
unset1,210,1471,204

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

Ad blockers act like a refusal that nobody recorded. A blocked script sends no ping, consented or not. The order exists in your back office and nowhere in the export. That's why blockers only appear in a join with your orders. Their share is what remains missing once consent is accounted for. It varies with your audience, and only your own join can measure it.

On your own export, the same query grouped by geo.country gives a consent split per market. That split is yours: never replace it with a market average. The fields, and what a declined ping can and can't tell you, are in Consent Mode v2: what the BigQuery export sees, and what it doesn't.

Do tax, shipping, discounts, and refunds explain the gap?

Tax, shipping, discounts, and refunds explain the gap on orders that GA4 did record. Your back office applies accounting rules. GA4 stores whatever the tag sends. Google's ecommerce guide sends tax and shipping as separate parameters next to value. Whether value includes them depends on how your site was tagged.

Refunds are the larger trap. A back office deducts a return from revenue. GA4 deducts it only if your site sends a refund event, which many sites never do. Discounts follow the same logic: a coupon reaches GA4 only through the coupon parameter. This query counts how often each field is filled on the sample's January purchases.

SELECT
  COUNTIF(event_name = 'purchase') AS purchase_events,
  COUNTIF(event_name = 'purchase' AND ecommerce.purchase_revenue IS NOT NULL) AS with_purchase_revenue,
  COUNTIF(event_name = 'purchase' AND ecommerce.tax_value > 0) AS with_tax_value,
  COUNTIF(event_name = 'purchase' AND ecommerce.shipping_value IS NOT NULL) AS with_shipping_value,
  COUNTIF(event_name = 'purchase' AND EXISTS (
    SELECT 1 FROM UNNEST(items) AS item
    WHERE IFNULL(item.coupon, '(not set)') != '(not set)')) AS with_item_coupon,
  COUNTIF(event_name = 'purchase' AND ecommerce.refund_value IS NOT NULL) AS with_refund_value,
  COUNTIF(event_name = 'refund') AS refund_events
FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
Field on purchase eventsEvents, January 2021
All purchase events1,204
With purchase_revenue filled904
With tax_value greater than zero840
With shipping_value filled0
With an item coupon0
With refund_value filled0
refund events0

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

On this sample, shipping, coupons, and refunds never reach the export. Its revenue can't net out a single return. That gap is a definition, not a defect: you document it once and stop chasing it.

Timing belongs to the same family. GA4 cuts days in the property's time zone; your back office may use another. An order placed just before midnight can then land on two different dates. Cancellations validated days later follow the same pattern.

How do duplicated and missing purchases show up in the export?

Duplicated and missing purchases show up as a mismatch between purchase events and distinct transaction IDs. A tag fired twice writes two rows with one ID. A tag that loses its parameters writes a row with no ID and no revenue. Google Analytics deduplicates purchase events sharing a transaction ID on web streams. The export still holds every row it received.

WITH purchases AS (
  SELECT
    NULLIF(ecommerce.transaction_id, '(not set)') AS transaction_id,
    ecommerce.purchase_revenue IS NOT NULL AS has_revenue
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
    AND event_name = 'purchase'
),
ids AS (
  SELECT transaction_id, COUNT(*) AS events
  FROM purchases
  WHERE transaction_id IS NOT NULL
  GROUP BY transaction_id
)
SELECT
  (SELECT COUNT(*) FROM purchases) AS purchase_events,
  (SELECT COUNTIF(transaction_id IS NULL) FROM purchases) AS without_id,
  (SELECT COUNTIF(transaction_id IS NULL AND NOT has_revenue) FROM purchases) AS without_id_and_revenue,
  (SELECT COUNT(*) FROM ids) AS distinct_ids,
  (SELECT COUNTIF(events > 1) FROM ids) AS duplicated_ids,
  (SELECT SUM(events - 1) FROM ids) AS extra_events,
  (SELECT MAX(events) FROM ids) AS max_events_per_id
MeasureJanuary 2021
purchase events1,204
Without a transaction ID300
Without a transaction ID and without purchase_revenue300
Distinct valid transaction IDs894
IDs appearing more than once10
Extra events from those IDs10
Most events for one ID2

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

The arithmetic closes: 894 IDs, plus 300 rows without one, plus 10 duplicates, make 1,204. The sample is obfuscated, so part of the 300 may come from Google's processing. On your export, the same signature means a tag that sent purchase without its parameters.

Missing purchases are the other half, and the export alone can't show them. An order with no purchase event leaves no row. Finding it takes a join with your order system.

Transaction-ID reconciliation is a daily comparison that joins each GA4 purchase event to the order of the same identifier in the order system, classifies the result into matched, GA4-only, order-only, and amount-mismatch, and reports the share of each bucket by market, device, and day, so that the gap has a cause rather than a percentage.

The SQL for the four buckets is in Reconciling GA4 with your orders: the transaction-ID method.

Do bots distort GA4 revenue?

Bots distort GA4 sessions and conversion rates, not GA4 revenue. Google removes known spiders before reports and before the export. The remaining scripts browse, but they rarely complete a checkout. The test is simple: count the purchase events inside sessions that look automated.

WITH sessions AS (
  SELECT
    CONCAT(user_pseudo_id, '-', CAST((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS STRING)) AS session_key,
    COUNTIF(event_name = 'page_view') AS page_views,
    MAX(IFNULL((SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'engagement_time_msec'), 0)) AS max_engagement_msec,
    COUNTIF(event_name = 'purchase') AS purchases
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
    AND (SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') IS NOT NULL
  GROUP BY session_key
)
SELECT
  IF(page_views = 0 OR max_engagement_msec = 0, 'suspect', 'other') AS session_group,
  COUNT(*) AS sessions,
  COUNTIF(purchases > 0) AS sessions_with_purchase,
  SUM(purchases) AS purchase_events
FROM sessions
GROUP BY session_group
ORDER BY session_group
Session groupSessionsSessions with a purchasepurchase events
Other99,9001,1151,204
Suspect (no page_view or zero engagement)18,48000

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

On the sample, 18,480 of 118,380 sessions look suspect, and none of them buys. Excluding them lifts the conversion rate and leaves revenue untouched. Test orders placed by your own team are the exception: they're a process issue, filtered by transaction ID. The full set of bot signals is in Bot traffic in GA4: spotting it in BigQuery when the interface doesn't filter it.

Why track the gap per cause and per country, not with a coefficient?

The gap must be tracked per cause and per country because a single coefficient hides both. A fixed multiplier on GA4 revenue assumes every market loses the same share. The sample already disproves that for one tagging signal alone.

SELECT
  geo.country AS country,
  COUNT(*) AS purchase_events,
  COUNTIF(IFNULL(ecommerce.transaction_id, '(not set)') = '(not set)') AS purchases_without_id,
  COUNT(DISTINCT NULLIF(ecommerce.transaction_id, '(not set)')) AS distinct_valid_ids,
  ROUND(100 * COUNTIF(IFNULL(ecommerce.transaction_id, '(not set)') = '(not set)') / COUNT(*), 1) AS pct_without_id
FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20210101' AND '20210131'
  AND event_name = 'purchase'
GROUP BY country
ORDER BY purchase_events DESC
LIMIT 5
Countrypurchase eventsWithout a transaction IDDistinct valid IDsShare without ID
United States51313337625.9%
Canada111278124.3%
India80255431.3%
Spain3963215.4%
United Kingdom3543111.4%

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

The share without an ID ranges from 11.4% in the United Kingdom to 31.3% in India. Consent and blockers vary even more across markets. One coefficient corrects nothing and hides the week a release breaks one country.

The working rule has three parts. Revenue as GA4 measures it stays a floor, labeled as such. Each cause gets its own weekly share, per country and device. A move in one share points to a cause: a banner, a release, or a campaign.

FAQ

Can I correct GA4 revenue with a fixed percentage?

A fixed percentage can't correct GA4 revenue, because each cause varies by market, device, and week. A coefficient set in January is wrong after the next banner change or release. It also hides the moment a tag breaks. Keep GA4 revenue as a floor and track the share of each cause instead.

Should finance report revenue from GA4?

Finance should report revenue from the order system, not from GA4. The back office records validated orders, refunds, and taxes under accounting rules. GA4 records what consenting browsers sent. GA4 revenue serves comparisons between channels, campaigns, and markets, where every segment loses orders the same way.

Why does GA4 sometimes show more orders than my store?

GA4 shows more orders than the store when purchase fires twice or test orders get tagged. Day boundaries can also differ. A duplicate shares one transaction ID across two rows. A property time zone different from the back office moves late orders to another day. Each case is visible in the export.

Does server-side tagging close the gap?

Server-side tagging narrows the blocker share of the gap, not the consent share. The consent choice travels with each event and still applies on the server. It doesn't fix the revenue definition, duplicated tags, or bots either. Measure the order-only share before and after the switch to see its real effect.

Keep one reference per audience and measure the gap per cause. The full Trusting your GA4 numbers: consent, reconciliation, bots, and tagging covers each cause in depth. Want the five causes measured on your own export, market by market? Book a diagnostic.

Sources