Shopify

Shopify Script Tag Deprecation: What Breaks March 1, 2027

First published Nov 25, 2026Updated November 25, 202613 min read
Valentin Radu, Founder and CEO of Omniconvert
Valentin Radu
Founder & CEO, Omniconvert · Author, The CLV Revolution
Published: Nov 25, 2026Updated: Nov 25, 2026
Reviewed by Cristina Stefanova, Head of Content
Summarize with AI:
Shopify script tag deprecation timeline: creation blocked in October 2026, storefront injection stops March 1, 2027, with app embed block and web pixel as the two replacement paths
Quick Answer
Shopify stops injecting script tags into online store pages on March 1, 2027, and the change applies to every API version, so version pinning does not defer it. Creating or updating a script tag already fails as of October 1, 2026. Each tag moves to one of two replacements: an app embed block for code that changes the page, or a web pixel for code that only collects data.
Key Takeaways
  • 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.
7,000+ websites in CROBenchmark 15+ industries analyzed 248+ audit criteria 13 years of CRO expertise

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?

March 1, 2027. On that date Shopify stops injecting script tags into online store pages, and the change applies to all API versions, so pinning an older version does not defer it. A second date already passed: since October 1, 2026 you cannot create or update a script tag. Existing tags keep running until March, which is why the store looks healthy and the deadline feels distant.

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.

DateWhat changesWhat still works
October 1, 2026scriptTagCreate and scriptTagUpdate return a user error, as do REST POST and PUTExisting tags load normally; the scriptTags query and scriptTagDelete both work
Now to February 2027Nothing visible on the storefrontEverything, which is why the work gets deferred
March 1, 2027Shopify stops injecting script tags into online store pages, on every API versionOnly app embed blocks, web pixels and theme code
Source: Shopify developer changelog and script tag deprecation documentation, read November 2026.

Why your peak code freeze ate the migration runway

Most Shopify teams freeze storefront code from mid-November to early January to protect peak trading. That freeze ends about nine weeks before the March 1, 2027 cutoff. The weeks nobody wants to touch the theme are now the only weeks available to touch it, so the migration has to be planned as a January and February project rather than as a task that gets picked up when the queue clears.

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?

A Shopify script tag is defined as a remote JavaScript file that Shopify injects into online store pages on an app's behalf, registered through the Admin API rather than written into your theme. Because it loads on the page with full document access, it has been used for everything from analytics beacons to full page rewrites. That breadth is why there is no single replacement: the fix depends on what the code does once it loads.

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

A web pixel is defined as a snippet that runs inside a sandboxed environment, subscribed to Shopify customer events, with no access to the page document. The sandbox is deliberate: it protects shoppers and keeps third-party code away from the DOM. It also means any script that changes what the shopper sees will not function as a pixel, regardless of how carefully it is rewritten.

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

Code that draws on or changes the page moves to an app embed block inside a theme app extension. Code that only collects analytics or conversion data moves to a web pixel, registered with the 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 doesReplacementWho has to act
Renders or modifies page content: tests, personalization, surveys, chat, badges, consentApp embed block in a theme app extensionThe app developer ships it; the merchant enables it, per theme
Collects analytics or conversion data only: purchase beacons, ad tags, event streamsWeb pixel via webPixelCreateThe app developer, with the write_pixels and read_customer_events scopes
Both, in one fileSplit it: embed block for the visible part, pixel for the data partThe app developer, then the merchant for the embed half
Came from a custom app created in the Shopify adminTheme code, or a real app built for the purposeThe merchant, with development time
Source: Shopify script tag deprecation documentation, read November 2026, with Omniconvert CROBenchmark analysis of storefront tag patterns (7,000+ websites, 2026).

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

An app embed block is inactive until a merchant turns it on, and it is activated per theme rather than per store. So a vendor can ship a correct, tested replacement and your storefront still loses the feature on March 1, 2027. Theme duplicates, seasonal themes and rebuilds each need their own check, because an embed enabled on one theme is not enabled on another.

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

Custom apps created inside the Shopify admin cannot use app extensions, so they have no app embed block to migrate to. Their only two 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 development time rather than a vendor update, so this group should be audited first.

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

The audit is possible today, because the 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.
  1. List every tag
    Run the scriptTags query in the GraphQL Admin API, or have your developer or agency run it. Record the source URL and the owning app for each result.
  2. Classify each one
    Open 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.
  3. Name the owner
    Public 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.
  4. Check what is already migrated
    In 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.
  5. Flag the revenue-critical few
    Mark 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

Nine weeks is enough if the audit happens in week one and the hardest group starts in week two. Weeks one to two: inventory and ownership. Weeks three to five: vendor replacements enabled and verified on the published theme. Weeks four to eight: custom app rebuilds, which have the longest tail. Weeks eight to nine: remove old tags one at a time, watching for double execution.

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

1When exactly do Shopify script tags stop working?

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.

2What replaces a Shopify script tag?

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.

3Can I move everything to a web pixel?

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.

4My app vendor says they migrated. Is my store safe?

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.

5What if my script came from a custom app built in the Shopify admin?

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.

6How does Omniconvert Commander help with the Shopify script tag deprecation?

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.

Nine Quiet Weeks Is the Whole Budget

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.

Valentin Radu, Founder and CEO of Omniconvert
Founder & CEO, Omniconvert
Valentin Radu is the founder and CEO of Omniconvert. He is an entrepreneur, data-driven marketer, CRO expert, CVO evangelist, international speaker, father, husband, and pet guardian. Valentin is also an Instructor at the Customer Value Optimization (CVO) Academy, an educational project that aims to help companies understand and improve Customer Lifetime Value.

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.