Your app might not pass App Store review if it uses script tags instead of theme app extensions. All new apps, and apps that integrate with Online Store 2.0 themes, should use theme app extensions, such as app blocks or app embed blocks. Script tags are an alternative you can use with only 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.
cache:
Boolean!
Whether the Shopify CDN can cache and serve the script tag.
If `true`, then the script will be cached and served by the CDN.
The cache expires 15 minutes after the script tag is successfully returned.
If `false`, then the script will be served as is.
createdAt:
DateTime!
The date and time when the script tag was created.
displayScope:
ScriptTagDisplayScope!
The page or pages on the online store that the script should be included.