Why Shopify, GA4, Klaviyo and Meta never agree, and how to reconcile

Ecommerce data reconciliation is checking that your tools agree on the same orders and revenue before you act on any of them. Shopify is the record of what sold. GA4, Klaviyo and Meta each count a sale by their own rules, so small gaps are normal. Seven checks tell you which gaps are not.

Cosmic AI cover for the topic Numbers that agree: paired bars that match, with one pair that does not, lavender on dark purple.

If you paid for an ecommerce dashboard and still do not trust the numbers, do one thing first: compare its order count with Shopify's for the same dates and time zone. If they match, the dashboard is reading the data correctly, and what is left is each tool's own counting rule. If they differ, stop and fix that before you act on any chart built on top of it. The seven checks below run the comparisons in order.

What is ecommerce data reconciliation?

Ecommerce data reconciliation is the work of comparing two systems that describe the same sales and explaining every difference between them. On the example figures below, that means explaining a 7.00% GA4 gap and a 94.8% combined revenue claim before either number reaches a budget meeting. There are two versions of the job, and search results mix them up.

The first is payment reconciliation. An accountant matches orders to payouts to bank deposits. All five pages that rank highest for this search on 25 November 2026 are about that version. Three come from finance and accounting software companies, one is a video demo of reconciliation software, and one is a forum thread about matching orders to payouts.

The second is the one a marketing team needs, and none of those five pages covers it. For example, Meta reports one number of purchases and Shopify reports another. GA4 has a third, and Klaviyo credits itself with a share of the revenue. Before you move a budget on any of those numbers, you need to know whether the tools disagree by a normal amount or because something broke.

Why do Shopify, GA4, Klaviyo and Meta report different numbers?

They report different numbers because each tool counts a different thing, by a different rule, from a different vantage point. Only Shopify sees every order, because the order is created there.

GA4 counts what a browser lets it see. According to Shopify's help page on analytics discrepancies, the causes include these: Google can only count visitors who have JavaScript and cookies on, shoppers can block it with browser extensions, sessions are defined differently, and the two tools may report in different time zones. Consent adds another gap. Google's consent mode documentation says that when a visitor denies consent, tags do not store cookies and send only cookieless pings, and Google Analytics fills the gaps with modeling. Part of what GA4 reports for those visits is modeled, not observed. So expect GA4 to count fewer purchases than Shopify, not more.

Klaviyo counts messages that came before an order. Klaviyo's conversion tracking documentation says new accounts default to 5-day email open and click windows, and that under the default Last touch model the most recent eligible touchpoint gets the credit. An open is enough. That is a claim about timing. It does not prove the email caused the sale.

Meta counts orders that followed an ad. Meta's help page on attributed actions says a purchase on your site is credited to an ad if it happened within a set number of days after someone viewed or clicked that ad. A view can be enough.

Each outside source above was read on 29 November 2026. Help pages change, so check the current wording before you quote them.

Put the three rules side by side and the result is predictable. Each tool can credit itself for the same order, so the claims add up to more than you sold.

How big should the gaps be? A worked example

The table below uses example figures from an example store, not customer results. The example store is far larger than most, so read the shares and ratios, not the totals. The first row covers all 24 months of orders, the next two cover the last 90 days, and the last covers the last 30 days. The gap columns are my own arithmetic on those figures.

ComparisonShopifyOther toolGapLimit usedVerdict
Orders pulled against Shopify's own count, 24 months3,000,0003,000,0000Exact matchPass
Klaviyo Placed Order events against Shopify orders, 90 days500,987493,4707,517 (1.50%)Within 3%Pass
GA4 purchases against Shopify orders, 90 days500,987465,91335,074 (7.00%)Within 15%Pass
Klaviyo flow revenue as a share of net revenue, 30 days$16,610,912.12$3,769,227.9022.69% claimedA believable sharePass

Read the two middle rows together. Klaviyo gets its order events from Shopify, so it should land very close: 1.50% short here. GA4 depends on browsers and consent, so it lands further away: 7.00% short. Both are normal. If the GA4 gap had been 40%, or if GA4 had counted more purchases than Shopify had orders, the tracking would be broken or doubled.

Now the revenue claims. Again on the example figures, Meta reported a return of 2.96 on $4,044,339 of spend over 30 days. By my arithmetic that is about $11.97 million of purchase value, or roughly 72% of net revenue. Klaviyo's flows claimed 22.69% of the same revenue.

Meta's claim     2.96 x $4,044,339 = about $11,971,000  (72.1% of net revenue)
Klaviyo flows                           $3,769,227.90   (22.7% of net revenue)
Two tools together                                       94.8% of net revenue

Two tools claim almost 95% of revenue between them, before email campaigns, search and people who typed the address in. Nothing is broken. That is what overlapping credit looks like, and it is why neither claim belongs in a profit calculation as if it were extra sales.

How do I audit my ecommerce data for double counting? Run seven checks

Double counting shows up as claims that add up to more than Shopify sold. Take each platform's claimed revenue as a share of Shopify net revenue and add the shares. In the example above two tools reach 94.8% before anything else is counted, and a total above 100% proves overlap. The seven checks compare each tool against Shopify, in order, so that a failure early in the list explains failures later. You can run all of them from exports in a spreadsheet.

  1. Orders pulled against Shopify's own count. If your warehouse or spreadsheet holds 787 orders for a period and Shopify says 801, stop. Every report built on the smaller number is wrong.
  2. Orders by customer cohort against total orders. The orders in your repeat-purchase analysis should add up to the orders you have. If they do not, some orders have no customer attached.
  3. Klaviyo Placed Order events against Shopify orders. Use the same dates and time zone. The example above allows 3%.
  4. GA4 purchases against Shopify orders. Expect GA4 to be lower. The example above allows 15%.
  5. Klaviyo's attributed share of net revenue. Divide flow revenue by Shopify net revenue. If the share doubles in a week, check whether an attribution setting changed before you credit the emails.
  6. Recipients in your data against Klaviyo's own totals. If the counts differ, revenue per recipient is wrong too.
  7. Freshness. Every source should have data from the last two days. A stale source produces a gap that looks like a tracking problem.

Before any of this, line up the definitions. Shopify's finance reports documentation defines net sales as line-item sales minus discounts and sales reversals, with shipping not included (read 29 November 2026). If Meta's purchase value includes shipping and tax and your Shopify figure does not, you will chase a gap that is only a definition.

Which disagreements are normal, and which mean something broke?

A gap is normal when it has a known cause, a stable size, and the expected direction. It is a problem when any of those three changes. The GA4 gap in the example above is 35,074 orders, 7.00% short over 90 days. If that check read 25% short next month, the extra 90,000 missing purchases would be a broken tag, not a slower month.

These are normal:

  • GA4 purchases below Shopify orders by a steady amount. In the example it is 7.00%, against a 15% limit.
  • Klaviyo and Meta each claiming a large share of revenue, with the claims overlapping.
  • Yesterday's numbers still filling in.

These mean something broke:

  • A gap that jumps. If GA4 was 7% short last month and is 25% short this month, look for a tag or consent banner that changed.
  • The wrong direction. GA4 or Klaviyo counting more orders than Shopify points to duplicate events.
  • A source that stopped updating.

Size alone is a poor signal. A steady 12% gap you can explain is safer to work with than a 2% gap that appeared last Tuesday. Track the gap as its own number, and look at it before you look at anything built on top of it.

Once the sources agree, the numbers downstream become usable: marketing efficiency ratio divides Shopify revenue by total ad spend and sidesteps the ad platforms' claims, and the contribution margin formula takes that same net revenue down to what the business kept. The article on Klaviyo attributed revenue goes further into the email claim.

How Cosmic AI handles reconciliation

Cosmic AI runs checks like these on supported figures before any of its agents quotes them. If a check fails, you hear about the failure first. If the data is too thin to answer, the answer is "not enough data".

The free command line tool runs a reconcile after every sync with cosmic reconcile. Each check has a limit you can set, and a check that could not run says so instead of passing. The same checked numbers give your own AI assistant a read-only view.

In this example, the GA4 purchase rate is about 1.95% in every channel and revenue per purchase is $72.96 in every channel. A real store varies by channel. Use it for gap sizes, not for comparing channels. The warehouse sync omits shopper names, emails, phone numbers and addresses, as the security page sets out.

Frequently asked questions

Why don't my Shopify and Google Analytics numbers match?

GA4 is a browser-based counter. It only counts visits where its tag runs and the visitor allows tracking, and it may use a different time zone and session definition from Shopify. Shopify records every order. Expect GA4 to show fewer purchases, and treat a sudden change in the gap as a tracking problem.

Why is Klaviyo revenue different from what Shopify shows?

Klaviyo's revenue is an attributed figure: revenue it credits to a message. By default in a new account, that means an order placed within 5 days of an email open or click. Shopify reports all revenue. Klaviyo's figure is a share of Shopify's, and it overlaps with what Meta and Google claim.

Can an AI platform connect Shopify, Meta Ads, Google Ads and GA4 to explain changes?

Yes, and the test of a good one is the order of its steps. Ask how it handles disagreement first. In the example figures, Meta's claim came to 72.1% of net revenue and Klaviyo's flows to 22.7%, so two tools together claimed 94.8%. An explanation built on either number alone would have been wrong. The comparison should run before the explanation.

What is data reconciliation in ETL?

In ETL, the process of moving data from a source into a warehouse, reconciliation is checking that what arrived matches what was sent. The simplest test is a row count: if Shopify has 801 orders for a period, the warehouse should hold 801 as well.

How often should an ecommerce brand reconcile its marketing data?

Every time the data updates, which for most brands means daily. The seventh check fails any source more than two days old, and a gap that jumps is easiest to explain on the day it jumps. A weekly review can leave six days of decisions resting on a broken tag. Cosmic AI runs its checks before an agent quotes a figure.

Check a number before you report it.

The free CLI compares a figure with its source record and marks it REPORT or HOLD, with the reason.

Cosmic AI is one desktop app where a lead agent and its specialists do the marketing work for a Shopify store. Each figure is checked against its source, and agents act on their own inside limits you set.

Book a callInstall the free CLI

Get Jake's AI newsletter

Three short emails a week with the AI news that matters for running or building a business. Every item links to its source.

I'll try to point you to something useful for it in your first email. No passwords or keys.

You will get Jake's newsletter and occasional Cosmic AI news. Unsubscribe in one click from any email. Privacy