Optional
cmpOptional
cmpIn this local storage item the queue of pending consents will be saved. See also persistConsent
.
The cookie needs to be built in this way: {consent-uuid1}[,{consent-uuid2}...]:{revision-uuid}:{consent-json-stringified}
.
Optional
failedWhen persistConsent
fails, it will save the given consent locally in local storage. This allows to respect the user
consent even when it could not be documented successfully.
Optional
gcmIs the Google Consent Mode activated?
Optional
persistA callback which receives a transaction (representing a user consent) as argument and it should save the
consent to the server. When it throws an error, it will be automatically added to a managed queue which
implements a lifecycle to retry the save procedure (see also CookieConsentManager#persistConsent
).
Optional
setCookies: booleanIf true
, the server response should return cookies, otherwise not. This is needed for persisting "old"
consents which were not saved due to a server error.
The consent UUID
Current revision hash.
Optional
skipOptional
supportsOptional
tcf
Currently, only two bits (https://git.io/JmuD0) can be saved to the
cmpVersion
, so we can only save the major version.