---
title: "ScriptTagInput"
description: "ScriptTagInput"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/online-store/inputs/script-tag-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/online-store/inputs/script-tag-input.md'
---
# ScriptTagInput

ScriptTagInput

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Input

## Type Signature

`ScriptTagInput`

## Input Fields

* `displayScope`

  [ScriptTagDisplayScope](https://developer.shopline.com/docs/admin-graph-ql-api/online-store/enums/script-tag-display-scope.md)

  Script tag should be included on one or more pages in the online store.

* `src`

  [URL](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/url.md)

  The web address of the remote script. 

## Schema Definition

```graphql
input ScriptTagInput { 
	displayScope: ScriptTagDisplayScope
	src: URL 
}
```

## Argument from

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/online-store/mutations/script-tag-create.md).scriptTagCreate

  创建一个新的脚本标记。

* [Mutation](https://developer.shopline.com/docs/admin-graph-ql-api/online-store/mutations/script-tag-update.md).scriptTagUpdate

  更新脚本标记。

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

