Linux 软件免费装
Banner图

CookieBoss: Cookie Consent & GDPR Compliance

开发者 cookieboss
更新时间 2026年11月4日 12:48
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

privacy gdpr cookie consent cookie banner consent mode v2

下载

1.2.2 1.2.1 1.1.1 1.2.0

详情介绍:

A free GDPR cookie banner that works the moment you activate it. Your visitors see a consent banner in your site's language with Accept, Reject and Manage choices, Google Consent Mode v2 is set before your Google tags load, and WooCommerce cart and checkout keep working. No account, no setup, and the default banner is served from your own site without contacting any outside service. It is one small deferred script. CookieBoss is a Cookiebot alternative run by an EU company: start without an account, and connect one when you want cookie scanning, your own banner design and consent statistics. Free, without an account What connecting a CookieBoss account adds The "Connect to CookieBoss" button links a free account in one click (sign in or sign up in a popup, no credit card). Your site then loads its own banner, compiled for your settings, from the CookieBoss CDN. Paid plans start at €9/month and add more banner languages, more frequent scans and removal of the "Powered by CookieBoss" link. From the Pro plan: geo rules (opt-in for EU visitors, other rules where the law allows them) and Google Consent Mode v2 verified on your live site. From the Business plan: A/B tests of banner variants, measured on your own traffic with significance testing, so you can raise your consent rate within the law. Plans and limits are at cookieboss.io/pricing. Compliance by design A banner is one part of compliance. You still need a cookie policy that lists the cookies your site uses; the CookieBoss scanner helps you build that list. Languages The banner text ships in 53 languages, including all 24 official EU languages, and follows each page's language automatically. With a connected account the banner uses the languages you set up in the dashboard: one on the free plan, as many as you need on paid plans. The plugin's admin screens can be translated through translate.wordpress.org. Automatic script blocking When Blocking Mode is on, the plugin rewrites the script tags of known tracking services so they don't run until the visitor consents: Scripts loaded through WordPress's script system are recognised by their handle or source URL. Code pasted straight into a theme or a header/footer plugin is not rewritten; give such a script type="text/plain" and data-cookieconsent="analytics" (or marketing, functional) and the banner runs it after consent. See the "External services" section below for the CookieBoss endpoints this plugin contacts.

安装:

  1. In WordPress, go to Plugins → Add New, search for "CookieBoss" and click Install Now, then Activate.
  2. The consent banner is now live on your site, and a short setup wizard opens.
  3. Wizard step 1: check the recommended settings (Google Consent Mode v2 on, Blocking Mode off, Admin Preview on) and click Save & Continue.
  4. Wizard step 2, optional: click "Connect to CookieBoss" to link a free account, or choose "Maybe later: keep the default banner".
  5. Wizard step 3 shows your site with the banner. You can change everything later under Settings → CookieBoss.
To install manually, upload the plugin folder to /wp-content/plugins/ and activate it on the Plugins screen.

屏幕截图:

  • The same banner on a phone.
  • Manage Preferences: every optional category is off until the visitor turns it on.
  • Setup wizard, step 1: the banner is already live, no account needed. Recommended settings are pre-filled.
  • Setup wizard, step 2 (optional): connect a free CookieBoss account for scanning, your own design and statistics.
  • Cookie scan results in the CookieBoss dashboard: the cookies found on your site, categorised.
  • Google Consent Mode v2 verified on the live site (Pro plan and up).
  • Consent statistics in the CookieBoss dashboard: banner views, consent rate, Accept All and Reject All.
  • A WooCommerce shop with the banner; cart and checkout keep working.
  • Settings → CookieBoss in WordPress: banner, Blocking Mode, Google Consent Mode v2 and the built-in scanner.

升级注意事项:

1.2.2 Video and map embeds can wait for consent on sites with Full blocking, and admin messages now appear in your language. 1.2.1 Visitors can save their own category choices in the centred banner layout, and the default buttons meet WCAG AA contrast. 1.2.0 A consent banner from the moment you activate, no account needed. Fixes a bug where saving settings could switch the banner off. Never connected an account? Your site now shows the default banner; turn it off under Settings → CookieBoss. 1.1.1 Guided first-run setup wizard, a migration prompt for switchers, and hardened compatibility with caching/optimization plugins. 1.1.0 One-click "Connect to CookieBoss": sign in (or sign up) via a popup, the plugin configures itself. No more copy-pasting Site IDs. 1.0.1 Smoother onboarding: Site ID auto-saves when verified, and the duplicate "Settings saved" notice is gone. 1.0.0 First release of CookieBoss for WordPress.

常见问题:

Do I need an account?

No. Without an account the plugin shows its default banner: opt-in for every visitor, in your site's language, with Google Consent Mode v2 and optional Blocking Mode, and nothing sent outside your site. Connect a free account (cookieboss.io/signup, no credit card) when you want your own banner design, cookie scanning and consent statistics.

Is it free?

Yes. The plugin and the default banner are free with no time limit. A free CookieBoss account covers one site; its banner uses one language and shows a small "Powered by CookieBoss" link. Paid plans start at €9/month for more languages, more frequent scans and no link; multi-domain plans start at €19/month. See cookieboss.io/pricing.

Does it support Google Consent Mode v2?

Yes, with or without an account. The plugin sets the Consent Mode v2 default state (all consent types denied, security_storage granted) in the page head before any Google tag loads, and the banner sends the update when the visitor chooses. Google requires Consent Mode v2 to use Google Ads measurement and personalisation for visitors in the EEA. Turn it off under Settings → CookieBoss if you set Consent Mode defaults elsewhere, for example in Google Tag Manager.

Does it work with WP Rocket and other caching plugins?

Yes. Page caching is no problem: the banner decides what to show in the visitor's browser, so a cached page works for everyone. The consent script and the Consent Mode defaults also carry the attributes that caching and optimisation plugins use to leave a script alone (data-cfasync="false", data-no-optimize, data-no-minify, data-no-defer, data-noptimize). LiteSpeed Cache, Autoptimize, SiteGround Optimizer and Cloudflare Rocket Loader respect these. If a "delay JavaScript" setting still holds the banner back, exclude it by hand. Use the keyword cookieboss, which matches the script both before connecting (served from your site) and after (served from cdn.cookieboss.io), and wait_for_update, which matches the Consent Mode defaults:

  • WP Rocket, File Optimization: add both keywords to "Excluded JavaScript Files" and to the "Delay JavaScript execution" exclusions.
  • LiteSpeed Cache, Page Optimization → JS Settings: add both to "JS Excludes", and to "JS Deferred / Delayed Excludes" if enabled.
  • W3 Total Cache, Performance → Minify: add the CookieBoss script to "Never minify the following JS files".
  • Autoptimize, JavaScript Options: add cookieboss, wait_for_update to "Exclude scripts from Autoptimize".
This matters: the banner and the Consent Mode defaults must run before other scripts to hold cookies back.

Is my data stored in the EU?

Without an account, there is no data to store: the banner runs on your site and the visitor's choice stays in a cookie in their browser. With a connected account, consent data is stored on Cloudflare with the database region-pinned to the EU (Western Europe). The service is operated by Transformination OÜ, a company registered in Tallinn, Estonia, which acts as your data processor; a Data Processing Agreement is available. The banner script itself is delivered from Cloudflare's global network so it loads fast everywhere.

How is this different from Cookiebot or CookieYes?

All three put a consent banner on your site and support Google Consent Mode v2. What sets CookieBoss apart:

  • The banner works without an account, and the default banner makes no external requests at all.
  • Connected sites load a script compiled for their own settings, so visitors download only what that site uses.
  • It is run by an EU company, with consent data stored in the EU.
  • Its focus is your consent rate within the law: consent statistics on every account, and A/B tests of banner variants with significance testing on the Business plan.
  • If you already use Cookiebot or Cookie Information, the plugin's import wizards bring your configuration over.
Which suits you best depends on your site; you can try CookieBoss without an account and keep your current tool running until you switch.

Will it slow down my site?

The script loads with defer, so it does not block page rendering. The default banner is a single file served from your own site: about 30 KB compressed, most of which is the banner text in 53 languages; WordPress.org requires plugin code to be human-readable, so it is not minified. A connected site loads a minified script compiled for its own settings and languages, typically around 10 KB compressed.

What does Blocking Mode do?

When enabled, the plugin prevents known tracking scripts (Google Analytics, Meta Pixel and others) from running until the visitor consents to the relevant category. It changes their script type to text/plain and adds a data-cookieconsent attribute; the banner restores them after consent.

Where do I find my Site ID?

You don't need one: "Connect to CookieBoss" sets it for you. To enter it by hand, log in to app.cookieboss.io, open your site, and copy the Site ID from the Installation Script section.

Can I hide the banner while editing my site?

Yes. Enable "Admin Preview Mode" in the settings to hide the banner and unblock all scripts when logged in as an administrator. Visitors still see the banner normally.

Can I customize the banner design?

The default banner uses a neutral bottom-bar design. To change layout (bottom bar, modal, preference center), colours, texts or animations, connect a free account and edit the banner in the CookieBoss dashboard.

What is URL passthrough?

URL passthrough passes ad click information (gclid, dclid) through page URLs even when ad_storage consent is denied. This improves Google Ads conversion modeling without setting cookies.

What is ads data redaction?

When enabled, ad click identifiers are removed from network requests when ad_storage consent is denied. This provides stricter privacy but may reduce conversion modeling accuracy.

更新日志:

1.2.2 1.2.1 1.2.0 1.1.1 1.1.0 1.0.1 1.0.0