<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/script-tags-are-deprecated-and-will-stop-running-on-march-1-2027-xgx5cuckz" -->

---
title: Script tags are deprecated and will stop running on...
description: Shopify is deprecating ScriptTag mutations and storefront script injection. Starting October 1, 2026, ScriptTagCreate and ScriptTagUpdate mutations plus the...
canonical: https://daily.dev/posts/script-tags-are-deprecated-and-will-stop-running-on-march-1-2027-xgx5cuckz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Script tags are deprecated and will stop running on March 1, 2027 | daily.dev
og:description: Shopify is deprecating ScriptTag mutations and storefront script injection. Starting October 1, 2026, ScriptTagCreate and ScriptTagUpdate mutations plus the...
og:url: https://daily.dev/posts/script-tags-are-deprecated-and-will-stop-running-on-march-1-2027-xgx5cuckz
og:image: https://api.daily.dev/og/posts/xgx5cUcKz.png
og:image:alt: Script tags are deprecated and will stop running on March 1, 2027
og:image:width: 1200
og:image:height: 630
og:locale: en
---

[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog)

[Read post](https://api.daily.dev/r/xgx5cUcKz)

# [Script tags are deprecated and will stop running on March 1, 2027](https://api.daily.dev/r/xgx5cUcKz "Go to post")

Shopify is deprecating ScriptTag mutations and storefront script injection. Starting October 1, 2026, ScriptTagCreate and ScriptTagUpdate mutations plus the REST Admin API ScriptTag resource will reject POST and PUT requests with a user error, across all API versions regardless of pinning. On March 1, 2027, Shopify will stop injecting script tags into storefronts entirely, meaning existing script tags will stop loading JavaScript. Apps must migrate to app embed blocks (shipped via theme app extensions) or, for analytics/conversion tracking scripts, switch to web pixels instead.

[#webdev](/tags/webdev "Check all #webdev posts")[#rest-api](/tags/rest-api "Check all #rest-api posts")[#shopify](/tags/shopify "Check all #shopify posts")

Aug 24•2m read time•From [shopify.dev](https://api.daily.dev/r/xgx5cUcKz "shopify.dev")

[![Post cover image](https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop)](https://api.daily.dev/r/xgx5cUcKz "Go to post")

Table of contents

[What's changing](https://api.daily.dev/r/xgx5cUcKz "What's changing")[What you need to do](https://api.daily.dev/r/xgx5cUcKz "What you need to do")[Who's affected](https://api.daily.dev/r/xgx5cUcKz "Who's affected")[Deprecation timeline](https://api.daily.dev/r/xgx5cUcKz "Deprecation timeline")[Migration path](https://api.daily.dev/r/xgx5cUcKz "Migration path")[Related docs](https://api.daily.dev/r/xgx5cUcKz "Related docs")

Questions this post answers

When will Shopify stop injecting script tags into storefronts?

Shopify will stop injecting script tags into storefronts on March 1, 2027\. Storefronts are the last place script tags still run, since they already stopped working on the Order status page under an earlier deprecation. Apps using script tags to load JavaScript onto a store must replace them with app embed blocks before this date. Track platform deprecation deadlines like this one on daily.dev so migrations don't slip past the cutoff.

What happens to the Shopify ScriptTag API starting October 1, 2026?

Starting October 1, 2026, the scriptTagCreate and scriptTagUpdate mutations return a user error, and the REST Admin API ScriptTag resource rejects POST and PUT requests. This applies across all API versions, including older pinned ones, so pinning to an older API version does not defer the change. Existing script tags keep running until the March 2027 storefront cutoff. Developers pinning Shopify API versions can follow deprecation changes like this on daily.dev.

What should I replace Shopify script tags with before they stop working?

Replace each script tag with an app embed block shipped in a theme app extension, which app users activate in the theme editor. If the script only collects analytics or conversion data, use a web pixel instead, since it requires no action from the app user. The scriptTag query and delete mutation still work, so existing tags can be audited and cleaned up. Developers migrating Shopify integrations can find upgrade guidance like this on daily.dev.

1.9K Impressions2 Upvotes

Comment

Bookmark

Copy

![Placeholder image for anonymous user](https://media.daily.dev/image/upload/s--qsFuKGv_--/t_logo,f_auto/public/noProfile)Share your thoughtsPost

[![Shopify Developer changelog's image](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3)](https://daily.dev/sources/shopifychangelog)

[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog "https://daily.dev/sources/shopifychangelog")

Shopify Changelog serves as a resource for staying informed about updates, enhancements, and bug fix... Read more

211 Followers

•

214 Upvotes

#### Would you recommend this post?

Copy link

WhatsApp

Facebook

X

New Squad

Copy linkShare with your friends

2

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Script tags are deprecated and will stop running on March 1, 2027","url":"https://daily.dev/posts/script-tags-are-deprecated-and-will-stop-running-on-march-1-2027-xgx5cuckz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/script-tags-are-deprecated-and-will-stop-running-on-march-1-2027-xgx5cuckz"},"datePublished":"2026-08-24T18:03:11.250Z","dateModified":"2026-08-24T18:03:33.294Z","description":"Shopify is deprecating ScriptTag mutations and storefront script injection. Starting October 1, 2026, ScriptTagCreate and ScriptTagUpdate mutations plus the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Shopify Developer changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Shopify Developer changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3","url":"https://daily.dev/sources/shopifychangelog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/script-tags-are-deprecated-and-will-stop-running-on-march-1-2027-xgx5cuckz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,rest-api,shopify","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Shopify Developer changelog","item":"https://daily.dev/sources/shopifychangelog"},{"@type":"ListItem","position":3,"name":"Script tags are deprecated and will stop running on March 1, 2027"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/script-tags-are-deprecated-and-will-stop-running-on-march-1-2027-xgx5cuckz#faq","mainEntity":[{"@type":"Question","name":"When will Shopify stop injecting script tags into storefronts?","acceptedAnswer":{"@type":"Answer","text":"Shopify will stop injecting script tags into storefronts on March 1, 2027. Storefronts are the last place script tags still run, since they already stopped working on the Order status page under an earlier deprecation. Apps using script tags to load JavaScript onto a store must replace them with app embed blocks before this date. Track platform deprecation deadlines like this one on daily.dev so migrations don't slip past the cutoff."}},{"@type":"Question","name":"What happens to the Shopify ScriptTag API starting October 1, 2026?","acceptedAnswer":{"@type":"Answer","text":"Starting October 1, 2026, the scriptTagCreate and scriptTagUpdate mutations return a user error, and the REST Admin API ScriptTag resource rejects POST and PUT requests. This applies across all API versions, including older pinned ones, so pinning to an older API version does not defer the change. Existing script tags keep running until the March 2027 storefront cutoff. Developers pinning Shopify API versions can follow deprecation changes like this on daily.dev."}},{"@type":"Question","name":"What should I replace Shopify script tags with before they stop working?","acceptedAnswer":{"@type":"Answer","text":"Replace each script tag with an app embed block shipped in a theme app extension, which app users activate in the theme editor. If the script only collects analytics or conversion data, use a web pixel instead, since it requires no action from the app user. The scriptTag query and delete mutation still work, so existing tags can be audited and cleaned up. Developers migrating Shopify integrations can find upgrade guidance like this on daily.dev."}}]}
```

