Build on it
BetaAsk the runtime, instead of guessing.
A small API over the consent state: what is allowed now, a callback when that changes, a way to open the preference centre, and a helper to run code only once a category is permitted.
JavaScript SDK
- Current state
- Change subscription
- Open preference centre
- Run-when-allowed helper
How it helps
What you get with JavaScript SDK
Deterministic for your own code
Gating your analytics call behind a state check beats hoping an interceptor caught it.
Events, not polling
Subscribe to changes so a withdrawal reaches your code immediately.
Frozen when it is ready
The public surface is published when it is stable. A conceptual API in marketing copy that then changes is a broken promise in someone's codebase.
Developer & Platform
The rest of Developer & Platform
SDK, API, webhooks, CMS integrations and native website-builder support.
REST API
Versioned endpoints for sites, scans, trackers, manifests, policies and integrations.
Learn moreWebhooks
Signed events for scans, discovered trackers, published policies and failing health checks.
Learn moreWebsite Builders
Components declare their privacy impact; the Consent Manifest is generated at build time.
Learn moreCMS Integrations
WordPress, Shopify and Webflow over the same core API and runtime.
Learn moreAgency Management
Client organizations, reusable policies, roles, fleet reporting and site handover.
Learn moreKnow what runs before you ask visitors to trust it.
Start with a scan of what your website loads today. The list is usually longer than the team expects, and that is the useful part.
No code to install for a scan Public pages only DotCensus runs on DotCensus