Script Tag Display Scope
The page or pages on the online store where the script should be included.
Anchor to Valid valuesValid values
- Anchor to ONLINE_STOREONLINE_
STORE Include the script only on the web storefront.
Deprecated valid values
- •Deprecated
- Anchor to ORDER_STATUSORDER_•
STATUS Deprecated
Anchor to FieldsFields
- •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 deprecationScript 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.