> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# SrcScript

GraphQL object

Represents a script loaded from an external source URL

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/objects/src-script

## Fields

- `src` — The source URL where the script is located
- `entityId` — Unique identifier for the script
- `consentCategory` — The consent category this script belongs to (e.g., Essential, Analytics)
- `visibility` — Where this script should be displayed in the storefront
- `integrityHashes` — List of integrity hash values for security verification
- `location` — Location in the page where the script should be placed (e.g., Head, Footer)

## Definition

```graphql
type SrcScript implements Script {
  src: String!
  entityId: UUID!
  consentCategory: ScriptConsentCategory!
  visibility: ScriptVisibility!
  integrityHashes: [ScriptHash!]!
  location: ScriptLocation!
}
```