ScriptTag

Required access

read_script_tags access scope

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.

Show definition
# 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.
type ScriptTag implements Node {
  # Globally unique identifier.
  id: ID!

  # The date and time when the script tag was created.
  createdAt: DateTime!

  # The page or pages on the online store that the script should be included.
  displayScope: ScriptTagDisplayScope!

  # The URL to the remote script.
  src: URL!

  # The date and time when the script tag was last updated.
  updatedAt: DateTime!
}

Implements

Fields

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.

id   (ID!)

Globally unique identifier.

src   (URL!)

The URL to the remote script.

updatedAt   (DateTime!)

The date and time when the script tag was last updated.

Sign up for a Partner account to get started.

Sign up