Skip to main content

Additional configuration options

{
  additionalOptions: {
    defaultConsent: false,
    deleteUndefinedCookies: false,
    disableCookieBanner: false,
    disableCookiePreferencesForm: false
  }
}

Options

Within the cookie-manager config `cookieBanner’ subsection, the following options can be used:

defaultConsent

boolean, defaults to false

Default consent value when a user has not set any preferences.

Warning Setting this to true will go against GDPR/DPA regulations, use with caution.

deleteUndefinedCookies

boolean, defaults to true

Delete cookies that aren`t matched to any of the categories within the cookie manifest.

disableCookieBanner

boolean, defaults to false

Disables the cookie banner functionality and any listeners related to the cookie banner.

disableCookiePreferencesForm

boolean, defaults to false

Disables the cookie preferences form functionality and any listeners related to the preferences form.