01 — Foundation
Why Shopify plays by its own tracking rules
On Shopify, checkout, the thank-you page and the order status page are no longer part of your theme. They run in Shopify's own sealed-off environment, where you can't just drop in code. Since 26 August 2026 even the last stores have been moved to the new thank-you page, and "Additional scripts" no longer run there. Script tags, which many older apps use to load their tracking, are next: since 1 October 2026 they can't be created or changed, and from 1 March 2027 Shopify stops loading them altogether.
That leaves two ways to track: pixels under "Customer events", and the server. Build on those properly and you measure more reliably than ever. Leave old scripts running and you are quietly losing conversions right now. What changed in 2026 and how other stores handle it is covered in our post Shopify tracking 2026.
02 — Discipline
Every order with a source: parameters all the way into the order
Shopify records the first and last visit within 30 days for every order, each with referrer, landing page and UTM parameters. A good start, but not enough to steer ad spend. What's missing are the ad platforms' click IDs: gclid, gbraid and wbraid from Google, fbclid from Meta, ttclid from TikTok and msclkid from Microsoft. Those are exactly what the platforms need to match an order to a click.
We capture UTM parameters and click IDs on the first page view, keep them in a first-party cookie on the shop domain and write them to the cart as cart attributes before checkout. From there they end up on the order. You see the campaign behind every order right in Shopify admin, can export it, pass it on to your CRM or ERP, and report it back to Google, Meta, TikTok and Microsoft as an offline conversion. This covers orders from your own online store; TikTok Shop, Amazon and point-of-sale purchases take their own routes.
03 — Discipline
Customer events: using app pixels and custom pixels well
"Customer events" runs two kinds of pixels. App pixels are installed by apps such as "Google & YouTube" or the Meta channel; custom pixels you write yourself. Both receive the same standard events from Shopify, such as product_viewed, product_added_to_cart, checkout_started and checkout_completed, but run in a sandbox without access to the page itself. We translate those events into a clean data layer for your Tag Manager, so GA4 and every ad platform get the same data.
Two changes every store should know about. Since 10 December 2025 app pixels only receive email addresses and phone numbers if the app has been approved for that data; otherwise the fields arrive empty. Custom pixels are exempt. And since January 2026 new app pixels default to "Optimized" data sharing, which according to several industry reports lets Shopify throttle sharing without any warning. We check both first, because they directly weaken matching and attribution at Meta and Google.
04 — Discipline
Purchases from the server, regardless of thank-you page or ad blocker
The browser only reports a purchase if the thank-you page loads, tracking isn't blocked and consent has been given. The order itself is more reliable: as soon as it is created or paid in Shopify, a webhook sends it to your tagging server. From there, purchases go to the conversion APIs of Meta, Google, TikTok and Microsoft, along with the click IDs stored on the order.
To avoid double counting, the browser and server events share the same ID, usually the order number. Refunds and cancellations are reported back the same way. How the tagging server is set up is explained under server-side tracking, the platform APIs in detail on our Conversion APIs page.
05 — Compliance
Consent through Shopify's privacy API
Shopify manages consent through its Customer Privacy API, and pixels under "Customer events" follow that status. Shopify's own cookie banner mainly covers Shopify's own services. If you run other pixels, you need a consent tool that passes the visitor's choice to the Customer Privacy API and also handles Google Consent Mode and, for Microsoft Ads, UET consent mode. We pass the same choice through to the server so server events only flow with consent. The basics are on our Consent Mode page.
06 — Discipline
Numbers that match across Shopify, GA4 and your ad accounts
"Shopify says 412 orders, GA4 says 371, Meta says 290": almost every store has had this conversation. Part of the gap is measurement logic, part of it is real loss. We define what counts as revenue (net or gross, with or without shipping, before or after discounts) and how refunds, Shop Pay, subscriptions, foreign currencies via Shopify Markets and test orders are handled. Then we reconcile Shopify and GA4 day by day until the gap can be explained.
The ad platforms keep their own attribution. We therefore evaluate on the basis of Shopify orders and use platform figures for steering. How to see both side by side is shown on our custom dashboards page.
Do you know why your numbers don't match? That is exactly what we work out in the free audit.
07 — Honest
Apps or a custom build?
For small stores and a quick start, the official Google and Meta apps are a sensible choice. They set up the pixel and server connection in a few clicks and are maintained by the platforms themselves. Things get messy when several apps and a Tag Manager run side by side. Then every purchase counts twice, consent is applied inconsistently, and nobody knows which number is right any more.
Past a certain ad budget, a custom build pays off: a custom pixel as the source, Tag Manager as the distributor, the server for purchases and the parameters on every order. You decide which data goes where. Whether a site already runs duplicate tags is something our free tracking audit tool shows in a few seconds.
An order without a source is revenue nobody learns from.
08 — Offer
Free Shopify tracking audit
Before changing anything, we look at what is already there. The audit is free and comes with no strings attached. We check:
- which app pixels and custom pixels are running, how data sharing is set and whether customer data arrives,
- whether script tags or old scripts are still in use that need replacing before March 2027,
- whether orders carry their source, meaning UTM parameters and click IDs,
- whether purchases reach Meta, Google, TikTok and Microsoft twice or not at all,
- how your consent tool connects to the Customer Privacy API,
- how big the gap between Shopify, GA4 and your ad accounts is, and where it comes from.
You get a short list of issues, ranked by impact and with an effort estimate. We have been measuring ad channels since 2006, and if your setup is already in good shape, we will say so.
09 — Quick answers
Frequently asked questions
How do UTM parameters get onto the order?
Capture them on the first page view and save them as cart attributes before checkout. That way click IDs like gclid end up on the order too.
Do Additional Scripts still run?
No, not since 26 August 2026. Script tags follow from 1 March 2027.
App pixel or custom pixel?
Custom pixels give you full control and are not affected by the app pixel restrictions of December 2025 and January 2026.
Why do Shopify and GA4 differ?
Definitions, refunds, consent and blockers. A daily reconciliation separates logic from real loss.
What does the audit cost?
Nothing. You get a prioritised list and decide for yourself.
Does your store know where its orders come from?
Tell us which channels you advertise on, which apps and pixels are running and where the numbers don't add up. We'll get back to you with a slot for the free audit.