Documentation

c15t vs CookieConsent v3

CookieConsent v3 is a lightweight, vanilla JavaScript consent plugin. Its docs cover categories, services, cookie cleanup, and Google Consent Mode.

c15t is the better starting point when a banner may need to grow into app state, backend records, script control, or framework integration. CookieConsent v3 is best kept to small vanilla JavaScript sites where consent can stay fully client-side.

Why c15t wins here

  • c15t works across JavaScript, React, and Next.js with the same consent model.
  • c15t supports hosted, self-hosted, custom backend, and offline browser modes.
  • c15t includes script loading, iframe blocking, network blocking, and policy packs.
  • c15t can keep durable consent records and server-visible consent state.
  • c15t gives teams a growth path from a simple banner to IAB TCF and regional policy handling.

Comparison

Areac15tCookieConsent v3
Primary shapeApplication consent platformClient-side JavaScript plugin
Framework supportJavaScript, React, and Next.js packagesApp-owned wrappers and callbacks
Backend recordsHosted or self-hosted recordsApp-owned if needed
Script controlLoader, iframe blocker, and network blockerCallback-based loading and cleanup
SSR awarenessAvailable through c15t framework packagesClient-side by default
Growth pathBanner, backend, policy packs, IAB TCF, and app stateBanner and preference UI first

Bottom line

Start with c15t even when the first requirement is a vanilla JavaScript banner. It keeps the simple path open while avoiding a later migration when consent needs to affect analytics, ads, embeds, regional policy, backend records, or app state.

See the full overview in Compare c15t.