Skip to navigation

InlineScript

OBJECT
Represents a script that contains inline JavaScript code

Fields

scriptTagStringRequired
The HTML script tag containing the inline JavaScript code
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: