Quick answer: Shopify will block new and updated storefront script tags on October 1, 2026. Existing storefront script tags can keep running until March 1, 2027, when Shopify will stop injecting them altogether. Apps should move storefront JavaScript to app embed blocks; analytics and conversion tracking should move to web pixels.[1]
Do not wait for March. October 1 is the operational deadline: after it, the GraphQL scriptTagCreate and scriptTagUpdate mutations return errors, while the REST ScriptTag resource rejects POST and PUT requests. Pinning an app to an older Shopify API version will not postpone the change.[2]
Shopify script-tag deadlines at a glance
| Date | What changes | What to do |
|---|---|---|
| Before October 1, 2026 | Creation and updates still work. | Inventory script tags, ship replacements, test them and migrate stores. |
| October 1, 2026 | Script-tag create/update operations fail across all API versions. Existing storefront tags keep running. | Stop relying on ScriptTag for new installs, reinstalls or updates. |
| March 1, 2027 | Shopify stops injecting storefront script tags. | Remove the legacy implementation after confirming its replacement works. |
Read and delete operations remain available: developers can still use the scriptTags query to audit records and scriptTagDelete to remove them.[1]
Which replacement should you use?
| Legacy script purpose | Recommended replacement | Important behavior |
|---|---|---|
| Load JavaScript or inject storefront UI | App embed block in a theme app extension | The merchant must enable it, and activation is per theme. |
| Collect analytics, conversions or customer-behavior events | Web pixel | No merchant activation in the theme editor is required. |
| Customise the order-status page | Customer account UI extension | This follows the separate order-status migration path. |
| Admin-created custom app that cannot use extensions | Move the script into the theme only when necessary, or have the provider release a proper app | Theme-code edits can complicate updates and remain after the app is removed. |
Shopify’s deprecation overview separates storefront, analytics and order-status use cases rather than prescribing one replacement for every script.[3]
Store-owner checklist: what to do now
- List every app that affects the storefront. Include chat, reviews, subscriptions, loyalty widgets, consent tools, personalization, pop-ups, search, analytics, advertising and affiliate tracking.
- Ask each vendor a precise question. Use the copy-paste message below rather than asking only whether the app is “compatible.”
- Check Theme settings → App embeds. Note which replacement embeds are available and enabled on the currently published theme. An embed enabled on a test theme is not automatically enabled on another published theme.[2]
- Record your baseline. Save screenshots or exports of recent analytics and conversion events before migration. This gives you something concrete to compare after the change.
- Test one integration at a time. Confirm visible widgets, add-to-cart behavior, consent states and tracking events before moving to the next app.
- Test the published theme. Previewing a development theme is useful, but Shopify notes that an app embed is active only on the theme where it was enabled.[2]
- Keep rollback information. Record the changed app, theme version, activation setting, test result and responsible person.
- Recheck after publishing a different theme. A replacement embed may need activation again when the live theme changes.
Copy-paste vendor questionnaire
We are preparing for Shopify’s storefront ScriptTag deprecation. Does your app currently create or update ScriptTag records with an
online_storeoralldisplay scope?If yes, have you released a theme app extension/app embed block or a Shopify web pixel as the replacement? Please identify the exact merchant activation steps, how we can confirm the replacement is active on our published theme, and when it is safe to remove the legacy script tag.
Please also confirm whether uninstalling and reinstalling the app after October 1, 2026 affects storefront features or tracking.
Developer migration sequence
Shopify’s recommended storefront sequence is deliberately cautious: build the replacement, direct the merchant to activate it, confirm it on the published theme, and only then delete the old script tag.[2]
- Audit the app’s script tags. Use the GraphQL
scriptTagsquery and identify each script’s purpose and display scope. - Classify each behavior. Route storefront functionality to an app embed block and pure analytics or conversion collection to a web pixel.
- Build and deploy the replacement. For storefront code, create a theme app extension with an app embed block.
- Provide an activation deep link. Send merchants directly into the theme editor with the app embed selected.
- Verify the published theme. Do not assume activation on one theme carries over to another.
- Prevent duplicate execution. Running a script tag and its replacement simultaneously can double-count analytics events or render UI twice.[2]
- Delete the legacy tag only after verification. Removing it too early can create a period in which neither implementation runs.
- Test install, upgrade, uninstall and theme-switch paths. The October change especially matters for new installs and workflows that previously created or updated a tag.
GraphQL audit example
The following query lists the script tags owned by the authenticated app. It is an inventory step, not a complete compatibility test:
query StorefrontScriptTags {
scriptTags(first: 100) {
nodes {
id
src
displayScope
cache
createdAt
updatedAt
}
pageInfo {
hasNextPage
endCursor
}
}
}
If hasNextPage is true, request the next page with the returned cursor. Classify records whose display scope includes the online store, map each URL to the feature it loads, and document the chosen replacement before deleting anything.
How to validate analytics after migration
A green app-install screen is not proof that marketing measurement works. Run a small, documented validation:
- open a clean browser session and apply the expected consent choice;
- perform a product view, add-to-cart and test checkout flow;
- use the relevant platform’s debugging or real-time event view;
- check that each intended event appears once, not zero times or twice;
- repeat on mobile and desktop;
- repeat after publishing or switching the live theme;
- compare event names and required parameters with the pre-migration baseline.
Do not delete the old script tag merely because the new extension deployed successfully. Shopify explicitly tells developers to confirm that the replacement is running first.[2]
Special case: admin-created custom apps
Apps created directly in Shopify admin cannot use app extensions, so they cannot use theme app extensions or web pixels as a direct replacement. Shopify’s guidance depends on who maintains the integration: a developer may need to move the script into the theme, an agency may need to build a replacement, or a third-party service may need to release a proper app.[2]
Treat direct theme editing as a last resort. Shopify warns that code placed in the theme remains after the app is removed and that code-editor changes can take a theme off its automatic upgrade path.[2]
What does not happen on October 1?
- Existing storefront script tags do not all stop running on October 1.
- Pinning an older Admin API version does not preserve create or update access.
- Read and delete access does not disappear with the create/update block.
- The final storefront execution cutoff is March 1, 2027.[1]
Frequently asked questions
Will Shopify script tags stop working on October 1, 2026?
Not all existing storefront tags. Shopify says creation and updates stop on October 1, while existing tags continue running until March 1, 2027.[1]
Can an app avoid the deadline by using an older API version?
No. Shopify says the create/update restriction applies across all API versions.[2]
What replaces a Shopify script tag?
Use an app embed block for JavaScript that runs on storefront pages, or a web pixel when the script only collects analytics, conversions or customer-behavior data.[1]
Does a merchant need to activate an app embed block?
Yes. App embed blocks are inactive until a merchant enables them, and they are enabled per theme. Web pixels do not require this theme-editor activation.[2]
Can developers still audit and delete old script tags?
Yes. Shopify says the scriptTags query and scriptTagDelete mutation remain available.[1]
Last checked: September 22, 2026. This guide covers Shopify’s storefront ScriptTag deprecation; order-status customizations have a separate migration path.