Shopify Script Tag Deprecation: What Breaks March 1, 2027
- March 1, 2027 is the date that matters: Shopify stops injecting script tags into storefronts, across all API versions, so pinning an older version buys you nothing.
- Creating and updating script tags already fails as of October 1, 2026, but the scriptTags query still works, so you can inventory every tag on your store today.
- What the code does decides the fix: page-changing code needs an app embed block, data-collecting code needs a web pixel. Web pixels have no page access, so A/B tests and personalization cannot live there.
- An app embed block is inactive until a merchant enables it, and it is enabled per theme, so a migrated vendor does not mean a migrated store.
- Custom apps built in the Shopify admin have no extension path at all, so audit that group first and budget real development time.
A script tag is a piece of JavaScript that Shopify injects into your storefront on behalf of an app, without any code in your theme. Shopify stops injecting them on March 1, 2027, across every API version, and creating new ones already failed as of October 1, 2026 [Shopify developer changelog, 2026]. Nothing on your store looks wrong today. That is the problem: the CROBenchmark dataset covers 7,000+ websites across 15+ industries against 248+ audit criteria, and storefront tag inventories are among the least documented assets we review [CROBenchmark Report 2026, Omniconvert].
This guide covers the real deadline, how to tell which of two replacements each tag needs, why analytics code and testing code move to different places, and a plan that fits the nine quiet weeks between peak and the cutoff. Each section answers its heading first.
What date do Shopify script tags stop working?
Two dates, two different effects, and the gap between them is the whole story. October closed the door on new tags. March removes the ones already inside. In between, every storefront that depends on a script tag works exactly as it always did, which is the most expensive kind of warning: one with no symptom.
The detail most summaries skip is the API version clause. Shopify deprecations usually let a pinned version carry on for a while, and developers are trained to reach for that lever. This one closes it. There is no version to pin, no flag to set, and no per-store exception to request.
| Date | What changes | What still works |
|---|---|---|
| October 1, 2026 | scriptTagCreate and scriptTagUpdate return a user error, as do REST POST and PUT | Existing tags load normally; the scriptTags query and scriptTagDelete both work |
| Now to February 2027 | Nothing visible on the storefront | Everything, which is why the work gets deferred |
| March 1, 2027 | Shopify stops injecting script tags into online store pages, on every API version | Only app embed blocks, web pixels and theme code |
Why your peak code freeze ate the migration runway
Scale explains the freeze. Black Friday Cyber Monday 2025 produced $14.6 billion in sales across Shopify merchants, peaking at $5.1 million a minute [Shopify, 2025]. No sensible team deploys storefront JavaScript into that. The freeze is correct. It is also, this year, the first half of the runway.
Behavioural economics has a name for what happens next. Status quo bias, described by Samuelson and Zeckhauser, is the preference for leaving things as they are when the alternative requires a decision; omission bias is the matching instinct that harm from doing nothing feels less culpable than harm from acting. Together they describe this deadline precisely. Editing a working theme in January feels risky. Leaving it alone feels safe. Only one of those two choices is actually passive, and it is not the second one: the platform changes underneath you on March 1 whether you touched anything or not.
What is a Shopify script tag, and which fix does yours need?
Ask one question about each tag: does this code read or change the page the shopper sees? If yes, it needs an app embed block. If it only listens for events and sends data somewhere, it needs a web pixel. That single question resolves most of the migration, and getting it wrong is how teams discover the sandbox limit late.
The analogy worth carrying: a script tag is a tenant on a lease the landlord is not renewing. Nothing looks wrong until move-out day, and you do not find out which tenants were holding up the ceiling until they are gone. Tags added for one campaign three years ago are frequently load-bearing now.
Ward Cunningham's original framing of technical debt fits better here than the loose version people quote. Debt is not mess, it is borrowing: a reasonable shortcut taken knowingly, on which interest accrues. Every script tag was reasonable the day it was added. The deprecation is simply the day the whole balance comes due at once, which is what makes an ordinary afternoon of work feel like a crisis.
Why A/B testing and personalization cannot become web pixels
The tools that break if you move them to a pixel are the ones that change the page:
- A/B testing and experimentation: a variation has to render. No DOM, no variation.
- Personalization and recommendations: swapping a banner, a price block or a product row is a page edit.
- On-site surveys and polls: the question has to appear on screen.
- Chat and support widgets: a launcher is an injected element.
- Consent banners and cookie notices: they must block and then release other scripts on the page.
- Badges, timers and stock messages: anything merchandising adds near the add-to-cart button.
Pure measurement is the opposite case, and the pixel is genuinely a better home for it: conversion beacons, ad platform tags and analytics collectors subscribe to checkout and purchase events and never need the document. If you are rebuilding measurement anyway, it is a reasonable moment to review what you actually collect and why, the same discipline that makes ecommerce analytics useful instead of merely voluminous, and to decide which of it is first-party data you control. Brands that lean on cookieless personalization and on declared, zero-party data have less to re-plumb here, because less of their targeting was ever riding on a storefront tag.
App embed block or web pixel: how to choose
webPixelCreate mutation under the write_pixels and read_customer_events scopes. Most stores need both, because most stores run both kinds of script, often from the same vendor.| What the script does | Replacement | Who has to act |
|---|---|---|
| Renders or modifies page content: tests, personalization, surveys, chat, badges, consent | App embed block in a theme app extension | The app developer ships it; the merchant enables it, per theme |
| Collects analytics or conversion data only: purchase beacons, ad tags, event streams | Web pixel via webPixelCreate | The app developer, with the write_pixels and read_customer_events scopes |
| Both, in one file | Split it: embed block for the visible part, pixel for the data part | The app developer, then the merchant for the embed half |
| Came from a custom app created in the Shopify admin | Theme code, or a real app built for the purpose | The merchant, with development time |
One sequencing rule matters more than it sounds. Shopify warns that a script tag and its replacement running at the same time will load the script twice, which duplicates interface elements and inflates analytics. So delete the old tag only after you have confirmed the new one runs, and expect a short overlap where you are watching for doubles rather than for absences. scriptTagDelete still works, so the removal is the easy half.
Omniconvert Commander reads orders, customers and behaviour through the Shopify app connection, not a storefront script tag, so you can still see whether revenue moved while your tags are being swapped.
See how Omniconvert Commander works →The failure nobody plans for: your vendor migrated, your store did not
This is where migrations quietly fail. The vendor's status page says migrated. The release notes say migrated. The published theme never had the block switched on, or had it switched on in October and then lost it when the team published a rebuilt theme in January. Nothing errors. The feature is simply absent, and absent features do not page anybody.
The brands that plateau at a 1.5% to 2% conversion rate consistently share one pattern: nobody owns the storefront's script inventory, so tooling is installed by whoever needed it and audited by nobody afterwards. The benchmark gap closes fastest when operators treat the published theme as the unit of verification, not the vendor's release note. In our CRO audit work with Shopify brands through 2026, we repeatedly find a live store's tag inventory is longer than any single person on the team expects, and that at least one tag belongs to a tool the brand stopped paying for [Omniconvert, 2026].
PRISM+ ran one A/B test with Omniconvert on a listing page redesign that grouped TVs, across all devices, and recorded a +40.74% conversion rate, +14.81% revenue per user and a 99.48% chance to win [Omniconvert, PRISM+ case study]. That is the kind of page-level change that only exists because an experimentation tool can render on the page, and it is exactly the capability a web pixel cannot carry, which is why the embed-block half of this migration deserves more attention than the pixel half.
Custom apps built in the Shopify admin: the hardest case
These are the tags with no owner. A developer created an admin custom app for one integration, injected a tag, left the agency or the company, and the tag has run for two years. There is no vendor to email and no release note to wait for. The work is yours, and it is the longest item on the list.
Moving code into the theme is the fast answer and carries a real cost: code in the theme does not follow theme upgrades, so it becomes a maintenance item for whoever inherits the store. Decide that trade deliberately, write down which files you touched, and keep the list somewhere a future developer will actually look, next to whatever you use to track store changes against conversion drops.
How to audit your store this week
scriptTags query still works even though creation does not. Pull the full list, open the storefront network panel to see what each tag actually loads, then check Settings, Customer events for existing pixels and the theme editor for which app embeds are enabled on the published theme. Expect the list to be longer than the team's mental model of it.-
List every tagRun the
scriptTagsquery in the GraphQL Admin API, or have your developer or agency run it. Record the source URL and the owning app for each result. -
Classify each oneOpen a product page and the cart with the browser network panel recording. For each script, decide: does it change the page, or only send data? Page-changing goes in the embed column, data-only in the pixel column.
-
Name the ownerPublic app, private app, agency, or an admin-created custom app with nobody behind it. The last group is the one that needs a budget line, not an email.
-
Check what is already migratedIn Settings, Customer events, see which web pixels exist. In the theme editor on your published theme, see which app embeds are enabled. Compare both against your tag list.
-
Flag the revenue-critical fewMark the tags whose absence would cost money the same day: consent, checkout measurement, experimentation, recommendations. Those get tested first and removed last.
A nine-week plan for January and February
Order the work by how long the fix takes, not by how important the tool feels. Vendor updates are mostly a switch in the theme editor. Admin-created custom apps need a developer, a specification and a test cycle, so they must start before anyone feels ready. Keep removals last, and sequence them one tag at a time so a doubled script or a dropped feature is attributable to one change.
A warning from a different field, worth holding on to. Diane Vaughan's normalization of deviance describes how organizations come to treat a repeatedly survived anomaly as normal. Shopify Scripts for Plus merchants ended June 30, 2026 after two extensions, and checkout.liquid support ended for non-Plus merchants in August 2026. Merchants who lived through those learned a plausible, wrong lesson: that Shopify deadlines slip, and the last-minute scramble always works. This deadline names every API version explicitly. There is nothing to pin and no obvious lever left to pull, so the near-miss heuristic is the wrong one to bring.
Treat the forced migration as a chance to cut the inventory rather than recreate it. If you have been meaning to consolidate three overlapping tools, this is the cheapest moment you will get to do it, and a shorter tag list is faster to run and faster to debug. Our write-ups on CRO and growth tools for Shopify and on A/B testing tools for Shopify are a reasonable place to compare what you already pay for against what you use, and the practical list of ways to increase conversions on a Shopify store, together with our Shopify A/B testing solution page, is a better guide to what deserves a slot on the page than the historical accident of which tag got installed first.
FAQ: Shopify script tag deprecation
On March 1, 2027. Shopify stops injecting script tags into online store pages on that date, and the change applies to every API version, so pinning an older version does not delay it. Creation already stopped on October 1, 2026: scriptTagCreate and scriptTagUpdate, and the equivalent REST calls, now return a user error. Existing tags keep running until the March cutoff, then stop loading.
One of two things, decided by what the code does. Code that draws on the page or changes it moves to an app embed block inside a theme app extension. Code that only collects analytics or conversion data moves to a web pixel, which an app registers with the webPixelCreate mutation and the write_pixels and read_customer_events scopes. Most stores need both paths, because most stores run both kinds of script.
No. Web pixels run inside a sandbox with no access to the page document, so they cannot read or change what the shopper sees. A/B tests, personalization, on-site surveys, chat widgets, product badges and consent banners all stop working if you move them to a pixel. They need an app embed block. A pixel is only the right home for code that listens to customer events and sends data out.
Not automatically. An app embed block stays inactive until a merchant turns it on, and it is activated per theme rather than per store. A vendor can ship a correct replacement while your storefront still loses the feature on March 1, 2027. Open the theme editor on your published theme, confirm the app embed is enabled there, and check it again after any theme duplicate, swap or rebuild.
That is the hardest case, so start there. Custom apps created in the Shopify admin cannot use app extensions, which means they have no app embed block to migrate to. The options are to move the code into theme code, which forfeits automatic theme updates for that code, or to have a real app built and installed. Both take longer than a vendor update, so audit this group first.
Omniconvert Commander reads order, customer and behavioural data through its Shopify app connection rather than through a storefront script tag, so your revenue and segment reporting survives the migration window intact. That matters during the changeover, because it gives you a second source of truth: when a tag is removed early or a replacement double-fires, you can see whether orders, repeat purchase rate and segment revenue actually moved, instead of guessing from one broken analytics feed.
The deprecation gives you one usable window. Peak ends, and about nine weeks later, on March 1, 2027, Shopify stops injecting script tags into your storefront, on every API version. Spend the first week of January on the inventory rather than the fix: run the scriptTags query, sort each tag into page-changing or data-collecting, and mark the ones that came from an admin-created custom app, because those need development rather than a vendor update. Then watch the numbers that tell you whether the swap worked, not just whether the code loaded. Omniconvert Commander reads orders and customer behaviour through the app connection instead of a storefront tag, so revenue and segment reporting stay readable while the tags underneath are moving.
Keep your revenue reporting readable through the migration
A script tag migration is also a measurement migration: tags come out, pixels go in, and for a few weeks nobody trusts the dashboard. Omniconvert Commander reads order, customer and behavioural data through its Shopify app connection, ranks the segments that drive profit, and shows whether revenue actually moved while your storefront code was changing.