Configuration options
Default configuration
{
"userPreferences": {
"cookieName": "cookie-preferences",
"cookieExpiry": 365,
"cookieSecure": false
},
"preferencesForm": {
"class": "cookie-preferences-form"
},
"cookieBanner": {
"class": "cookie-banner",
"showWithPreferencesForm": false,
"actions": [
{
"name": "accept",
"buttonClass": "cookie-banner-accept-button",
"confirmationClass": "cookie-banner-accept-message",
"consent": true
},
{
"name": "reject",
"buttonClass": "cookie-banner-reject-button",
"confirmationClass": "cookie-banner-reject-message",
"consent": false
},
{
"name": "hide",
"buttonClass": "cookie-banner-hide-button"
}
]
},
"cookieManifest": [],
"additionalOptions": {
"defaultConsent": false,
"deleteUndefinedCookies": false,
"disableCookieBanner": false,
"disableCookiePreferencesForm": false
}
}