---
title: ScriptTag - GraphQL Admin
description: >-
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 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.
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.
api_version: 2026-01
api_name: admin
type: object
api_type: graphql
source_url:
html: 'https://shopify.dev/docs/api/admin-graphql/latest/objects/ScriptTag'
md: 'https://shopify.dev/docs/api/admin-graphql/latest/objects/ScriptTag.md'
---
# ScriptTag
object
Requires `read_script_tags` access scope.
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](https://shopify.dev/apps/online-store#what-integration-method-should-i-use).
Script tag deprecation
Script tags will be sunset for the **Order status** page on August 28, 2025. [Upgrade to Checkout Extensibility](https://www.shopify.com/plus/upgrading-to-checkout-extensibility) before this date. [Shopify Scripts](https://shopify.dev/docs/api/liquid/objects#script) 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.
## Fields
* cache
* createdAt
* displayScope
* id
* legacyResourceId
* src
* updatedAt
***
## Map
### Fields and connections with this object
* [ScriptTagConnection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/ScriptTagConnection#returns-nodes)
* [ScriptTagEdge.node](https://shopify.dev/docs/api/admin-graphql/latest/objects/ScriptTagEdge#field-ScriptTagEdge.fields.node)
***
## Queries
* scriptTag
* scriptTags
***
## ScriptTag Queries
### Queried by
* [scriptTag](https://shopify.dev/docs/api/admin-graphql/latest/queries/scriptTag)
* [scriptTags](https://shopify.dev/docs/api/admin-graphql/latest/queries/scriptTags)
***
## Mutations
* scriptTagCreate
* scriptTagUpdate
***
## ScriptTag Mutations
### Mutated by
* [scriptTagCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/scriptTagCreate)
* [scriptTagUpdate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/scriptTagUpdate)
***
## Interfaces
* LegacyInteroperability
* Node
***
## ScriptTag Implements
### Implements
* [LegacyInteroperability](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/LegacyInteroperability)
* [Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node)