Skip to navigation

SrcScript

OBJECT
Represents a script loaded from an external source URL

Fields

srcStringRequired
The source URL where the script is located
entityIdStringRequiredformat: "uuid"
Unique identifier for the script
consentCategoryScriptConsentCategoryRequired

The consent category this script belongs to (e.g., Essential, Analytics)

Allowed values:
visibilityScriptVisibilityRequired
Where this script should be displayed in the storefront
Allowed values:
integrityHasheslist of ScriptHashesRequired
List of integrity hash values for security verification
locationScriptLocationRequired

Location in the page where the script should be placed (e.g., Head, Footer)

Allowed values: