Skip to main content
Anchor to ScriptTagDisplayScope

ScriptTagDisplayScope

enum

The page or pages on the online store where the script should be included.

Include the script only on the web storefront.

Deprecated valid values

•
Deprecated
•
Deprecated

Was this section helpful?

•OBJECT
Theme app extensions

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

Script tag deprecation

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

A script tag represents remote JavaScript code that is loaded into the pages of a shop's storefront or the Order status page of checkout.

•INPUT OBJECT

The input fields for a script tag. This input object is used when creating or updating a script tag to specify its URL, where it should be included, and how it will be cached.


Was this section helpful?