Toggles

Service Configuration - Toggles Tab

Toggles

Required

required

required
type

boolean

Default

false

If required is set to true, Klaro will not allow this service to be disabled by the user. Use this for services that are always required for your website to function (e.g. shopping cart cookies).

Opt-Out

opt_out

opt_out
type

boolean

Default

false

If optOut is set to true, Klaro will load this service even before the user has given explicit consent. We strongly advise against this.

Only Once

only_once

only_once
type

boolean

Default

false

If onlyOnce is set to true, the service will only be executed once regardless how often the user toggles it on and off. This is relevant e.g. for tracking scripts that would generate new page view events every time Klaro disables and re-enables them due to a consent change by the user.