Under 25KB — loads faster than most WP themes

Cookie consent for WordPress that doesn't tank your page speed

Most WordPress cookie plugins ship 80–200KB of JavaScript and a heap of PHP overhead. CookieBoss ships an edge-compiled vanilla-JS banner under 25KB — with Google Consent Mode v2 built in, automatic cookie scanning, and full WP Consent API compatibility.

GDPR, ePrivacy, CCPA WP Consent API WooCommerce-ready Works with WP Rocket & LiteSpeed

Why WordPress sites need a different CMP

WordPress runs 43% of the web. Most cookie consent plugins were built for it — and most of them slow it down.

Caching plugins fight back

Heavy CMP plugins inject inline scripts that break full-page caches and bloat HTML. CookieBoss is a single external <script> tag — cache-friendly by design.

Plugin updates pile up

Self-hosted CMPs need plugin updates for every security fix and config change. CookieBoss config pushes instantly from the cloud — the plugin almost never needs an update.

GTM & GCM v2 are mandatory

Google Consent Mode v2 has to fire before gtag.js. Most WP plugins get the order wrong and lose first-pageview attribution. CookieBoss fires GCM defaults inline before any tag loads.

WooCommerce + analytics

Cart-abandonment tools, Meta Pixel, GA4 ecommerce — all need consent state in milliseconds. CookieBoss exposes consent via the WP Consent API and via direct JS hooks for plugins that need it.

Install in under 5 minutes

Two options: install the WordPress plugin (recommended), or paste one script tag.

Option A — WordPress plugin

  1. Sign up at cookieboss.io/signup
  2. Install the CookieBoss plugin in WP Admin
  3. Click "Connect to CookieBoss" — OAuth handles the rest
  4. Banner appears on every page automatically
WordPress plugin docs

Option B — script tag

For headless WordPress, custom themes, or if you don't want a plugin: paste this in header.php or via a code-injection plugin.

<script
  src="https://cdn.cookieboss.io/s/YOUR-SITE-ID.js"
  defer>
</script>

What you get on the free tier

Edge-compiled script

Under 25KB, served from 300+ Cloudflare PoPs. Zero measurable Core Web Vitals impact.

Google Consent Mode v2

All 7 consent types. Fires before gtag.js. No first-pageview attribution loss.

Automatic cookie scanning

Detects GA4, Meta Pixel, Hotjar, WooCommerce, and 5,000+ known cookies.

WP Consent API

Native integration. Other consent-aware plugins receive signals automatically.

Shadow DOM banner

No CSS conflicts with your theme. Works with every popular WP theme.

GDPR + ePrivacy + CCPA

Geo-targeted defaults out of the box. EU sees opt-in, US sees opt-out.

Add to your WordPress site in 5 minutes

Free plan forever. 14-day Pro trial on every new account. No credit card required.