Skip to content

ConsentState

What ebitex decided about recognising this visitor, and why.

messages: ConsentMessages


policyVersion: number

The version of the organization’s consent settings this answer was made under.


recognition: "granted" | "denied"

'granted' when this device may be recognised on a later visit. Only then is the token kept.


source: string

What decided it: your consent tool ('cmp'), the browser ('globalPrivacyControl', 'doNotTrack') or the organization’s default ('organizationDefault').


tokenKind: "recognition" | "session"

'recognition' tokens may outlive a visit. 'session' tokens expire a few hours after they are issued, whatever the visitor does, and are never kept across visits.


tokenLifetimeSeconds: number

How long the token is good for, in seconds. The default cookie storage uses it as the cookie’s lifetime.