Shopify Additional Scripts Are Gone: How to Move Thank-You Page Tracking to Pixels
Conversion tracking that lived in Shopify's Additional scripts box stopped when the Thank you and Order status pages were upgraded. This guide shows merchants how to find what broke and which pixel replaces each old snippet.
In short
Shopify additional scripts are not supported on the new Thank you and Order status pages. 26 August 2026 was the upgrade deadline, and stores that had not upgraded were upgraded automatically, so pasted snippets stopped firing. Replace each tracking script with an app pixel where an app exists, or a custom pixel listening for checkout_completed.
If you followed an older tutorial and went looking for the Additional scripts box in your Shopify checkout settings, the code you would paste there no longer runs. Shopify replaced the old Thank you and Order status pages with new versions, and it states that additional script customisations are not supported on them. 26 August 2026 was Shopify's deadline to upgrade, and stores that had not upgraded by then were upgraded automatically. Any snippet that lived in that box, whether a Google Ads tag, a Meta Purchase event, a Google Tag Manager container or an affiliate pixel, stopped firing when the store moved to the new pages. This guide shows how to find what broke and what replaces each script.
What changed, and when
Additional scripts was a text box where merchants pasted HTML and JavaScript to run on the Thank you page, shown once after payment, and the Order status page, which customers reopen from their confirmation email. It had two uses: tracking and analytics, such as telling an ad platform about a purchase, and page customisations, such as a post-purchase survey or a banner.
| Date | What happened |
|---|---|
| 28 August 2025 | The Additional scripts section in Checkout settings became view-only, so scripts could no longer be edited by hand |
| 26 August 2026 | Deadline for stores on non-Plus plans to upgrade and replace their Thank you and Order status pages |
| After 26 August 2026 | Stores that had not upgraded were upgraded automatically, replacing the old pages and their customisations |
Shopify gives these dates for non-Plus plans, and its step-by-step guide is labelled Non-Plus. Its current help pages give no separate Plus date and vendor blogs disagree, so on Plus check the notice under Settings > Checkout. On every plan the new pages ignore whatever is in the old box.
Signs that this change broke your tracking
- Purchases in Google Ads, Meta, TikTok or an affiliate network fell to zero, or close to it, around the day the store was upgraded, while Shopify orders carried on as normal.
- A Google Tag Manager purchase tag that used to fire on the Thank you page now records nothing.
- An affiliate network or influencer platform reports orders with no commission attached.
- A survey, upsell banner or chat widget no longer appears on the Thank you or Order status page.
- A platform still records purchases, but fewer than before, even though test orders come through.
The last sign is often not a fault at all, as the section on behaviour changes explains. The first four almost always mean a script was not replaced.
How to check what broke in the Upgrade guide
Most stores have now been upgraded, by their owners or automatically. If the upgrade notice still appears in your admin, Shopify's Upgrade guide lists every script and lets you replace them one by one.
- 1In your Shopify admin, go to Settings > Checkout.
- 2In the Configurations section, click Review on the upgrade notice to open the Upgrade guide.
- 3Open the Additional scripts section. Shopify sorts your scripts into Tracking and analytics and Page customizations.
- 4For each script, either mark it as reviewed with the dotted circle icon, or choose its replacement and select Install or Connect.
- 5Once the replacement is tested and the platform receives events, select Disable script (or View script, then Disable script, where there was no direct app match), so the old and new versions do not both send the same purchase.
- 6Finish with the Upgrade step, which publishes the new pages.
If Shopify upgraded the store automatically, the scripts have already stopped, and Shopify's help pages do not describe a way to view them afterwards. Rebuild the list from the receiving end instead: open every ad account, analytics property and affiliate dashboard you use and note which ones stopped receiving purchases around the upgrade date. Your agency or developer may still hold copies of the snippets. Then go to Settings > Customer events, which shows the app pixels and custom pixels running now. Anything that used to report purchases and is missing from that page needs a replacement.
What replaces each old script
Shopify's order of preference is clear: an app pixel first, and a custom pixel only when no app meets your needs. An app pixel is installed by a marketing app, with no code to write. A custom pixel is JavaScript you or a developer add under Settings > Customer events, and it runs in a restricted sandbox. Both react to Shopify's customer events, and the one that matters for purchases is checkout_completed. The framework and sandbox are covered in Shopify custom pixels and customer events.
| Old script in Additional scripts | Replacement | What to watch |
|---|---|---|
| Google Ads conversion tag (gtag.js with an AW- conversion ID) | Google & YouTube app, which maps Shopify events to Purchase, Add to cart and Checkout started conversion actions | Make the app's Purchase action primary and remove legacy tags, as in Google Ads conversion tracking on Shopify |
| Meta Pixel Purchase event (fbq track Purchase) | Facebook & Instagram app with customer data sharing switched on | Use one Meta pixel ID from one source; data sharing levels are explained in Meta Conversions API on Shopify |
| TikTok pixel purchase event | The TikTok app from the Shopify App Store | Connect your TikTok pixel in the app; setup is in TikTok Pixel on Shopify |
| Google Tag Manager container snippet | Shopify's GTM guide recommends the Google & YouTube app for Google tags and app pixels for other tags; keep a GTM custom pixel only if you already run one | Google does not support GTM custom pixels and Tag Assistant cannot test them; see Google Tag Manager on Shopify |
| Affiliate or network conversion pixel | The network's own Shopify app if it has one, otherwise a custom pixel on checkout_completed | Map the order ID, total and currency from the event, as shown below |
| Survey, banner, upsell or widget code | A compatible app that adds a block to the Thank you or Order status page, or a built-in Shopify feature | Listed under Page customizations in the Upgrade guide, not under tracking |
Rewriting an affiliate or custom snippet
Old snippets used Liquid variables such as checkout.order_id and checkout.total_price, which Shopify filled in when it built the Order status page. A custom pixel cannot read those. It subscribes to checkout_completed and reads the same facts from the event data: data.checkout.order.id for the order ID, data.checkout.totalPrice.amount for the total, data.checkout.currencyCode for the three-letter currency code such as GBP, and data.checkout.lineItems for the products. Liquid gave the total in the currency's smallest unit, such as pence, while totalPrice.amount is a decimal such as 49.99, so remove any old division by 100. The order ID is null on every other event, which is one more reason to listen for checkout_completed and nothing else. Before writing one, ask the network for its Shopify custom pixel code.
Behaviour changes that are not faults
Consent. Pixels follow the store's customer privacy settings and only track visitors who have given the permissions the pixel requires, while many old scripts ignored the consent banner. Each custom pixel has its own permission settings under Settings > Customer events. Shopify warns that you might notice a decrease in events received by third-party platforms after the switch, so a lower but steady count is usually consent working rather than a broken pixel.
Once per checkout. checkout_completed fires once for each checkout, typically on the Thank you page. So a customer reopening the Order status page from their email does not send a second purchase, which was a common source of duplicates with old snippets. If you show a post-purchase upsell, the event fires on the first upsell offer page instead and does not fire again on the Thank you page. A pixel that waits for a Thank you page URL will miss those orders (and the new page's URL uses thank-you, not thank_you), which is why event-based tracking beats thank-you page tracking here.
Custom domains. If your online store uses a custom domain, Shopify says to change the customer account domain to a subdomain of it, otherwise pixels and cookie consent will not work on the Order status page. Go to Settings > Customer accounts, click Change domain and enter a label such as account to create account.your-store.com. For a domain bought elsewhere, add a CNAME record for that label pointing to shops.myshopify.com, then under Settings > Domains set the subdomain as the primary domain for customer accounts. Verification can take up to 48 hours.
One purchase source per platform
Shopify suggests connecting a replacement before disabling the old script, which can create a short spell of duplicate events, so keep that overlap brief. The bigger risk is two new sources sending the same purchase: the Facebook & Instagram app plus a custom pixel with the same Meta pixel ID, or the Google & YouTube app plus a GTM tag pointing at the same Google Ads conversion action. Pick one source per platform for purchases.
How to confirm tracking has recovered
- 1Place a real order for a low-priced product, note its order number in your Shopify admin (the Thank you page shows a confirmation number instead), and refund it afterwards.
- 2Check each destination's own tool: Test events in Meta Events Manager, the conversion action status in Google Ads, Events Manager in TikTok Ads Manager, and pending orders in the affiliate dashboard.
- 3Under Settings > Customer events, confirm every custom pixel you added has been connected, not only saved.
- 4For a week, compare daily purchases in each platform with Shopify's order count. A steady shortfall is expected; a gap that swings from day to day, or a platform reporting more purchases than Shopify, points to missed or duplicate events.
- 5Run the tracking audit on your storefront to list the marketing tags that still load there. It reads one public page, not checkout or the Thank you page, but it catches forgotten theme tags that could double up with your new pixels.
When every platform that used to receive purchases has a pixel in Settings > Customer events and its numbers track Shopify's orders within a steady margin, the migration is done. Write down which source feeds each platform so nobody adds a second.
Frequently asked questions
Can I still add my own code to the Shopify Thank you page?
Not through Additional scripts. Tracking code now goes in a pixel: an app pixel installed by a marketing app, or a custom pixel you add under Settings > Customer events. Anything customers see on the page, such as a survey or a banner, has to come from an app that adds a block to the page or from a built-in Shopify feature.
Can I switch an old script back on if the replacement does not work?
Only before the upgrade is complete. While the Upgrade guide is still open, a disabled script can be turned back on with View script, then Enable script. Once the new pages are published, by you or by Shopify's automatic upgrade, the old scripts no longer run, so the fix is to correct the pixel rather than restore the script.
Why do Meta or Google show fewer purchases than Shopify after the switch?
Some gap is normal. Pixels respect the store's consent settings, so purchases by visitors who declined tracking are not sent, and each platform only claims orders it can attribute to its own ads. Old scripts often ignored consent and could fire again when customers reopened the order page, which made the earlier numbers look higher than they really were.
Sources
- 1.Upgrading and replacing your Thank you and Order status pages - Shopify Help Center
- 2.Reviewing and replacing additional scripts on your Thank you and Order status pages - Shopify Help Center
- 3.Non-Plus - Upgrading and replacing your Thank you and Order status pages - Shopify Help Center
- 4.checkout_completed - Shopify Dev Docs
- 5.Connecting a custom subdomain for your customer account pages - Shopify Help Center
- 6.Set up conversion tracking with the Google & YouTube app on Shopify - Google Ads Help
Try EndFrame
Add a server-side path for your conversions.
EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.
No credit card required