Cookie Banner Settings Object
Properties
appEnabledbooleandeprecated - use enabled instead
audiencestringdeprecated
3 enum supported values:
unknown_audienceall_visitorseu_visitors
cookiePolicyRequirementApprovedboolean
Whether the site contributor has acknowledged the consent policy requirements.
declineAllConfigobject
Configuration settings for the "decline all" button.
expiryDatestringformat date-time
For internal use.
privacyPolicyPagestringdeprecated - use privacyPolicyLink instead
privacyPolicyTypestringdeprecated - use privacyPolicyLink instead
3 enum supported values:
unknown_privacy_policy_typepage_on_siteexternal_url
textsMap <string, string>format map
Texts to be displayed on the cookie banner. See Banner texts for details.
themestring
4 enum supported values:
unknown_themelightdarkcustom
Visual theme.
revisitSettingsConfigobject
Configuration settings for the "revisit settings" button.
customThemeConfigobject
Custom theme configuration.
enabledboolean
Whether the banner is activated.
privacyPolicyPageInfoobject
Location of the site's privacy policy.
Was this helpful?
Yes
No