Shopify blocks every new ScriptTag API call on October 1, 2026, and stops injecting existing script tags into storefronts entirely on March 1, 2027, and most Canadian merchants have never heard of the API this affects. That is normal, ScriptTag is not something merchants configure directly, it is what apps have used for years to quietly drop tracking pixels and widgets onto storefront pages, which is exactly why an unmigrated one can fail without anyone noticing until the data is already gone.
Quick answer: ScriptTag is an older Shopify Admin API that lets an app inject third-party JavaScript into a storefront with full page access. Shopify blocks new script tag creation on October 1, 2026, and stops running any script tags at all, old or new, on March 1, 2027. The supported replacements are Web Pixels for analytics and conversion tracking, and app embed blocks for on-page widgets. Stores using current, actively maintained analytics apps are generally already covered, the risk sits with old apps and hand-pasted tracking code nobody has checked in years.
01. The Quick Answer
- What is being removed: the ScriptTag Admin API, used by apps to inject JavaScript across storefront pages.
- First deadline: October 1, 2026, new scriptTagCreate and scriptTagUpdate calls return an error, across every API version.
- Second deadline: March 1, 2027, Shopify stops injecting any script tag, including ones created before the cutoff.
- What replaces it: Web Pixels for tracking, app embed blocks for on-page widgets.
- Who is exposed: stores running old, unmaintained apps or hand-pasted tracking snippets, not current analytics apps.
02. Script Tags vs Web Pixels vs App Embed Blocks
| Factor | ScriptTag (retiring) | Web Pixels | App embed blocks |
|---|---|---|---|
| What it injects | Arbitrary third-party JavaScript, anywhere in the theme, with full page access | Sandboxed event-tracking code only, no direct DOM access | Merchant-controlled UI widgets and blocks, placed inside theme sections |
| Who sees it | Invisible to the merchant, injected silently the moment an app is installed | Visible and listed under Settings, Customer Events | Visible and toggled on or off directly in the theme editor |
| Typical use case | Legacy analytics, chat widgets, affiliate tracking, personalization scripts | Google Analytics, Meta Pixel, TikTok Pixel, conversion and marketing tracking | Chat bubbles, upsell popups, trust badges, on-page merchandising widgets |
| Deprecation status | New tags blocked October 1, 2026, all injection stops March 1, 2027 | The supported forward path, no deprecation on the horizon | The supported forward path, no deprecation on the horizon |
Why it matters: the two replacements are not interchangeable, they solve different problems. Analytics and conversion tracking belongs in Web Pixels, on-page widgets belong in app embed blocks, and a migration that puts the wrong thing in the wrong place tends to either break tracking accuracy or leave a widget the merchant cannot see or control.
03. The Two-Stage Deadline: October 2026 and March 2027
Starting October 1, 2026, the scriptTagCreate and scriptTagUpdate GraphQL mutations return a user error, and the REST ScriptTag resource rejects new POST and PUT requests. This applies across every API version, including older, pinned ones, so an app cannot avoid the change by staying on an old API release. The ScriptTag query and the scriptTagDelete mutation both keep working past this date, so existing tags can still be listed and removed.
Starting March 1, 2027, Shopify stops injecting script tags into storefronts entirely, including any tag created before the October cutoff. This is the date that actually matters for a merchant's storefront, because a script tag that has been running quietly for years, untouched since October, stops firing with no error message and no notification to the store owner.
Why it matters: the five-month gap between the two dates is a genuine audit window, not just a formality. New script tags stop being created in October, giving app developers and agencies time to confirm every existing tag is accounted for before the March cutoff turns the lights off on anything left unmigrated.
04. How to Audit Your Store for Script Tag Dependence
- Pull your ScriptTag list before the October cutoff. A developer can query the ScriptTag resource through the Admin API or GraphiQL to see every script tag currently registered on the store and which app created each one, this list is the starting point for everything else.
- Match each tag back to an installed app. Cross-reference the ScriptTag list against your active apps. Tags with no matching app, or matching an app you no longer recognize or use, are the ones most likely to break silently on March 1, 2027.
- Check whether each vendor has already migrated. Most active analytics and marketing apps, including Shopify's own Google and Meta channel integrations, have already moved to Web Pixels. Contact the vendor directly for any app that has not confirmed a migration path.
- Rebuild anything custom on Web Pixels or app embed blocks. Agency-built or hand-pasted tracking snippets that used ScriptTag need to move to a custom Web Pixel for analytics, or an app embed block if the script controls an on-page widget rather than tracking.
Why it matters: a script tag audit takes a developer an afternoon, and it is the only way to know for certain whether a store's tracking and on-page widgets are safe, rather than assuming the apps currently installed have already handled it.
05. Migrating Analytics and Tracking to Web Pixels
Web Pixels run inside the Customer Events framework, in a sandboxed environment with no direct access to the page's DOM, and they read structured commerce events, page views, add to cart, checkout started, purchase completed, instead of scraping the page for that information. Google Analytics, Meta Pixel, and TikTok Pixel all have supported paths into Web Pixels today, either through Shopify's own channel apps or a custom pixel added under Settings, Customer Events.
Why it matters: the sandboxing that makes Web Pixels safer than ScriptTag is also why a lift-and-shift migration rarely works cleanly, a script written to grab data straight from the DOM needs to be rebuilt around the structured events Web Pixels actually exposes, not just copied and pasted into a new settings field.
06. Migrating Widgets and UI to App Embed Blocks
App embed blocks are a type of theme app extension that a merchant enables and positions directly in the theme editor, the same place themes and sections are already customized. Chat widgets, upsell popups, trust badges, and other on-page elements that used to be injected invisibly through ScriptTag now show up as a toggle the merchant controls, with placement the merchant can see and adjust.
Why it matters: this is a genuine improvement for merchants, not just a compliance hoop, an app embed block cannot silently break a theme the way an invisible script injected years ago sometimes did, and turning a widget off is a toggle instead of a support ticket to the app vendor.
07. How This Differs From the Scripts and Checkout Deadlines We Already Covered
We already covered Shopify Scripts retiring on June 30, 2026, the checkout scripting language used for discount, shipping, and payment logic, replaced by Shopify Functions. We also covered Additional Scripts on the Thank You and Order Status pages, removed for non-Plus merchants on August 26, 2026, replaced by checkout UI extensions. The ScriptTag API in this article is a third, separate mechanism again, it is what apps use to inject JavaScript across your entire storefront, product pages, collection pages, the cart, and home page, not just checkout.
Why it matters: a merchant who already handled the June and August deadlines can reasonably assume the scripting cleanup is finished, and that assumption is the trap. ScriptTag has the widest reach of the three, because it touches every page a customer visits, not a single checkout step, and it is easy to miss precisely because its name sounds like a deadline you already dealt with.
08. Is Your Store at Risk
A few signs point to a store that should audit sooner rather than later:
- You have apps installed that have not been updated in over a year. An app with no recent updates is the most common source of an unmigrated script tag. It may still work perfectly today and still stop working with no warning on March 1, 2027.
- A developer or agency hand-pasted a tracking snippet years ago. Custom Google Analytics, Meta Pixel, or affiliate tracking code added directly through the ScriptTag API during a past project is invisible in the theme editor and easy to forget exists.
- Nobody on your team can name every app currently installed. Stores that have changed hands, agencies, or staff over the years tend to accumulate apps nobody remembers installing, and those are exactly the ones least likely to have a maintained migration plan.
- Your reported conversion numbers already look inconsistent. A ScriptTag that started failing quietly, or an app that already migrated without telling you, can show up first as unexplained gaps in Google Ads or Meta Ads conversion data rather than an obvious error.
Why it matters: none of these signs guarantee a problem on their own, but a store with two or more of them is exactly the profile most likely to lose tracking data quietly on March 1, 2027, with no error to alert anyone that it happened.
09. How AtlanticWorks Helps
AtlanticWorks is a certified Shopify partner working with manufacturers, wholesalers, retailers, and DTC brands across Atlantic Canada, the rest of Canada, and the US. We run a script tag audit against your live store, confirm which installed apps still depend on ScriptTag, and rebuild custom tracking or widgets on Web Pixels and app embed blocks before the March 2027 cutoff. It starts with a free assessment of your current Shopify setup.
10. Key Takeaways
- Shopify blocks new ScriptTag API calls, the scriptTagCreate and scriptTagUpdate mutations and the REST POST and PUT endpoints, starting October 1, 2026, across every API version.
- Shopify stops injecting any script tags into storefronts at all, including ones created before the cutoff, starting March 1, 2027, the point where unmigrated tracking and widgets actually go dark.
- This is a separate deprecation from Shopify Scripts, retired June 30, 2026, and from checkout Additional Scripts, removed for non-Plus merchants August 26, 2026, though all three share the word Scripts and are easy to confuse.
- The supported replacements are Web Pixels for analytics and conversion tracking, and app embed blocks for on-page widgets, both visible and merchant-controlled instead of silently injected.
- The ScriptTag query and scriptTagDelete mutation stay available through March 2027, giving stores a window to audit exactly what is running and remove or migrate anything unaccounted for.
- The most exposed stores are the ones with old, unmaintained apps or hand-pasted tracking snippets from a past agency project, not stores using current, actively maintained analytics apps.
11. Frequently Asked Questions
What is Shopify's ScriptTag API and why is it being deprecated?
ScriptTag is an older Shopify Admin API that lets apps inject arbitrary third-party JavaScript directly into a storefront's pages, with full access to the page. Shopify is retiring it because that unrestricted access creates performance and security risk, and because Web Pixels and app embed blocks now cover the same jobs, tracking and on-page widgets, in a sandboxed, merchant-visible way.
What are the two ScriptTag deprecation deadlines?
Starting October 1, 2026, the scriptTagCreate and scriptTagUpdate mutations return a user error and the REST ScriptTag resource rejects new POST and PUT requests, across every API version, so pinning an older version does not delay it. Starting March 1, 2027, Shopify stops injecting any script tags into storefronts at all, including ones created before the cutoff. Between those two dates, existing tags keep running, and the ScriptTag query and scriptTagDelete mutation stay available so you can audit and remove them.
Is this the same as the Shopify Scripts or checkout Additional Scripts deprecation?
No, these are three separate changes that happen to share a name. Shopify Scripts, the checkout scripting language for discounts, shipping, and payment logic, retired on June 30, 2026, in favor of Shopify Functions. Additional Scripts on the Thank You and Order Status pages was removed for non-Plus merchants on August 26, 2026, in favor of checkout UI extensions. The ScriptTag API covered in this article is different again: it is the mechanism apps use to inject JavaScript across your entire storefront, not just checkout, and it is the broadest of the three because it touches every page a customer visits.
What replaces script tags on Shopify?
Shopify's guidance points to two replacements depending on the job. Web Pixels, part of the Customer Events framework, is the supported path for analytics and conversion tracking, Google Analytics, Meta Pixel, TikTok Pixel, and similar tools, and it runs in a sandboxed environment visible to merchants under Settings, Customer Events. App embed blocks, a type of theme app extension, are the supported path for on-page widgets like chat bubbles, upsell popups, and trust badges, and merchants toggle them on or off directly in the theme editor instead of an app silently injecting code.
How do I know if my Shopify store still relies on script tags?
Check your installed apps list for anything old, unmaintained, or installed years ago for a single tracking or widget purpose, those are the most likely candidates. A developer can query the ScriptTag resource through the Admin API or GraphiQL to list every script tag currently registered on the store and which app created it. Comparing that list against your active app roster shows which tags belong to apps that may not have migrated yet.
Will my Google Analytics or Meta Pixel tracking stop working on March 1, 2027?
Only if that tracking is still installed the old way, through a ScriptTag rather than through Web Pixels or a native app integration. Most major platforms, including Shopify's own Google and Meta channel apps, have already moved their tracking to Customer Events and Web Pixels, so merchants using those official integrations are generally already covered. The risk sits with manually added tracking snippets, older third-party apps, and agency-built custom pixels that were never migrated off ScriptTag.
Deadlines and mechanics here reflect Shopify's published developer changelog as of this article's publish date. Confirm current deprecation status and the exact scripts registered on your store directly in your Shopify admin and Partner Dashboard before treating any migration as complete.
Related resources
What replaced checkout Scripts after June 30, 2026
The Additional Scripts cutover for non-Plus stores
Connecting Google, Microsoft, and Meta correctly
Where app-based tooling is headed on the platform
Not sure if your store still depends on a script tag?
AtlanticWorks runs a free assessment that audits your installed apps, confirms whether your tracking and widgets are safe past March 2027, and rebuilds anything that still needs to move.
Start the Assessment