Untitled

Info

Must be used within a ConsentManagerProvider. Throws an error if used outside the provider.

State Properties

Loading…

Action Methods

Loading…

Key Types

ConsentState

A record mapping consent category names to their boolean values:

ConsentInfo

Metadata about when and how consent was recorded:

LocationInfo

Detected geographic location from the c15t backend:

Model

The active consent model:

  • 'opt-in' — Explicit consent required before tracking (GDPR)
  • 'opt-out' — Tracking allowed by default, user can opt out (CCPA)
  • 'iab' — IAB TCF 2.3 compliance mode
  • null — No jurisdiction detected yet