Why did my tracking break after a checkout migration?
Checkout migrations break purchase tracking more reliably than any other change, because everything the purchase event depended on moves at once: the confirmation URL changes so URL triggers stop matching, script injection is restricted or removed inside the new checkout, the data layer is rebuilt with different keys, and the redirect path back from payment differs. Shopify's move away from checkout.liquid is the clearest example — script tags in checkout simply stopped running, and any purchase tag living there died silently.
Free30 minutesNo obligation
tracking broke after checkout migration · what breaks
What this looks like when it's happening to you — tracking broke after checkout migration
- 01
Purchases stopped on the migration date
While orders continued normally.
- 02
Other events still working
Which makes it look partial rather than systematic.
- 03
The gap concentrated at checkout
Everything up to the cart is fine.
tracking broke after checkout migration · the fix
What changes once it's fixed — tracking broke after checkout migration
Purchases recorded again
Verified on a live order through every payment path.
The event moved off the checkout page
Fired from the order record, so the next migration can't break it.
A checklist for next time
Tracking on the pre-migration plan.
tracking broke after checkout migration · architecture
Why your conversion data was wrong in the first place — tracking broke after checkout migration
Fixing this specific fault is worth doing. But it is worth understanding why it happened, because the same underlying weakness produces a different symptom every few months — and the reason your conversion data is wrong is almost never the tag itself.
- 1
Your conversion depends on a browser that is being restricted on purpose
A browser-side tag has to survive the page loading, the visitor staying, the script executing and the request leaving. Every one of those is now contested. The order in your database is certain; the browser event reporting it is not, and that gap is where wrong numbers come from.
- 2
Safari caps the cookie your attribution depends on
Intelligent Tracking Prevention limits cookies written by JavaScript to seven days, whatever expiry you set. Any customer who takes longer than a week to decide comes back as a stranger, so the sale is recorded and credited to nobody. A cookie your own server writes in an HTTP response is not subject to that cap — which is the single largest practical difference between browser-side and first-party server-side tracking.
- 3
Ad blockers remove the tag before it can run
A blocked pixel does not error, retry or warn anyone. The visitor buys, the order lands in your store, and no platform ever hears about it. First-party events sent from your own subdomain aren't filtered the same way, because they are not a third-party request.
- 4
Consent banners stop tags, sometimes when they didn't need to
Where consent is genuinely required, losing the event is correct. What is not correct — and what we find repeatedly on US-majority accounts — is an EU-style prior-consent banner applied to every visitor, discarding conversions no law asked you to discard. A server container enforces the real decision at the container rather than hoping each vendor script honours a flag.
- 5
The checkout can end somewhere your tag isn't
Wallets and hosted payment pages can be abandoned after the money moves. The customer paid; the confirmation page never rendered; the browser event never fired. Sending the purchase from the order record instead means the conversion arrives whether or not anyone came back to your site.
- 6
What that adds up to
Each of these is a separate route to tracking broke after checkout migration, and they compound. First-party server-side tracking doesn't patch them one at a time — it moves the money event off the browser entirely, so the order in your backend is what gets reported. That is why we reconcile against your own order records and put 95%+ accuracy in writing: with the event sourced from the order, the number is checkable rather than hopeful.
tracking broke after checkout migration · normal or broken
Some of this is supposed to happen — tracking broke after checkout migration
Half the time nothing is broken and the number is being read wrong. Knowing which is which stops you paying to fix something that was never a fault.
Normal, not a fault
Restricted script access in a hosted checkout
A platform boundary, not a fault — and the reason to use the order webhook.
A brief dip during cutover
A sustained one is a break.
Actually broken
Script injection restricted in the new checkout
The tag can't run where the purchase completes.
Confirmation URL changed
URL triggers stop matching.
Data layer rebuilt with different keys
Variables resolve to undefined.
Redirect path back from payment changed
Customers land somewhere the tag isn't.
tracking broke after checkout migration · diagnose
How we find out why did my tracking break after a checkout migration
Always in this order. Each step eliminates a class of cause, so by the last one there is usually a single explanation standing.
- 01
Compare backend orders to conversions across the migration date
Separates measurement break from business change.
- 02
Check whether scripts run inside the new checkout at all
Often they can't, by design.
- 03
Capture the new confirmation URL
And compare against every trigger.
- 04
Check data layer keys against what tags expect
A rename breaks values silently.
- 05
Test every payment method end to end
Redirect behaviour differs per provider.
tracking broke after checkout migration · prove
How we prove it's actually fixed — tracking broke after checkout migration
The tag firing again proves the tag fires. These prove the numbers are right.
Source of truth
Your backend orders across the migration window
- Purchase confirmed firing from the order record, not the checkout page.
- Verified on a live order through every payment method.
- Backend orders reconciled against reported conversions across the migration window.
- No conversion firing on a refresh or a direct visit.
- Reconciled against your backend orders across the migration window for a fully closed window, matched on ID rather than on totals.
- No record counted twice, checked across the whole window rather than spot-checked.
- The same check repeated 30 days later, because a fix that holds once and drifts is the harder failure to catch.
tracking broke after checkout migration · free audit
What we check in the free audit
- Compare backend orders to conversions across the migration date
- Check whether scripts run inside the new checkout at all
- Capture the new confirmation URL
- Check data layer keys against what tags expect
- Test every payment method end to end
Checked against
Your backend orders across the migration window
Free30 minutesNo obligation
tracking broke after checkout migration · when not to buy
When you don't need us for this — tracking broke after checkout migration
Most of these you can do yourself, and we would rather you did.
- Your backend orders fell too — that's a business change, not a tracking one.
- Your platform offers a native purchase integration you can enable.
- You know the new confirmation URL and can update the trigger yourself, accepting it'll break again next time.
tracking broke after checkout migration · what we deliver
What we do about it — tracking broke after checkout migration
Purchase from the order webhook
Independent of whatever the new checkout allows.
Platform-supported hooks used
Customer Events or equivalent, where script injection is restricted.
Verification on every payment path
Before and after go-live.
Pricing
Pick the package that fits your ad spend
Browser-side starter
$400One-time fee · lifetime ownership
We fix the fault in your existing browser-side setup and verify it on a live transaction. Honest disclosure: this repairs what you have, it does not make it durable. If you spend $1K+/month on paid media, the fault will recur the next time Safari, a consent banner or a checkout change moves under you — the server-side tier is what stops that.
- Root cause found and fixed, not worked around
- Verified on a live transaction, not in preview
- Reconciled against your own order records
- Written handover documenting what changed and why
1st-party server-side
Recommended$800One-time fee · most popular
The tier that removes the whole class of failure rather than this instance of it. Your money events stop depending on the browser: they are sent from your order records through a first-party server container on your own subdomain, so iOS, ad blockers, consent banners and interrupted payment redirects can no longer take them away. Built in 2–4 days. You own the stack outright — no monthly SaaS.
- First-party server container on your own subdomain
- Purchases sent from your order records, not the browser
- Meta, Google, TikTok, Microsoft and LinkedIn all fed server-side
- Deduplicated on a shared event ID, verified at every destination
- First-party cookies beyond Safari's 7-day cap on JavaScript-set cookies
- 95%+ conversion accuracy and 8+ Meta EMQ, guaranteed in writing
Full 1st-party stack
$1,800One-time fee · lifetime ownership
Every paid-media channel server-side, end to end, plus the offline loop. For advertisers whose spend makes an attribution leak more expensive than the build. Pay once, own everything.
- Everything in 1st-party server-side
- Pinterest, Snapchat, Reddit and LinkedIn CAPI
- CRM and offline conversion loop, so closed revenue reaches bidding
- Refunds and cancellations reversed at every destination
- Klaviyo identity stitching, BigQuery and Looker Studio
- Monitoring, so the next break surfaces in days rather than a quarter
FAQ
tracking broke after checkout migration questions, answered
Most modern hosted checkouts restrict arbitrary scripts deliberately. That's the platform working as designed, and the reason the order webhook is the durable answer.
Only where click IDs were captured and the clicks fall inside the import window.
Usually two to four days including verification, assuming the new checkout is stable.
Fire purchases from the order record rather than the checkout page, and put tracking verification on the migration checklist.
More on tracking broke after checkout migration
Free · 30 min
Get tracking broke after checkout migration diagnosed properly
Free30 minutesNo obligation
