c15t is the better choice for most production sites. It applies consent rules by region, so visitors outside opt-in regions do not wait behind a banner. Inth keeps your consent records. c15t also supports IAB TCF 2.4, Global Privacy Control and Google Consent Mode v2. With CookieConsent v3, you build most of these parts yourself. IAB TCF is not available.
CookieConsent v3 is a free browser library by Orest Bida, with an MIT licence. Its npm package is vanilla-cookieconsent. Its own documentation says that it is not a CMP, does not store consent records and does not support IAB TCF.
Start on Inth's free plan and follow the framework guide for your app.
| What you need | c15t | CookieConsent v3 |
|---|---|---|
| Apply different rules by region | Policy rules by country and US state. Inth or your backend finds the location | One mode for all visitors, opt-in by default. For a mode per country, you find the location yourself |
| Keep consent records on a server | Inth hosts the backend and keeps records in its database. Self-hosting is optional | Not included. Callbacks can send records to an endpoint that you build |
| Use IAB TCF | TCF 2.4 with the @c15t/iab add-on. Inth is a registered IAB Europe CMP, ID 490 | Not supported |
| Respect privacy signals | Reads Global Privacy Control. IAB GPP API for US state opt-outs | Not documented |
| Use Google Consent Mode v2 | Google tag and GTM integrations send the default and each update | Example code that you connect to its consent callbacks |
| Use consent in framework components | Native adapters and reactive consent state | Browser library, with framework setup recipes |
| Resolve consent in Next.js | Server, streamed and browser paths | Browser setup. Its React example starts in an effect |
| Translate the interface | Built-in copy in 53 languages, with your own i18n messages | No default translations. You supply each language |
| Show preferences | Category and vendor controls | Category controls and a switch for each service |
| Control scripts | Registered integrations, network request rules and embeds | Script attributes and service callbacks |
| Clear cookies after withdrawal | Optional rules for each category. A refusal for one vendor needs separate cleanup | Cookie cleanup for each category and service |
| Change the interface | Themes, component parts and headless APIs | Modal options, CSS and custom content |
| Licence and price | Apache 2.0, with no licence fee. Inth has a free plan and paid plans | MIT, with no licence fee. You pay to host any parts that you build |
| Install | c15t from npm, or @c15t/browser as a script tag | vanilla-cookieconsent from npm, or a CDN script |
Sources: introduction, setup, configuration, consent records, script controls, Google Consent Mode and the npm package.
CookieConsent v3 gives you a banner and switches in the browser. Your team builds and runs the rest:
- A location lookup, to apply different rules by region.
- A consent record endpoint and its storage, to prove what each visitor chose.
- Consent Mode code, to send the Google signals at the correct time.
- Language files, because the library has no default translations.
c15t and Inth include all four. CookieConsent does not support IAB TCF. If ad partners need a TC string from your site, CookieConsent cannot supply one.
<include src="../shared/comparisons/inth-hosting.mdx" />
When your policy lets scripts run before a choice in a region, c15t runs them there. You keep the analytics and ad data from those visitors. Visitors in opt-in regions still see the banner before optional scripts run.
c15t picks a policy rule for each visitor from their location. The recommendedPolicyRules() pack uses opt-in rules for Europe and Québec. It uses opt-out rules for supported US privacy states. Other known locations get no banner. A visitor from an unknown country gets strict opt-in.
Inth or your own backend finds the location. Browser-only mode does not find the visitor's country.
CookieConsent v3 does not find the visitor's location. Its default opt-in mode applies to all visitors. The banner shows to all visitors, also where your policy lets optional scripts run before a choice. Until those visitors accept, you lose their analytics and ad data.
Before you let categories run by default, compare the preset with how you use the data. A country match does not give a legal basis for a vendor's use of data.
Switch a category off. Its vendors wait.
44 of 44 running
Always loads and gets consent signals.
- Cloudflare Zaraz, always loads and gets consent signals
- Google Tag Manager, always loads and gets consent signals
- Sentry, always loads and gets consent signals
- Google Tag, always loads and gets consent signals
- Databuddy, always loads and gets consent signals
- Mixpanel, always loads and gets consent signals
- PostHog, always loads and gets consent signals
- Microsoft UET, always loads and gets consent signals
- Ahrefs Analytics
- Adobe Analytics
- Amplitude
- Cloudflare Web Analytics
- Microsoft Clarity
- Fathom Analytics
- Heap
- Matomo Analytics
- OneDollarStats
- Hotjar
- Hightouch
- LogRocket
- Plausible Analytics
- Promptwatch
- Pirsch
- RudderStack
- Segment
- Rybbit Analytics
- Umami Analytics
- Vercel Analytics
- Vercel Speed Insights
- Klaviyo
- Clearbit
- Meta Pixel
- OpenAI Pixel
- Pinterest Tag
- Reddit Pixel
- TikTok Pixel
- LinkedIn Insight Tag
- Snapchat Pixel
- X Pixel
- YouTube
- Crisp
- Front Chat
- Intercom
- Google Maps
Import each helper from @c15t/integrations.
Paste this line into your agent. It reads the setup brief and does each step.
The setup brief is at /SKILL.md. For the docs, agents can read /llms.txt and /llms-full.txt, or use the MCP server at with no sign-in.
The CLI plans the setup. You check the plan, then apply it.
To do each step yourself, read the quickstart for your framework. To get JSON results for scripts and agents, read the automation guide.
Inth hosts the backend, the policy rules and the IAB CMP ID.