[Deprecation] Script tags will stop running on March 1, 2027

Hey folks,

Script tags have been deprecated since 2021, when theme app extensions replaced them. They’re already removed from the Order status page, and now we’re announcing deprecation dates for storefronts.

From October 1, 2026, scriptTagCreate and scriptTagUpdate will return a user error, and the REST ScriptTag resource stops accepting POST and PUT. Existing tags will keep running, and you can still read and delete them.

From March 1, 2027, we’ll stop injecting script tags into storefronts.

If your app loads JavaScript with a script tag, then move it to an app embed block in a theme app extension. If the script only collects analytics or conversion data, then use a web pixel instead.

Full details and migration steps are here.

Will there be a way to programmatically enable an app embed block for existing users? We have thousands of merchants using ScriptTags, and relying on each one to click a deep link from an email or return to the app dashboard feels daunting.

Hey @jlyon, there’s no programmatic way to enable them for existing users. Let me go back to the team, see what’s possible here.

Agree with jlyon. There should be a programmatis way for existing merchants to migrate to app embed. They are already have custom code running, so I don’t see any permissions issue with this. A lot of merchants will result in broken experience without