Anchor to ScriptTagInputScript
input_objectScript Tag Input
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.
Anchor to FieldsFields
- Anchor to cachecache•BooleanDefault:false
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. Iffalse, then the script is served as is. The default value isfalse.- Anchor to displayScopedisplay•Script
Scope Tag Display Scope The page or pages on the online store where the script should be included.
- •URL
The URL of the remote script. For example:
.
Was this section helpful?