c15t is a developer-first consent management platform (CMP) used by 2,100+ sites, including expo.dev, zed.dev, and unkey.dev. It helps JavaScript, React, and Next.js teams build cookie banners, preference centers, privacy preferences, and fully headless consent flows, with integrations for Google Tag Manager, Google Consent Mode v2, Meta Pixel, IAB TCF 2.3, and more.
Overview
c15t keeps consent management inside your application stack instead of a black-box third-party snippet. Use the prebuilt UI for cookie banners, consent dialogs, and preference centers, or use the headless APIs to build a fully custom consent experience.
c15t can run with a hosted backend on inth.com, a self-hosted consent backend, or offline/local-only mode for development, previews, and static deployments. Hosted and self-hosted modes support durable consent records, backend policy state, audit logs, and server-side visibility.
Why c15t
- Build cookie banners, consent dialogs, and preference centers for JavaScript, React, and Next.js
- Use prebuilt UI components, headless hooks, or framework-native primitives
- Gate analytics, ads, pixels, tag managers, and chat widgets behind consent
- Support Google Tag Manager and Google Consent Mode v2 without hand-rolling consent updates
- Manage Meta Pixel and other conversion pixels with marketing consent
- Add IAB TCF 2.3 support for programmatic advertising workflows
- Choose hosted on inth.com, a self-hosted backend, or offline mode
Integrations
Load analytics, pixels, tag managers, and widgets through c15t so consent state controls when they run. @c15t/scripts ships prebuilt, consent-aware loaders for dozens of tools, including:
- Google Tag Manager - loads at page start with Google Consent Mode v2 defaults set to denied; GTM-managed tags fire only once matching consent is granted (guide)
- Google Analytics 4 + Google Ads (gtag.js) - automatic Consent Mode v2 defaults and consent updates when users make a choice (guide)
- Conversion pixels gated behind marketing consent: Meta Pixel, TikTok Pixel, LinkedIn Insights, Microsoft UET (Microsoft Ads), X Pixel, Reddit Pixel, Snapchat Pixel
- Analytics gated behind measurement consent: Adobe Analytics, Amplitude, PostHog, Segment, RudderStack, Hightouch, Mixpanel, Microsoft Clarity, Hotjar, LogRocket, Plausible, Pirsch, Fathom, Matomo, Umami, Vercel Analytics
- Enrichment gated behind marketing consent: Clearbit
- Chat widgets gated behind functional consent: Intercom, Crisp
See the full integrations list.
Deployment Modes
- Hosted on inth.com - use a hosted c15t backend with hosted infrastructure, policy storage, audit history, and dashboard workflows
- Self-hosted backend - deploy @c15t/backend with your own database and infrastructure for full control
- Offline mode - store consent locally in the browser for local development, demos, previews, static sites, or controlled fallback scenarios
Talk
Watch the Next.js Conf 2025 talk: Why Your Consent Banner Should Be in Your Bundle.