ScriptTagInput input object

Version unstable

Specifies the input fields for a script tag.

Input fields

  • 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.

  • displayScope (ScriptTagDisplayScope)

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

  • src (URL)

    The URL of the remote script.

Version 2021-10 (Release candidate)

Specifies the input fields for a script tag.

Input fields