Skip to content

Shopify additional scripts deprecation: how to fix your tracking

Your old Thank you page scripts stopped running when Shopify upgraded the page. Here is how to list them, move each one to a pixel or app block, and test purchases.

The Shopify additional scripts deprecation means code pasted into the Additional scripts box in your checkout settings no longer runs on the Thank you and Order status pages. Non-Plus stores had until August 26, 2026 to upgrade those pages, and Shopify upgraded the rest automatically. Tracking now belongs in app or custom pixels, and visible content in app blocks.

If your Google Ads purchase tag, Meta pixel, affiliate tracking or post-purchase survey lived in that box, it stopped when your pages were upgraded. Orders kept coming in, but your ad platforms stopped hearing about them. Bidding learns from fewer sales, return on ad spend looks worse than it is, and affiliates may not get credit for sales they sent.

5 minute check: compare your Shopify orders with your purchase conversions in Google Ads or Meta for the last 14 days, then for 14 days before your pages were upgraded (early August if Shopify upgraded them for you). If the gap grew after the upgrade, the old scripts were most likely doing your tracking and nothing replaced them.

What the Shopify additional scripts deprecation changed

Additional scripts was the box in your checkout settings where you, an app or a developer pasted code that ran after a purchase: conversion tags, affiliate tags, surveys and custom messages. Shopify rebuilt the Thank you and Order status pages on a new foundation, and the new pages don't run that code. For non-Plus stores:

  • August 28, 2025: the Additional scripts section in checkout settings became view-only. Nobody could edit it after that.
  • August 26, 2026: the deadline to upgrade. Stores that hadn't upgraded were upgraded automatically.

Shopify's Google Tag Manager help page spells out the result: in automatic upgrades, customizations using additional scripts or apps with script tags on those 2 pages are lost.

Why Shopify additional scripts are not working anymore

Nothing is wrong with your code. The page it ran on is gone. Shopify only lets you switch a disabled script back on before your pages finish upgrading, so the only fix now is to rebuild each script in its new home.

The Thank you page address changed too, from /thank_you to /thank-you at the end. Shopify's Tag Manager replacement guide tells you to update any hardcoded tracking or analytics URLs, since a goal that matched the old address now matches nothing.

This is not the same as Shopify Scripts, the Ruby code in the Script Editor app, which Shopify deprecated on June 30, 2026. Different feature, different fix.

Step 1: List your Thank you and Order status page scripts

Before you replace anything, write down everything that ran after a purchase. Miss one tag and you can fix Google Ads while affiliate tracking stays broken for months.

  1. Open the upgrade guide at admin.shopify.com/settings/checkout/customizations-report and go to the Additional scripts section.
  2. Shopify sorts scripts into Tracking and analytics and Page customizations. Click View script where it's shown and copy the code into a document.
  3. Check the Apps and Incompatible apps sections too. Apps that need a developer update are listed there.
  4. For each script, note the platform, what it did, which account it reports to and who has the login.

Shopify's help pages don't say how long old scripts stay visible after an automatic upgrade. If yours are gone, work backwards: check every ad, analytics and affiliate account for a purchase conversion, and ask whoever set up your tracking what they installed.

How to tell what an old script does

  • An ID starting with AW- is a Google tag created in Google Ads, usually for conversion tracking. One starting with G- was created in Google Analytics.
  • A line with fbq('track', 'Purchase' is the Meta pixel.
  • An unfamiliar domain often belongs to an affiliate network, review app or survey tool. Search it to find out which.
Visitors, but not enough orders?

Send your store and we will record a free 2 minute video showing the 3 fixes we would make first to lift sales.

Get my free video audit

Step 2: Move each script to its new home

What the old script didWhere it goes now
Google Ads or Google Analytics purchase trackingThe Google & YouTube app
Meta purchase trackingThe Facebook & Instagram app
Another platform that has a Shopify appThat app's app pixel
A platform with no Shopify appA custom pixel in Customer events
A Google Tag Manager containerThe Google & YouTube app, plus apps for non-Google tags
A survey, message or other visible contentAn app block in the checkout and accounts editor

Google Ads and Analytics: the Google & YouTube app

Shopify recommends the Google & YouTube app because Google maintains it. Per Shopify's setup steps, go to Sales channels > Google & YouTube, connect your existing Google Ads account and follow the prompts. The Google account you sign in with must be an administrator on that Ads account. Then check your conversion actions in Google Ads: keep one purchase action as primary, fed by the app, and remove the old tag, so no sale is counted twice.

The same app connects Google Analytics 4, and Shopify warns that adding Analytics again through Tag Manager can cause duplicate tracking. Still missing conversions? Our guide to Shopify Google Ads conversion tracking not working goes deeper.

Meta: the Facebook & Instagram app

Connect your Meta pixel through the Facebook & Instagram app. Then go to Sales channels > Facebook & Instagram, click Settings, then Data sharing settings, and pick a level. Shopify's data sharing guide lists Standard, Enhanced and Maximum. Standard uses the pixel alone. Enhanced and Maximum add Meta's Conversions API, which sends purchases server to server, out of reach of browser ad blockers.

Other platforms: use their app pixel

If the platform has a Shopify app, use it. The upgrade guide may show an Install or Connect button next to the script. Shopify calls app pixels the recommended solution and says to use a custom pixel only when no app meets your needs. Every app pixel appears under Settings > Customer events.

No app: build a custom pixel

A custom pixel is JavaScript you add yourself. The steps from Shopify's custom pixel guide:

  1. Go to Settings > Customer events and enter a unique name for the pixel.
  2. Click Add pixel to open the editor.
  3. Under Customer privacy, set Permission (whether consent is required) and Data sale.
  4. Paste your code into the Code window, click Save, then click Connect pixel.

You can't paste the old script as it was. Shopify's pixel code guide says pixels only support JavaScript, so HTML such as <script> and <noscript> tags has to come out. The order total and order ID come from the checkout_completed event, at event.data.checkout.totalPrice.amount and event.data.checkout.order.id in Shopify's event reference. Shopify says you need JavaScript knowledge and that its support team doesn't help with custom pixels, so hand this step to a developer if code isn't your thing.

Google Tag Manager

If your old script loaded Tag Manager, move Google tags to the Google & YouTube app and other tags to apps with app pixels. Updating a Tag Manager custom pixel is the fallback for stores that already have one, and Shopify notes that Google doesn't recommend it or offer support for it, and Tag Assistant can't test it. If you keep one, make sure it listens for checkout_completed.

Surveys, messages and other content

Anything customers could see, like a "how did you hear about us" survey, becomes an app block. Install the app, go to Settings > Checkout, click Edit next to your configuration, select the Thank you or Order status page, open the Sections sidebar, click Add block and save. Per Shopify's app block steps, apps for these 2 pages work on Basic Shopify or higher.

Step 3: Test that purchases still fire

An app's setup screen shows it's installed, not that sales arrive. Prove it with an order:

  1. In Settings > Customer events, click More options next to an app pixel, or click a custom pixel, then click Test. Your store opens with the Shopify Pixel Helper.
  2. If it says Pixel is awaiting consent, accept your cookie banner or click Give consent to continue test.
  3. Place a test order with the test payment gateway, Shopify Payments test mode, or a real payment you cancel and refund. Customers can't place live orders while payments are in test mode, so turn it off right after.
  4. In Events received, look for checkout_completed with a green dot. A red dot means the code failed. Expand it to read the error.
  5. Confirm the platform got the sale, where checkout_completed may be called purchase.
  6. Repeat for each pixel. The helper tests one pixel at a time.

If you run a post-purchase upsell app, checkout_completed fires on the first upsell offer page instead of the Thank you page, and it doesn't fire again after that.

If purchases still don't show up

  • Privacy settings. Check Settings > Customer privacy for anything blocking the pixel, then clear your cookies and consent again.
  • A third-party cookie banner. It must pass consent to Shopify through the Customer Privacy API, or pixels may not fire even after a shopper accepts.
  • Your customer account domain. A custom one must be a subdomain of your store domain, such as account.yourstore.com, or pixels and cookie consent won't work on the Order status page.
  • Double counting. An old tag is still running somewhere, such as your theme code, or an app and a custom pixel both send the purchase.

Expect some gap even when everything works. Shopify warns that pixels track with customer consent, which old scripts often lacked, so platforms may receive fewer events. Ad blockers and browser tracking prevention cut attribution too, while Shopify's own order records aren't affected. If Shopify's orders fell as well, see our guide to Shopify sales that dropped suddenly.

Before and after checklist

Before you change anything:

  • Screenshot daily purchases in Google Ads, Meta and each affiliate dashboard for the month before your upgrade.
  • Copy every script and app from the upgrade guide into one document, with who owns each account.

After the move:

  • Google & YouTube app connected, purchase set as primary, legacy tags removed.
  • Meta pixel connected through the Facebook & Instagram app, data sharing level chosen.
  • Every other platform on an app pixel or a connected custom pixel.
  • Surveys and messages rebuilt as app blocks.
  • No goal, filter or report still matching thank_you.
  • A test order shows checkout_completed with a green dot for each pixel.
  • One week later, platform purchases follow Shopify orders closely, with no doubles.

Connecting the Google and Meta apps is mostly point and click. Custom pixels, Tag Manager and affiliate networks without an app are where a developer earns their keep, since a pixel that fails quietly feeds your ads bad data. That cleanup is part of our Shopify store development work, and tracking is one section of our Shopify store audit checklist.

What to do next

The Shopify additional scripts deprecation is finished on Shopify's side, so the fix is on yours. Compare Shopify orders with platform purchases, list every old script, then move and test one platform at a time, starting where you spend the most. Check the numbers again a week later.

Want a second pair of eyes first? Send us your store and we'll record a free 2 minute video audit showing the 3 fixes we'd make first.

Common questions

Can I still edit additional scripts in Shopify?

No. Shopify made the Additional scripts section in checkout settings view-only on August 28, 2025, and the new Thank you and Order status pages don't run those scripts. Replace tracking scripts with app pixels or a custom pixel in Settings, Customer events, and anything customers see with app blocks in the checkout and accounts editor.

What is the Shopify thank you page URL for Google Ads?

After the upgrade, the Thank you page address is your domain, then /checkouts/, a unique checkout ID and /thank-you. It used to end in thank_you, so update any URL rule built on the old version. Better still, use the purchase conversion from the Google & YouTube app, which reads each order from Shopify's purchase event, and set it as primary.

Why did my conversions drop after the Shopify Thank you page upgrade?

Usually because a purchase tag lived in additional scripts and stopped running when the page was upgraded. Other causes are pixels waiting for cookie consent, a third-party consent banner that doesn't pass consent to Shopify, or a custom customer account domain that isn't a subdomain of your store. Shopify also expects pixels to report somewhat fewer events than old scripts did.

Is the additional scripts deprecation the same as Shopify Scripts going away?

No. Additional scripts was the box of tracking and display code that ran after checkout. Shopify Scripts were Ruby code in the Script Editor app that changed discounts, shipping and payment options in the cart and checkout. Shopify deprecated them on June 30, 2026 and replaced them with Shopify Functions. Some stores face both, but the fixes are different.

Do I need Shopify Plus to customize the Thank you page?

No. Apps that add blocks to the Thank you and Order status pages are available on the Basic Shopify plan or higher, and Shopify's steps for replacing additional scripts apply to all plans. What stays Plus only is using apps to customize the information, shipping and payment steps of checkout.

Get your free video audit

The 3 fixes we'd make first on your site, within 1 business day.

Send my website
Free video auditWhatsApp