---
title: Script tag deprecation
description: >-
  Shopify is removing script tags. Find the deprecation that applies to your
  app, when it takes effect, and what to use instead.
source_url:
  html: 'https://shopify.dev/docs/apps/build/online-store/script-tag-deprecation'
  md: 'https://shopify.dev/docs/apps/build/online-store/script-tag-deprecation.md'
---

# Script tag deprecation

Theme app extensions replaced script tags in 2021. Script tags have already stopped running on the Order status page for Plus stores. Storefront pages are next. You can't create or update a script tag after October 1, 2026, and script tags will stop running on storefronts on March 1, 2027.

Which deprecation applies to your app depends on where your script runs.

| Where your script runs | Stops working | Migration guide |
| - | - | - |
| Order status page | August 26, 2026 | [Order status script tags](https://shopify.dev/docs/apps/build/online-store/script-tag-deprecation/order-status) |
| Storefront pages | March 1, 2027 | [Storefront script tags](https://shopify.dev/docs/apps/build/online-store/script-tag-deprecation/storefront) |

***

## Next steps

* [Migrate to theme app extensions](https://shopify.dev/docs/apps/build/online-store/theme-app-extensions/migrate) to replace a script tag that loads JavaScript on storefront pages.
* [Build a web pixel](https://shopify.dev/docs/apps/build/marketing/pixels) to replace a script tag that only collects analytics or conversion data.
* [Build customer account UI extensions](https://shopify.dev/docs/api/customer-account-ui-extensions) to replace a script tag that customizes the Order status page.

***
