
From the conversion glossary
Concepts referenced in this article, defined.
GA4 and Shopify rarely show the same revenue. Compare the right sales field, match one order ID, audit four order buckets, and fix pixel and refund gaps.

Concepts referenced in this article, defined.
Run rigorous A/B tests and personalize every visit on Shopify or any storefront β no engineers required.
GA4 revenue rarely equals Shopify because Shopify records every server-side order while GA4 relies on browser or app purchase events, excludes tax and shipping by default, and misses automatic refunds. To audit the gap, align the revenue definition, match one order ID, and sort orders into four reconciliation buckets.
When Shopify reports one revenue number and Google Analytics 4 reports another, most teams either panic about broken tracking or accept a vague rule of thumb that "a 15% gap is normal." Neither helps when finance or paid media needs numbers you can defend. While a modest gap between server-side order records and client-side analytics is expected, an unexplained spike or sudden drop means your event schema, consent setup, or checkout flow needs attention.
CustomFit.ai is a no-code A/B testing, personalization and CRO platform for ecommerce, mainly Shopify. Accurate revenue reconciliation matters twice: once for channel attribution and again when scoring site experiments.
Shopify is a server-side ledger of orders placed across all channels, whereas GA4 only reports purchase events that reach Google using the exact value and currency fields your tag sends. Comparing GA4 Purchase revenue directly to Shopify Total sales mixes different sums before tracking errors even begin.
The table below compares what each metric actually includes using Shopify's Sales reports definitions and Google's Shopify event parameters reference:
| Component | Shopify Net sales | Shopify Total sales | GA4 via Google & YouTube app | GA4 via GTM custom pixel (totalPrice) |
|---|---|---|---|---|
| Item price x quantity | Included | Included | Included | Included |
| Item & order discounts | Subtracted | Subtracted | Subtracted (since 24 Apr 2025) | Included in net totalPrice |
| Taxes & duties | Excluded | Added | Excluded (sent in tax field) | Included if mapped to totalPrice |
| Shipping charges | Excluded | Added | Excluded (sent in shipping field) | Usually excluded unless added |
| Refunds & cancellations | Subtracted (Sales reversals) | Subtracted | Subtracted only via refund events | Subtracted only via refund events |
| POS, draft & manual orders | Included unless filtered | Included unless filtered | Not captured by web pixels | Not captured by web pixels |
Notice the April 2025 change in Google's documentation: since 24 April 2025, Google tags loaded through Shopify's Google & YouTube app pass value as subtotal minus both item-level and order-level discounts, excluding shipping and tax. Meanwhile, Shopify's own GTM custom pixel tutorial maps event.data.checkout.totalPrice.amount to value, which includes duties and taxes. That single implementation choice explains why some stores see GA4 lower than Shopify Net sales while others see GA4 higher than Net sales.
Inspect a single real order in GA4 DebugView (or BigQuery) alongside its Shopify order detail screen so you know which Shopify line your GA4 value matches. Skipping this step leads teams to chase shipping and tax differences as if they were missing orders.
Place a real low-value test order (do not use Shopify's simulated test-order mode, because Shopify excludes test orders from Sales reports) and check five fields on the GA4 purchase event:
value: Must be an unquoted numeric value at the event level with no currency symbol. According to Google's Fix missing revenue data guide, sending "$100.00" as a string causes GA4 to drop revenue to zero.currency: Must be a three-letter ISO 4217 string (such as "USD" or "INR").transaction_id: Must be non-empty and consistent across tags. Google's purchase diagnostics documentation notes that missing or reused IDs trigger deduplication failures.items array: Must be present with price (numeric) and item_id or item_name so Item revenue populates alongside Purchase revenue.value matches Shopify's Net subtotal (after discounts, before tax/shipping) or Total paid.Wait at least three full calendar days after a period ends, filter Shopify to Online Store orders only, and match every transaction_id against Shopify's order number. Totals conceal offsetting errors; order-level matching isolates every dollar of the gap.
Follow Google's Data freshness documentation when picking your date window: standard daily data takes around 12 hours, overall processing can shift numbers for 24 to 48 hours, and GA4 ignores offline or delayed events arriving more than 2 calendar days plus today after being triggered. Set both Shopify and GA4 to the identical reporting time zone, split busy stores into 3 to 7 day chunks to avoid GA4 high-cardinality (other) grouping on transaction_id, and exclude draft, POS, and marketplace orders from Shopify.
Sort every matched and unmatched order into four buckets:
value formatting.purchase event.purchase events sent under different transaction_id strings.Shopify-only orders come from consent refusals, ad blockers, sandbox pixel timing on post-purchase upsells, non-web checkouts, and blank transaction IDs. Tagging missing orders by payment method and device tells you which root cause dominates.
Check these four technical causes documented by Shopify and Google:
checkout_completed Web Pixel documentation states that checkout_completed fires once per checkout on the first post-purchase upsell offer page, not again on the Thank you page. Any upsell item accepted afterward is added to the Shopify order without triggering a second GA4 purchase event, pulling GA4 AOV below Shopify. If the upsell or Thank you page never loads because a shopper closes the tab during payment redirect, no event fires at all.transaction_id="" (empty string), GA4 deduplicates all empty-ID orders into a single conversion.GA4-only revenue comes from duplicate tags or live tracking on test orders, while value mismatches usually stem from unrecorded refunds or currency differences. Fixing these removes false-positive inflation.
Look for three common culprits:
purchase tags per order. GA4 deduplicates web purchases with identical transaction_id values, so duplicates slip through whenever one tag passes the Shopify order name (#1042) and the other passes the numeric order ID (5849201948).refund events: Shopify automatically subtracts returns and cancellations in Net sales (Sales reversals). GA4 does not subtract refunds unless your backend or app sends a refund event referencing the original transaction_id. Without refund events, GA4 revenue stays permanently higher than Shopify Net sales on stores with regular returns.Walk from the matching Shopify figure down to GA4 Purchase revenue using a signed ledger, then track your monthly capture ratio (GA4 orders divided by Shopify online orders). A stable ratio matters more than hitting 100%.
Here is an illustrative reconciliation ledger for a 14-day settled window:
| Reconciliation step | Orders | Value | Diagnosis |
|---|---|---|---|
| Shopify Online Store Net sales (ex-tax/shipping) | 1,000 | $90,000 | Server-side baseline matching GA4 scope |
| Minus: Consent declines & ad-blocked checkouts | minus 110 | minus $9,900 | Distributed evenly across payment methods |
| Minus: Redirected / dropped checkout completions | minus 15 | minus $1,350 | Clustered on one mobile wallet or upsell flow |
Minus: Post-purchase upsells omitted by checkout_completed | 0 | minus $1,800 | Accepted after initial pixel fired |
| Plus: Unsent refunds included in Shopify Net sales | 0 | +$2,400 | GA4 lacks refund events |
| Plus: Duplicate tags with mismatched IDs & test orders | +12 | +$1,100 | Legacy GTM container + #1042 vs numeric ID |
| GA4 Purchase revenue (expected match) | 887 | $80,450 | 88.7% order capture ratio |
Monitor that capture ratio every month. If your store runs at 88% to 90% and suddenly drops to 72% after a theme deployment, consent banner update, or checkout app change, you have an actionable regression rather than background noise.
Use Shopify as the source of truth for gross, net, and settled financial revenue, use GA4 for acquisition and behavioral funnels, and evaluate A/B tests inside one consistent system. Expecting client-side analytics to match an accounting ledger wastes engineering hours.
When running experiments, keep capture parity across test variants. If an experiment changes checkout flow, page speed, or pixel firing in only one variant, GA4 can undercount that arm while Shopify shows the real orders. Using CustomFit.ai Google Analytics 4 integration sends experiment assignments cleanly in both directions so you can cross-check variant behavior without relying solely on client-side purchase tags. Pair that with dedicated ecommerce A/B testing software, clean Shopify A/B testing event hygiene, and reliable conversion analytics so your team makes test calls on trustworthy data.
If you want a second pair of eyes on a revenue gap between Shopify, GA4, and your testing data, Book a call with our team.
Most stores compare GA4 Purchase revenue (which excludes tax, shipping, POS, and draft orders via the Google & YouTube app) against Shopify Total sales (which includes them). Beyond definitions, GA4 loses orders when shoppers decline cookies, use ad blockers, close redirected payment pages early, or accept post-purchase upsells after checkout_completed has fired.
GA4 reads higher than Shopify Net sales when you send totalPrice (including tax and shipping) instead of discounted subtotal, when GA4 does not receive refund events to match Shopify's Sales reversals, when duplicate tags fire with mismatched transaction_id formats, or when test orders trigger live tags.
For stores using Shopify's Google & YouTube app, compare GA4 Purchase revenue against Online Store Net sales before returns (since the app subtracts item and order discounts and excludes tax and shipping, while GA4 only subtracts refunds if separate refund events are sent).
Wait at least three full days after the end of your date range. Google documents that daily processing typically takes 12 hours, standard reports can adjust for 24 to 48 hours, and delayed events can arrive up to 2 calendar days plus today after triggering.
No. Shopify's Web Pixels documentation specifies that checkout_completed triggers once per checkout on the first post-purchase upsell page and does not fire again on the Thank you page, so accepted post-purchase upsells are recorded in Shopify without a second browser purchase event.
checkout_completed standard event (checked November 2026)