ConsentX – Cookie Consent Banner for GDPR, DPDPA & Google Consent Mode v2

Опис

A cookie banner that works the moment you activate it, and holds your trackers back until visitors agree.

ConsentX shows a consent banner on your site, blocks third-party scripts, pixels and iframes until the visitor chooses, sends the right signals to Google tags, and records every decision in your own WordPress database so you have something to show if you are ever asked.

No account needed to start. No configuration needed to start. Activate it and your site is covered.

Why ConsentX

  • It works on activation. A compliant opt-in banner appears straight away, with sensible defaults for every region. Nothing to connect first.
  • The blocking is real. Trackers are held before they run, not asked to behave afterwards — a client-side guard catches scripts, pixels and iframes as the page builds them, including ones added by other plugins.
  • Your records stay yours. Every decision is written to your WordPress database. A free ConsentX account adds a copy held off your server, which is what you want if the server is ever the thing that fails.
  • It serves from your own domain. The banner is not a third-party script. A blocked or slow CDN cannot take your cookie notice off your site, and an ad blocker cannot either.
  • It is cache-safe. No consent or region state is baked into cached HTML, so it works with WP Rocket, LiteSpeed, W3 Total Cache, Cloudflare and the rest.
  • It looks like your site. Ten banner layouts and six colour schemes, chosen from live previews, with every colour and every word editable.

How it works

  1. Install and activate. Your banner is live. Opt-in for EU and UK visitors, opt-out for the US, strictest model when a location cannot be read — decided per visitor, automatically.
  2. Make it yours. ConsentX Banner: pick a shape and a colour scheme, edit the wording, watch the preview change as you type.
  3. Say what you use. ConsentX Compliance: tick analytics, advertising, functional or performance, and generate a Cookie Policy page with a live cookie table.
  4. Check it. ConsentX Overview presses your own home page the way a visitor would and tells you whether the banner is really in it.
  5. Optional: connect a free account for cloud-held records, automatic cookie scanning, consent history, data requests and managing several sites from one dashboard.

What you get, free

  • Consent banner — ten layouts and six colour schemes, picked from live previews; a full preference centre with per-category toggles; and a floating „manage consent“ button so visitors can change their mind.
  • Automatic script blocking — third-party scripts, pixels and iframes held before consent and released the moment the visitor accepts, plus optional blocking of your own enqueued handles.
  • Blocked-content placeholders — blocked YouTube, Maps and other embeds become tidy „click to accept“ boxes with per-service consent.
  • Google Consent Mode v2 — denied-by-default signals set before any tag and updated on the visitor’s choice. Cache-safe.
  • Region-aware consent — opt-in (GDPR, UK, EU, LGPD, POPIA, DPDPA) and opt-out (CCPA, Canada, Australia) resolved per visitor.
  • WP Consent API support — other consent-aware plugins can read your visitors’ choices through WordPress’s own standard, so they hold back when ConsentX says to.
  • Proof of consent — timestamped snapshots of exactly what you asked visitors to agree to, for each version of your policy.
  • Cookie-policy generator — a Cookie Policy and Privacy Statement with a live cookie table, plus [consentx-cookies], [consentx-manage-consent] and [consentx-revoke-link] shortcodes.
  • Consent records in WordPress — what your visitors actually chose, listed in wp-admin, with no account and nothing leaving your server.
  • Accessibility — focus-trapped dialogs, ARIA roles, full keyboard support and reduced-motion respect.

For agencies, hosts and anyone running more than one site

  • One dashboard for every site. WordPress, Wix, Shopify, Webflow, Squarespace and Framer in one place, with consent records, cookie scans and policy versions per site.
  • One banner design, shared. Set it once and it applies across the sites on your account — edit it in WordPress or in the dashboard, both show the same thing.
  • Connecting a site is one click. Approve it in ConsentX and you are returned to WordPress with the key already stored; no copying keys between tabs, no per-site account setup.
  • Nothing to install per client. The banner works the moment the plugin is activated, so a site is covered before anyone gets round to connecting it.

With a free ConsentX account

  • A copy of every consent record held in your ConsentX dashboard, exportable for an audit.
  • Automatic cookie scanning, synced into your local cookie list.
  • Consent history, data-subject requests (DSAR) and compliance reports.
  • Every site you run — WordPress, Wix, Shopify, Webflow, Squarespace, Framer — managed from one place, with one banner design shared between them.

Connecting takes one email address, and nothing is sent to ConsentX until you press the button.

Works with

Built to stay out of the way of the plugins you already run.

  • Caching and optimisation — WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, Autoptimize, Perfmatters, NitroPack, Cloudflare. No consent state in cached HTML, and our tags carry skip attributes so minifiers leave them alone.
  • Page builders and themes — Elementor, Divi, Beaver Builder, WPBakery, Bricks, Oxygen, Gutenberg and block themes.
  • Analytics and tags — Google Tag Manager, Google Analytics 4, Site Kit, Meta Pixel, Microsoft Clarity, Hotjar, Matomo, LinkedIn and TikTok pixels.
  • WooCommerce — store tracking is held before consent, including the Meta and Google Ads pixels that fire on product, cart and checkout pages, so a refused banner means a refused pixel. Cart and checkout behaviour itself is untouched.
  • Forms — Contact Form 7, WPForms, Gravity Forms, Elementor Forms: consent at the point of submission.
  • WP Consent API — ConsentX registers as the site’s consent manager, so plugins built against the standard get a real answer.
  • Multilingual — every string is translatable and the banner text is editable per language.

External services

This plugin can connect to ConsentX (https://consentx.io), the service this plugin is the
WordPress client for. What is sent, and when:

Before you connect — nothing leaves your site, and nothing is added to it: no banner, no
script blocking, no Consent Mode signal. One exception, in wp-admin only: opening the
ConsentX Plans screen fetches the public price list from
https://app.consentx.io/api/public/plans. That request is anonymous – it carries no site
address, no account and no visitor data – and the result is cached. Nothing is sent from the
front end of your site, and nothing is sent about your visitors.

When you press „Connect my site“ and give an email address — and only then — your server
posts that email, this site’s domain, its name, a one-time code, and this install’s banner
settings (its layout, colour scheme and the two lines of copy) and the names of its consent
categories, to https://app.consentx.io/api/public/sites/claim. The banner and category
details are what let your ConsentX dashboard show your own banner rather than a stock one;
they describe your configuration, not your visitors. ConsentX then makes one request back to this
site, to /wp-json/consentx/v1/verify, to check the code is really being served here: that is
what stops anyone from registering a domain they do not run. If the email is new, a ConsentX
account is created for it and you are emailed a link to set a password; if it already exists,
this site is added to it and the account holder is emailed to say so. What comes back is a site
key and an API token, which are stored in your WordPress options table. Nothing here happens on
activation, on a page load, or on any schedule – only when an administrator fills in that form.

After your site is linked, by that form or by pasting a site key into ConsentX Settings,
these requests begin:

  • Your server asks https://app.consentx.io/api/v1/me, /api/v1/cookies and /api/v1/consents
    for your account, your scanned cookie list and your stored consent records. These carry a
    scoped API token as an Authorization: Bearer header – a separate secret from the site key,
    issued to your account and stored only in your WordPress options table. Without that token
    these requests are never made.
  • If „push consent receipts“ is on, a visitor’s browser posts their consent choice to
    https://app.consentx.io/api/ when they accept or reject: the categories they
    chose, the time, the policy version, and the data your ConsentX dashboard shows as a consent
    receipt. This is the record that proves consent was given, which is the reason the service
    exists. Turn it off in ConsentX Settings and consent is stored only in the visitor’s browser.
  • If you switch rendering to „hosted“, the banner script is loaded from
    https://app.consentx.io/api//embed.js instead of from this plugin. Local
    rendering is the default and keeps all code inside WordPress.

The banner self-check is not an external request: it asks YOUR site for YOUR home page
(https://your-site/?consentx-selfcheck=…) and reads the HTML locally. Nothing about the
check, and nothing from the page, is sent to ConsentX.

Region detection never leaves your site: it reads the geo headers your own CDN or host already
sets, through this plugin’s own REST route. No visitor IP address is sent to ConsentX by this
plugin.

ConsentX terms of service: https://app.consentx.io/terms
ConsentX privacy policy: https://app.consentx.io/privacy

Постављање

  1. Install through Plugins Add New search for „ConsentX“, or upload the ZIP via Plugins Add New Upload.
  2. Activate it. Your banner is live from this moment — opt-in for visitors the law requires it for, opt-out for those it does not, and trackers held until they choose.
  3. Open your site in a private window to see it.
  4. ConsentX Banner to change the shape, the colours and the wording, with a preview that updates as you type.
  5. ConsentX Compliance to say what your site uses and generate a Cookie Policy page.
  6. Optional: ConsentX Overview Connect a free account for cloud-held records, cookie scanning, consent history and data requests. Nothing on your site changes when you do.

ЧПП

Do I need an account?

No. The banner, the script blocking, the preference centre, Google Consent Mode and the policy generator all work on a plain install, and every consent decision is recorded in your own WordPress database.

A free ConsentX account adds what one site cannot do for itself: a copy of each record held off your server, automatic cookie scanning, consent history, data-subject requests, and several sites managed from one dashboard. It is an upgrade, not a requirement. (Versions 2.7.0 to 2.9.14 did require it before the banner would appear. That was the wrong call and it is fixed.)

Where are my consent records kept?

In your WordPress database, in a table of the plugin’s own, listed under ConsentX Consent records. Nothing leaves your server unless you connect an account, and then it is a copy rather than a move — the local log keeps filling either way.

Is it really compliant without an account?

The banner asks properly, blocks before consent, offers refusal as easily as acceptance and keeps a timestamped record of what was asked and what was chosen. That is what the law asks of a consent notice. What a single WordPress cannot do on its own is survive its own server: if the site is lost, the records go with it, which is the honest argument for keeping a copy elsewhere.

Does it support the WP Consent API?

Yes. ConsentX registers as the site’s consent manager, answers wp_get_consent_type with the model your site runs, and publishes every decision through wp_set_consent(). Plugins built against the standard get a real answer instead of the „no consent plugin here, carry on“ default.

Will it slow my site down?

The front end is one small stylesheet and one script, served from your own domain, with no external requests and no render-blocking fonts. Nothing is written into cached HTML, so your page cache keeps working.

How do I know the banner is really live?

The plugin checks for you. After connecting – and whenever you press Check my banner on the Overview screen – it requests your own home page the way a visitor would, with no admin session, and looks for the banner in the HTML that comes back. If your home page loads but the banner is not in it, you are told that, with the usual cause (a page cache built before you connected). If your host blocks a server from fetching itself, you are told the check could not run – which is not the same as a broken banner, and is not reported as one.

Where is the banner’s code served from?

From your own domain. The plugin renders the banner, runs the blocker and drives Consent Mode inside WordPress; only consent records travel to ConsentX. So a slow or blocked CDN cannot take your consent notice off your site, and the design on the Banner screen is the design your visitors get – there is no second copy and no setting that decides between them.

Does it block scripts automatically?

Yes. Known third-party trackers, pixels and iframes are held before consent and released on acceptance. You can also list your own enqueued script handles to block.

Is it compatible with caching plugins?

Yes. No consent or region state is written into cached HTML — the banner reads consent client-side and resolves region via a lightweight request — and our tags carry optimizer-skip attributes so minify/defer plugins leave them alone.

Does it support Google Consent Mode v2?

Yes, natively and locally: denied-by-default signals are set before any tag and updated on the visitor’s choice.

Рецензије

Нема рецензија за овај додатак.

Сарадници и градитељи

„ConsentX – Cookie Consent Banner for GDPR, DPDPA & Google Consent Mode v2“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

Записник измена

2.9.15

  • The banner works on activation. No account, no connection, no setup: install the plugin and a compliant opt-in banner is live, holding trackers until visitors choose. Versions 2.7.0 to 2.9.14 showed nothing at all until the site was connected to a ConsentX account, which meant most people never saw the plugin do anything.
  • New: your consent records are listed in WordPress with no account. Every decision has always been written to this site’s own database; the screen that shows them used to say „not connected“ while that table filled up. The local log is your proof of consent, and an account now adds a copy held off your server rather than permission to keep one.
  • New: WP Consent API support. Other consent-aware plugins can read your visitors’ choices through WordPress’s own standard, so they hold back when ConsentX says to instead of falling through to „no consent plugin here, carry on“.
  • New: a listing banner and icon, and screenshots, so the plugin can be seen before it is installed.
  • Changed: the left menu no longer hides itself. It used to prune to two screens until you connected, which hid a working banner editor from everyone who had not.
  • Removed: the „Your banner is not live yet“ warning on every screen, which is no longer true.
  • Changed: the description, the title and the setup steps now lead with what the plugin does rather than with what it needs, and the listing says plainly what it offers an agency or a host running more than one site.

2.9.14

  • Changed: the Banner screen is now the only place your banner is designed, and what you save there is what your visitors see. The setting that could hand the design to your ConsentX dashboard instead is gone, along with the three notices that existed to tell you which of the two copies was live. Editing the banner in your dashboard still works and still reaches this site.
  • Fixed: „Saved. Visitors still see your ConsentX dashboard design“ after saving the banner. Saving the banner now updates the banner.
  • New: Compliance has a screen of its own, between Categories and Consent records. It used to be a second form at the foot of Settings, where its Save button did something quite different from the one above it – it republishes your policy pages and starts a new consent policy version.
  • Fixed: the organisation name and privacy contact email arrived pre-filled with your site title and admin address, which look exactly like answers somebody gave. They start empty, and the policy-page generators now ask for them instead of publishing a document that names a guess as your data controller.
  • Changed: each banner shape now sits in one fixed place, and the „Corner“ control is gone. It applied to three of the ten layouts, so most of its answers did nothing, and the preview beside it never moved – Corner Toast, for one, drew bottom-right in the preview and bottom-left on the site.
  • Fixed: the live preview scrolled out of sight while you edited the text and behaviour below it. It now stays beside the form on wide screens, and scrolls inside itself if it is taller than your window.
  • Fixed: the ConsentX icon in the WordPress menu was blank. The stylesheet that paints it had PHP inside a nowdoc string, so the mark’s address was published to the browser as PHP source.

2.9.13

  • New: one banner, two places to edit it. Your design now lives in your ConsentX account, and the Banner screen reads it when you open it and writes it when you save. Change the banner here and it appears in your dashboard; change it there and it appears here. No syncing to start and nothing to click.
  • Changed: the Banner screen says which copy you are looking at. If your account cannot be reached it shows the last design it saw and tells you so, rather than presenting an old one as current.

2.9.12

  • Fixed: you could not get your WordPress banner design back. Several screens told you to change „Rendering mode“ on Settings, and the control was not there – it only appeared on older installs, as a one-way switch to the hosted widget. Settings now offers the choice in both directions, so the instructions are true and the design you pick here can be the one visitors see.
  • Fixed: paid features showed a padlock on accounts that had paid for them, and opened anyway when clicked. The padlock was drawn whenever your account could not be read, treating „we do not know“ as „no“. An unknown answer no longer locks anything.
  • Fixed: the Save bar and the live preview could slide under the WordPress admin bar on a narrower window. Both now track its actual height, which is not the same on every screen size.

2.9.11

  • Fixed: the ConsentX icon in wp-admin was a generic shield, not the ConsentX logo. The browser-tab icon on ConsentX screens is now the real mark, and the left-menu icon is a simplified version of it, drawn to stay legible at 20 pixels.
  • Fixed: the Overview could report „your banner is on your home page“ from a check made hours earlier, after the site key had stopped working. A stored success is now ignored once the key is known to be dead, so the screen tells you the truth on the first load rather than after you happen to visit another page.
  • Fixed: reconnecting left the old warning on screen. The stored check describes the key you just replaced, so it is now cleared whenever the key changes — no more success message sitting next to „your site key is no longer recognised“.
  • Fixed: Consent records, Reports and Cookie scan opened with „nothing is wrong with your banner“ and a raw server error underneath, when the real problem was that the site was no longer connected. They now say so plainly and offer a Reconnect button instead of a Try again that could never work.
  • Fixed: the plan shown on Overview could disagree with the Plans screen. Both now read the same source.

2.9.10

  • Fixed: the Overview screen said „Website connected“ with a green tick directly above a warning that visitors were getting nothing. Both could not be true. The heading now follows the worst thing the screen knows, so a broken connection looks broken before you read a word of it.
  • Fixed: a dead site key produced two separate warnings – „key not recognised“ and „your account could not be reached“ – which are one fault seen from two sides. Only the one that explains it is shown now.
  • Fixed: the warning told you to reconnect in Settings without giving you a way to get there. There is now a Reconnect this site button on the message itself.

2.9.9

A large release. Everything below is new since 1.0.2, the version most sites
are running; the 2.x work was developed and tested outside this listing, so it
is summarised here rather than listed release by release.

  • New: banner designer. Nine layouts, six colour schemes, your own wording, and a live preview — all inside WordPress.
  • New: cookie scanning. Finds the cookies your site actually sets and keeps your cookie table in step with them.
  • New: consent records. What each visitor chose, when, from which country, and the reference you would quote to a regulator.
  • New: data requests (DSAR), with the statutory deadline shown on each one.
  • New: cookie policy and privacy statement pages, generated and kept current with your cookie list.
  • New: categories and per-category script blocking, including your own enqueued handles.
  • Improved: Google Consent Mode v2 defaults are set before any tag fires, so a visitor’s choice is respected from the first page view.
  • Improved: the banner follows each visitor’s own law automatically — opt-in for the EU and UK, opt-out for the US, strictest model when a location cannot be read.
  • Improved: an installation check that fetches your home page AND the banner script, so „your banner is live“ means it is actually serving.
  • Security: all admin actions carry capability and nonce checks; all inline output goes through core’s enqueue and inline-script APIs.

Upgrading from 1.0.2 keeps your connection. Your site key and settings are read
from the same place and nothing on your site changes without you.

1.0.2

  • Fix: the connect callback URL is now built with a raw nonce. wp_nonce_url() HTML-encoded the ampersand (&), which corrupted the _wpnonce parameter on the return trip and failed the security check.

1.0.1

  • Fix: the „Connect to ConsentX“ button now reaches the authorize screen. The off-site redirect host is allowlisted (it was being dropped by wp_safe_redirect) and the callback URL is no longer double-encoded.

1.0.0

  • Initial release: 1-click connect, Google Consent Mode v2 defaults, optional pre-consent script blocking, and manual site-key fallback.