Shopify tracking is only right when it counts the same orders as your store.

Your Shopify tracking is right when Google, Meta and your analytics count roughly the same purchases for the same period as the order list in your store. That takes three things: clean measurement on the thank you page through Shopify customer events, a fixed ID per purchase against double counting, and a regular comparison with the real orders.

Guide · Chain 4 · A system of your own

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).

Which ID works for a purchase at Meta
IDSuitability
Order number from ShopifyGood: the same in browser and server, unique per purchase, does not change on reload.
Random value, created once and passed to both pathsPossible but fragile: if passing it on fails, two values appear.
Random value per reportUnsuitable: browser and server send different values, nothing gets matched.
TimestampUnsuitable: 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:

  1. 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.
  2. Test purchase with reload. Complete a test order, reload the thank you page several times and check that the purchase still arrives only once.
  3. 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.
  4. Clear out old paths. Look for leftovers from additional scripts, the theme or an old tag manager container that still report a purchase.
  5. Duplicate apps. In customer events, check whether two apps report the same purchase to the same platform.
  6. 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.
  7. Consent. Reject in a private window and look in the developer tools for requests that still go to Meta or Google advertising.
  8. 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.

Questions

Three questions about it.

W-01Is the official Meta or Google app from the Shopify App Store enough?

Often yes, to start with. The apps use Shopify customer events and cover standard purchases. It gets difficult when a custom script, a tag manager or a second app reports the same purchase as well. Then the platform counts twice. So what matters is not the app, but that each purchase has exactly one path with a fixed ID.

W-02Do I need the Meta pixel and the Conversions API at the same time?

Meta recommends the double path of browser and server, but then requires deduplication. If you report only from the server, the Meta documentation says you do not need it. We report to Meta only from the server. Which path fits your store depends on who looks after it and how carefully it gets checked.

W-03Why does Google report fewer purchases than my store?

Fewer is usually less harmful than more. Reasons include rejected consent, ad blockers, purchases where the thank you page never loaded, and purchases that cannot be matched to a click. A small gap is normal. A large gap, or one that suddenly grows, points to a technical fault.

Approval note

We listen. Lets talk.

  1. Ask for a slot: 30 minutes by video or phone.
  2. We listen and say openly whether Guidance, Expansion, an audit or nothing at all makes sense. Nothing at all is an answer too.
  3. No follow-up pressure. If it fits, the next step is the audit, from €200.

Free · no preparation · by video or phone

We dont need to impress anyone. Only your numbers.

on the phone, with names
People
data centre
Germany

Who is behind it: who we are

Step 1 of 5

Lets talk. 30 minutes

What do you sell?

One answer is enough.

Newsletter