Skip to content

ConsentMode

type ConsentMode = "consent" | "notice" | "always";

Defined in: types.ts:8

How a category should be treated for a given jurisdiction.

  • consent — must opt-in. Block tags until granted. (e.g. marketing under GDPR/PECR)
  • notice — show info + easy opt-out, but don’t block tags. (e.g. UK DUAA “statistical” analytics)
  • always — no consent or notice required. (e.g. necessary cookies)