跳到内容

Consentful — Cookie Consent

v0.4.4

The Plugins Company · 2026年10月16日 上架

Lightweight cookie consent banner with Google Consent Mode v2 and real script blocking. GDPR and CCPA ready.

正在使用
10 以下
评分
暂无
累计下载
376
最近更新
2026年11月19日
需要 WordPress 6.3+已测试到 7.1.5PHP 7.4+

截图

The banner on a live site. Trackers stay off until the visitor chooses.
The banner on a live site. Trackers stay off until the visitor chooses.
Scripts tab: pick the trackers that wait for consent.
Scripts tab: pick the trackers that wait for consent.
Consent Mode tab: Google Consent Mode v2 signals, denied by default.
Consent Mode tab: Google Consent Mode v2 signals, denied by default.
The consent banner with Reject all next to Accept all.
The consent banner with Reject all next to Accept all.

Consentful adds a cookie consent banner to your WordPress site that blocks tracking scripts until visitors agree and tells Google what they chose through Consent Mode v2.

You design the banner in wp-admin. When you publish, the plugin loads the banner script, which ships inside the plugin, on your site with your settings.

  • Compliant by default. Opt-in consent for GDPR, opt-out for CCPA, or Auto to switch by visitor region. Reject all sits next to Accept all, nothing is pre-ticked, and Global Privacy Control and Do Not Track are respected.
  • Real script blocking. Trackers such as Google Analytics, Meta Pixel and Hotjar stay off until their category is allowed, then start with no page reload.
  • Embeds held until consent. Turn on embed blocking and YouTube, Vimeo, TikTok, Instagram, X, Facebook, Spotify, Google Maps and other embeds show a “Load content” placeholder until the visitor allows their category.
  • Google Consent Mode v2, built in. Ad and analytics signals are set to denied before Google tags load and updated when a visitor chooses.
  • Tracker detection. The plugin reads your list of active plugins to suggest which trackers to manage.
  • Private. Visitors’ choices stay in their own browser. They are never sent to Consentful’s servers.

Free and paid plans

Consentful is free on preview and staging sites (localhost, *.local and *.test, WP Engine staging addresses, staging., dev., demo., test. and preview. subdomains, and bare IP addresses), with no key. A live domain needs a plan: activate a license key from consentful.theplugins.co to show the banner there. Sites activated with a free key before 21 November 2026 keep the free banner on their live domain.

  • Free (preview and staging sites): GDPR and CCPA consent, Google Consent Mode v2, script and embed blocking by category, and a Consentful-branded bottom bar with the standard English wording and the four standard categories.
  • Paid plans: every layout and theme, your own wording in 29 languages, custom categories, custom CSS (scoped to the banner; it can’t load anything from other sites), geo-targeting (automatic opt-in or opt-out by region), a preference center with per-service toggles, multiple languages, A/B consent-rate testing, consent insights, a cookie- and privacy-policy generator, a WCAG 2.1 AA accessibility check, plus extra sites on any paid plan ($5/month or $49/year each). Every plan shows a small “Powered by Consentful” credit.

Consentful is an independent product of The Plugins Company. It is not affiliated with, endorsed by or sponsored by Google, Meta or Hotjar.

External services

Consentful licensing service

The plugin uses Consentful’s licensing service at consentful.theplugins.co, operated by The Plugins Company.

  • From wp-admin: when you activate a key, and again when the settings screen opens to re-check it, the plugin sends your license key and your site’s domain. No site content is sent.
  • From your site: the banner sends your site’s domain to check which plan is active, and loads its language packs and images from cdn.jsdelivr.net. Visitors’ consent choices are never sent.
  • Terms of Service, Privacy Policy.

Google tag (gtag.js), only if you enable it

If you enter a Google tag ID (for example a GA4 measurement ID) in the plugin’s Consent Mode settings, the banner loads Google’s tag script for you. It stays blocked until the visitor allows the matching cookie category. With no tag ID set, nothing is loaded from Google.

  • What is sent, and when: after the visitor allows the category, their browser requests https://www.googletagmanager.com/gtag/js with your tag ID. From then on Google’s tag sends what Google Analytics / Google Ads normally collect (page address, IP address, browser details and the consent state).
  • Provider: Google LLC. Terms of Service, Privacy Policy.

Scripts you add yourself

Consentful blocks and unblocks the third-party scripts you list in the plugin (for example Google Analytics or Meta Pixel). Those scripts load from their own providers only after a visitor allows their category, and those providers’ terms apply. The plugin’s list of known trackers only fills in a script address and a privacy-policy link when you pick one. It loads nothing by itself.

Source code

The admin screen (assets/consentful-admin.js) and the banner script (assets/runtime/consent.min.js) are compiled bundles. Their source is at https://github.com/thepluginsco/framer-cookie-consent (apps/wordpress-plugin, shared-ui, shared, runtime).

Bundled fonts: Plus Jakarta Sans and JetBrains Mono (SIL Open Font License 1.1), Material Symbols (Apache License 2.0).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums