Use reset() to clean all local storage and release the initialized instance. You will need to initialize the SDK again after a reset. Make sure you validate the expected behaviour, before using reset in production.
Explicit: Consent was collected from a explicit action from the user. e.g. Button action.
Implicit: Consent was collected without a explicit action of the user. e.g User can close or ignore the banner without giving a choice. Please make sure you consult with your Data Protection Officer before using this case.
Explicit: Consent was collected from a explicit action from the user. e.g. Button action.
Implicit: Consent was collected without a explicit action of the user. e.g User can close or ignore the banner without giving a choice. Please make sure you consult with your Data Protection Officer before using this case.
List of every service's templateID and the consent as a Bool.
consentType
Enum
Explicit: Consent was collected from a explicit action from the user. e.g. Button action.
Implicit: Consent was collected without a explicit action of the user. e.g User can close or ignore the banner without giving a choice. Please make sure you consult with your Data Protection Officer before using this case.
Layer in which consent was collected: firstLayer: First banner layer. secondLayer: Second banner layer.
consentType
Enum
Explicit: Consent was collected from a explicit action from the user. e.g. Button action.
Implicit: Consent was collected without a explicit action of the user. e.g User can close or ignore the banner without giving a choice. Please make sure you consult with your Data Protection Officer before using this case.
Layer in which consent was collected: firstLayer: First banner layer. secondLayer: Second banner layer.
consentType
Enum
Explicit: Consent was collected from a explicit action from the user. e.g. Button action.
Implicit: Consent was collected without a explicit action of the user. e.g User can close or ignore the banner without giving a choice. Please make sure you consult with your Data Protection Officer before using this case.
List of every purpose and specialFeature with values for consent and legitimate interest as Bool and respective Vendors.
fromLayer
Enum
Layer in which consent was collected: firstLayer: First banner layer. secondLayer: Second banner layer.
decisions
[UserDecision]
List of every service's templateID and the consent as a Bool.
consentType
Enum
Explicit: Consent was collected from a explicit action from the user. e.g. Button action.
Implicit: Consent was collected without a explicit action of the user. e.g User can close or ignore the banner without giving a choice. Please make sure you consult with your Data Protection Officer before using this case.
Pass the user's response to the statement: "Do Not Sell My Personal Information". True: Do not track or sell user's information. False: You are allowed to track and sell user's information.
consentType
Enum
Explicit: Consent was collected from a explicit action from the user. e.g. Button action. Implicit: Consent was collected without a explicit action of the user. e.g User can close or ignore the banner without giving a choice. Please make sure you consult with your Data Protection Officer before using this case.
True, if consent has never been collected or some service has changed thus requiring a consent update. False, if consent has been collected and no update is required.
A Usercentrics generated ID, used to identify a unique CMP configuration.
defaultLanguage
String
Selected based on our language selection hierarchy. This property defines the language used to render the banner. e.g. "en", "de", "fr".
version
String
To freeze the configuration version shown to your users, you may pass a specific version here. You may find an overview of all versions in the Admin Interface under Configuration > History > Settings History > Version (Column) or Implementation > Script Tag > Version History. e.g. "3.0.4". Passing "latest" (default) will fetch the latest version of your CMP configuration. Passing "preview" will fetch the latest draft of your CMP configuration.
timeoutMillis
Int
Timeout for network requests in milliseconds. We do NOT recommend overwriting this field unless absolutely necessary or for debugging reasons, as well as using any values under 5,000 ms. Default is 10,000 ms (10s).
loggerLevel
Enum
Provides a set of logs for operations being executed in the SDK. debug: includes every other level, warning: non-problematic operations, error: relevant logs to any blocking problems and none (default).
rulesetId
String
A Usercentircs generated ID, used to identify a bundle of CMP configurations to be used depending on the user's location.
consentMediation
Bool
Enable Consent Mediation, an automated way to pass consent to 3rd party frameworks.
True, if consent has never been collected or some service has changed thus requiring a consent update. False, if consent has been collected and no update is required.
The country associated with the User's IP address. This is a Unicode CLDR region code, such as US or FR. (For most countries, these codes correspond directly to ISO-3166-2 codes.
regionCode
String
Region, e.g. a province or state, of the country associated with the User's IP address. This is a Unicode CLDR subdivision ID, such as USCA or CAON. (These Unicode codes are derived from the subdivisions defined by the ISO-3166-2 standard.