Skip to main content

c15t vs react-cookie-consent

Choose c15t when a React application needs consent rules, vendor controls and backend records beyond an accept-and-decline banner.

Get started

Choose c15t when consent controls product behaviour.

c15t is the stronger fit when consent determines which vendors and features can run. It combines the banner, preferences, policy state and vendor integrations with a record backend.

react-cookie-consent gives you a customisable React bar, cookie helpers and callbacks. It is a useful small component when your application already owns the rest of the consent system.

<include src="../shared/comparisons/inth-hosting.mdx" />

Compare what your team must build.

What you needc15treact-cookie-consent
Show a consent bannerPolicy-aware framework componentsConfigurable React bar
Offer category and vendor preferencesBuilt-in controlsBuild the rest of the preference flow
Decide whether a feature can runEffective permissions and vendor stateConnect callbacks and the cookie value to your own rules
Control vendor scriptsRegistered integrations and consent rulesBuild the loader behaviour around callbacks
Keep remote recordsInth hosts the backend and stores records in its database. Self-hosting is optionalBuild a backend integration
Handle policy changesPolicy resolution and recorded choicesSupply your own policy logic
Reopen preferencesPreference dialog and persistent accessVisibility and cookie-reset helpers
Customise presentationThemes, component parts or headless UIStyles, classes, content and button props

Sources: README and npm package.

Custom application code can extend the component. Those extensions are work that the component itself does not supply.

Connect the choice to the vendor.

With c15t, your team can read whether a feature can run from the same state that drives the consent interface. Register analytics or embeds through c15t integrations.

This gives the application a shared model for first visits, saved choices and later withdrawal. You still need to remove unconditional loaders.

A callback that starts analytics after acceptance also needs to handle rejection, reload and withdrawal. c15t supplies those integration points as part of its consent runtime.

Moving off react-cookie-consent across many sites?

Inth builds c15t and runs migrations for large teams, from the first audit to the day you remove the old script.

Talk to Inth

Install c15t. Get 42 integrations.

c15t maintains each typed helper. Most helpers load their vendor only after consent, and stop it when the visitor withdraws consent.

Import each helper from @c15t/integrations.

Browse the integrations

Start in minutes.

Paste this line into your agent. It reads the setup brief and does each step.

Ask your coding agent
Set up c15t in my app: c15t.com/SKILL.md

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.

Inth hosts the backend, the policy rules and the IAB CMP ID.

Compare c15t with your consent tool.

The facts about each tool come from its own published pages.

Read the comparison overview