trackkit / consent/types / ResolvedConsentOptions
Interface: ResolvedConsentOptions
Defined in: consent/types.ts:64
Extends
Required<Omit<ConsentOptions,"policyVersion">>
Properties
initialStatus
initialStatus:
ConsentStatus
Defined in: consent/types.ts:35
Initial consent status.
Inherited from
requireExplicit
requireExplicit:
boolean
Defined in: consent/types.ts:41
If true we start as 'pending' and require an explicit call to grant. If false we auto‑grant on first track (implicit consent).
Inherited from
ConsentOptions.requireExplicit
allowEssentialOnDenied
allowEssentialOnDenied:
boolean
Defined in: consent/types.ts:46
Determine if we allow essential events when consent is denied
Inherited from
ConsentOptions.allowEssentialOnDenied
disablePersistence
disablePersistence:
boolean
Defined in: consent/types.ts:56
Disable all persistence (always start fresh).
Inherited from
ConsentOptions.disablePersistence
storageKey
storageKey:
string
Defined in: consent/types.ts:61
Custom storage key for consent state
Inherited from
policyVersion?
optionalpolicyVersion:string
Defined in: consent/types.ts:65