Overview
Warning
Must be used within a ConsentManagerProvider. Throws an error if used outside the provider.
State Properties
Warning: ExtractedTypeTable: Could not extract "StoreRuntimeState" from "./packages/core/src/store/type.ts" using base path "/vercel/path0/apps/c15t-docs/.leadtype/c15t". Verify the path/name and that the file is included by your tsconfig.
Action Methods
Warning: ExtractedTypeTable: Could not extract "StoreActions" from "./packages/core/src/store/type.ts" using base path "/vercel/path0/apps/c15t-docs/.leadtype/c15t". Verify the path/name and that the file is included by your tsconfig.
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 modenull— No jurisdiction detected yet