Three numbers for the same month
Many store owners know the picture: Shopify shows one number of orders, Meta a higher one, Google Analytics a lower one. Which number is right? The one in the store. It is the only one with real money behind it.
The other numbers are reports about purchases, and reports can go missing, arrive twice or be matched to the wrong click. Good tracking does not create nicer numbers, it creates smaller gaps to the order list. This guide brings together the four places where gaps typically appear in Shopify stores: the thank you page, double counting at Meta, the regular audit and the special issues of large stores.
Checkout and thank you page: where the purchase is measured
The purchase is the most important event in your store. That is exactly where Shopify changed the rules. The checkout is not part of your theme, and theme code does not run there. In the past, “additional scripts” on the thank you and order status page helped. Shopify switched these scripts off on the order status page, for Plus stores on 28 August 2025 and for all other stores on 26 August 2026 (Shopify documentation). If you still expect your purchase tracking to live there, it may have measured nothing for months.
The intended path is Shopify customer events with so called web pixels: small programs that subscribe to events such as “product viewed” or “checkout completed” and pass them on to your tool. They run in a closed environment, a sandbox, and therefore cannot reach the page itself (Shopify: web pixels). For you this means: everything the pixel needs to know must be in the event or must have been stored cleanly beforehand, such as the ad a visitor came from.
The purchase event is called checkout_completed. According to the documentation, Shopify triggers it once per checkout, usually on the thank you page, and with post purchase offers already on the first offer page. If the page does not load, there is no event (Shopify: checkout_completed). So some purchases are missing from any browser measurement. If you want a complete count, you take the order itself as the source, for example through Shopify webhooks, which are messages the store sends to a server for every new order (Shopify: webhooks).
Consent plays a part here too. Web pixels follow the choice of the customer: in regions that require consent, they only run after the customer agrees (Shopify: web pixels). How to set this up properly is covered in the guide Setting up consent correctly.
Meta: one purchase, one ID
Meta recommends reporting purchases twice: once through the pixel in the browser, once through the Conversions API, which means directly from a server. That closes gaps but creates a new risk. Without matching, Meta counts the same purchase twice, and your ads look better than they are.
This matching is called deduplication. Meta recognises duplicates by two fields: the event name and its ID. In the pixel the field is called eventID, in the Conversions API event_id. If both arrive with the same name and the same ID within 48 hours, Meta keeps only one report (Meta: deduplication).
| ID | Suitability |
|---|---|
| Order number from Shopify | Good: the same in browser and server, unique per purchase, does not change on reload. |
| Random value, created once and passed to both paths | Possible but fragile: if passing it on fails, two values appear. |
| Random value per report | Unsuitable: browser and server send different values, nothing gets matched. |
| Timestamp | Unsuitable: browser and server differ by seconds. |
Google handles this differently. Google Analytics merges purchases with the same transaction ID. An empty transaction ID is dangerous, because then all purchases without an ID can be treated as one (Google: avoiding duplicate purchases). So send the same real order number everywhere.
There is also a simpler way: if you report through one path only, you do not need deduplication, as Meta itself says. That is why we report to Meta only from the server, with consent and hashed identifiers. There is no pixel in the browser of your customers.
The audit list for your store
Tracking that fires events is not yet tracking that counts correctly. Go through these points with your service provider once a quarter and after every larger change to the store:
- Compare purchases. Put orders in Shopify next to purchases in Google Analytics, Google Ads and Meta for the same period. More than in the store means double counting.
- Test purchase with reload. Complete a test order, reload the thank you page several times and check that the purchase still arrives only once.
- Value and currency. Check that revenue arrives in euros and not as a number in cents, and that shipping and tax are included the way you decided.
- Clear out old paths. Look for leftovers from additional scripts, the theme or an old tag manager container that still report a purchase.
- Duplicate apps. In customer events, check whether two apps report the same purchase to the same platform.
- ID at Meta. In Meta Events Manager, use a test purchase to check whether browser and server reports carry the same ID and get merged.
- Consent. Reject in a private window and look in the developer tools for requests that still go to Meta or Google advertising.
- Source of the purchase. Enter the store through one of your own ads, buy, and check whether the purchase is matched to that ad and not filed as “direct”.
Write down the result each time. More important than a single value is whether the gap to the order list suddenly changes. That is usually the first sign that an update broke something.
Large stores: more markets, more paths, more sources of error
As a store grows, the basic rules stay the same, but the number of places where they can break grows. In large stores these topics come on top:
- Several markets and currencies. Each market needs the same logic. Decide which currency values are reported in, and whether ads should learn from revenue or from contribution margin.
- Returns and cancellations. A purchase that gets returned often stays a success in the ad platform. If you have many returns, correct the values or look at a figure after returns.
- Custom front ends. With a self built storefront on top of Shopify, the ready made customer events only partly apply. Every event then has to be built and checked on purpose.
- Many people involved. Agency, in house developers and app providers all change the same store. Without one responsible person and a change log, nobody knows after a fault who changed what.
The answer is the same in every case: the order system is the one source of truth, and everything else gets measured against it regularly. What it looks like when your ads learn from real purchases is explained in Teach your ads with real orders and under ad attribution.
What honestly remains open
No browser measurement reaches every purchase, and no serious setup can promise you a fixed rate. What you can achieve: your numbers differ from the order list in a way that is explainable and stable, instead of random. Then you can base decisions on them. The technology keeps changing, at Shopify as well as at Meta and Google. So check the linked official pages before you rebuild anything, and ask your service provider to show you, not just tell you, that it adds up.