Skip to content
ansezz.
Shopify Nov 26, 2026 10 min read 1,934 words

Script tags stop on 1 March. Turn the embed on first.

Shopify stops injecting script tags into storefronts on 1 March 2027. An app embed block is off until the merchant turns it on, so delete a script tag only after the embed is confirmed active.

Anass Ez-zouaine

Backend · Architect · AI

Comic pop-art scene of a yellow robot flipping one switch on while three other switches stay off, a calendar page reading MAR 1 above them, and a cardboard tag pulled from a wall socket, under the words TURN IT ON FIRST
▸ On this page (7)

Script tags stop on 1 March. Delete one before the embed is on, and that store loads nothing. Shopify will not warn the merchant.

The network access declaration is a different deadline. That one is a deploy rule on 1 December. This one is a runtime change on 1 March, and it can break a store that looks fine today.

What Shopify decided on 24 August

The 24 August 2026 changelog has two dates.

On 1 October 2026, scriptTagCreate and scriptTagUpdate stop working, and the ScriptTag REST resource rejects POST and PUT. It applies to every API version. Pinning an older version still fails. Existing script tags keep running.

The changelog says those mutations “return an user error”. The storefront doc says they return a “permission error”, and that REST POST and PUT fail the same way. Neither page shows the response body.

On 1 March 2027, Shopify stops injecting script tags into storefronts. Storefronts are the last place they still run.

Order status, and a tag scoped to all

Order status tags already stopped, on a separate schedule: 28 August 2025 for Plus stores, and 26 August 2026 for every other store. A tag whose displayScope is only ORDER_STATUS is already inert.

A tag with displayScope ALL still loads on the storefront until 1 March 2027. The order status page says so.

The changelog’s affected list names online_store. Treat ALL like ONLINE_STORE for this date. The GraphQL enum marks ALL and ORDER_STATUS as deprecated. Old tags can still return them.

The scriptTags query and the scriptTagDelete mutation keep working, so you can audit and clean up. After 1 March, a leftover record has no effect, so you do not have to delete it.

The deadlines table on the app security page lists this row for “All apps”. The sources name calendar dates. They do not name a time of day or a time zone.

Today is 26 November. By calendar days, 1 March is 95 days away.

The embed is off until the merchant turns it on

A script tag ran as soon as your app created it. An app embed block does not.

By default, app embed blocks are deactivated after an app is installed. The merchant turns one on in the theme editor, under Theme settings, then App embeds. Your app cannot turn it on for them.

Your app can send a deep link. It opens the editor with the embed ready. The merchant previews it, then saves.

https://<myshopifyDomain>/admin/themes/current/editor?context=apps&template={template}&activateAppId={api_key}/{handle}

{api_key} is the same value as client_id in the app’s app.toml. {handle} is the embed’s Liquid filename, so theme-app-extension/blocks/app-embed.liquid is app-embed.

{template} is optional. Leave it out and Shopify uses the index template. The documented values are product, collection, article, and blog. Take the myshopify domain from the Shop object.

The embed is also per theme. The storefront doc says it is only active on the theme it was enabled on. If the store publishes a different theme, your block is not on there. Check again.

Confirm it is on, then delete

The migration steps follow that. Build the extension. Send the deep link. Confirm the embed is active on the published theme. Only then call scriptTagDelete.

Delete first, and neither one is running. Skip the delete, and both run. That can double-count analytics events or render your UI twice.

Delete first

Ship the extension, delete every script tag, and wait. Every store where the merchant never opened the editor now loads nothing.

Confirm, then delete

Ship the extension, send the deep link, record which stores have the embed active, and delete the tag only for those. Keep the tag on the rest until they do.

Comic pop-art scene of a yellow robot putting two stickers on one window while a blue robot peels the same sticker off a second window, under the words TWICE OR NEVER
Delete too early and the window is blank. Leave both running and the sticker goes on twice.
Delete the script tag first and the widget disappears. Keep it forever and it loads twice.

There will be no storefront banner

An earlier plan showed a banner when a merchant installed an app that still uses a storefront script tag. The storefront doc now says Shopify has decided not to show that banner, “for now”.

The order status page still has its own install banner. This dropped banner is the storefront one.

Do not wait for the merchant to notice. They get no Shopify warning at install for a storefront script tag, and a tag that loads today gives no sign it will stop.

The list is yours to keep. For each store, record the script tag’s scope, whether your embed is on, and when you last checked.

How to tell if the embed is on

The docs give two ways to detect an app embed.

From the Shopify admin, call shopify.app.extensions(). The configuration page writes the same call as app.extensions(). It needs no extra access scope.

It reports your blocks on the published theme. In the migrate guide, a status of active means the embed is on. A status of available means your app ships the block and the merchant has not enabled it.

From your backend, read the published theme’s config/settings_data.json through the Asset REST Admin API. That needs the read_themes scope. It works without the merchant opening your app.

An embed is an entry under current.blocks. Its type starts with shopify://apps/<app>/blocks/<block>/.

The configuration docs use this block as the example:

"17878678986028907411": {
  "type": "shopify:\/\/apps\/faceforms-better-pop-ups\/blocks\/app-embed\/f2173231-e611-461d-884b-bd8e6cc2ded4",
  "disabled": false
}

The same entry also has a settings object. The field that tells you on or off is disabled.

Two details matter. Shopify adds the embed to that file only after the first time it is enabled. If the merchant switches it off later, the entry stays, with "disabled": true. An entry in the file is not the same as an embed that is on.

A local check on five fake stores

I wrote a small script that applies those rules. It reads a scriptTags response and a settings_data.json for each fake store, then picks delete, keep, or ignore.

I ran it on 26 November 2026, at 20:13 Asia/Kuala_Lumpur. The fixtures are synthetic. It did not call Shopify.

StoreScript tag scopeEmbed stateAction
store-aONLINE_STOREenableddelete the tag
store-bALLnever enabledkeep it, send the deep link
store-cONLINE_STOREpresent, disabled: truekeep it, ask to re-enable
store-dORDER_STATUSnoneignore, it is already inert
store-eONLINE_STOREa different block, plus another app’s embedkeep it, send the deep link

Three of the five go dark on 1 March if nothing changes. Only store-a is safe to delete today.

A cleanup that deletes every tag gets store-a right and breaks store-b, store-c, and store-e. store-d was already inert on the order status page.

New installs, and the error you will read

Since 1 October, a new install cannot get a script tag. The storefront doc says to release the replacement before that date. After it, a store that installs without a working replacement loses what the tag did.

That date has passed. Read the install job. The changelog says the mutations “return an user error”. The storefront doc says “permission error”. I could not find a response sample, so I do not know which shape you get.

Read both fields. Look at userErrors on the mutation, and look for a top-level errors array. The docs do not show the HTTP status, so a status code on its own is not the check.

The same script has a second mode that scans an app folder. On a small synthetic Laravel and Node app, it found scriptTagCreate call sites, a REST script_tags path, and the write_script_tags scope in shopify.app.toml.

It also flagged a PHP file that calls the mutation and never reads an error field. A clean config file was not flagged.

When the replacement is live, remove the write_script_tags scope and the code that creates script tags.

What I would check this week

If your app injects JavaScript on a storefront, ship the app embed block first. Send the deep link from the app and from the install flow.

Keep a per-store record of the embed state. Check the published theme again on a schedule. An embed lives only on the theme where it was turned on. Delete the script tag only where that embed is active.

If the script only collects analytics

If the script only collects analytics or conversion data, use a web pixel instead. Your app creates it with webPixelCreate. The merchant approves write_pixels and read_customer_events when they install or update the app.

The changelog says a web pixel needs no action from the app user. The storefront doc is more specific: the pixel does not have to be turned on in the theme editor. Approving those two scopes is still part of install or update.

If the app was created in the admin

If you maintain an app created in the Shopify admin, it cannot use app extensions or web pixels. Move the script into the theme. Use a custom Liquid block where you can, or the theme code editor if you need to.

A script left in the theme stays after the app is gone. Editing theme code also takes the theme off its automatic upgrade path. Do that only when the app cannot use an extension.

Key takeaways

  • On 1 March 2027 Shopify stops injecting script tags. Since 1 October 2026 you cannot create or update one, on any API version.
  • An app embed block stays off until the merchant turns it on, per theme. There is no storefront install banner for now, so your app has to track which stores are on.
  • Delete a script tag only after the embed is active on the published theme. Where you still create one, read both userErrors and errors.

Do you know, store by store, which of your installs have the replacement switched on?

▸ Made it to the end? Send it around.

▸ Share

▸ Comments

Tools for this

Keep reading