Description
ConsentLab helps you comply with GDPR by displaying a customizable cookie consent banner on your WordPress site.
Connect the plugin to your free ConsentLab account, design your banner in the ConsentLab dashboard, and the plugin takes care of loading it on your site — no code required.
Features:
- Customizable banner (colors, texts, position) designed in the ConsentLab dashboard
- Google Consent Mode v2 support
- Script blocking by category (analytics, marketing)
- Auto-clear cookies on consent withdrawal
- Proof-of-consent storage and statistics dashboard
- Hide the banner for logged-in administrators
- Deferred script loading for performance
- Free plan available
External services
This plugin relies on the ConsentLab service to display the consent banner and to record consent. This connection is required for the plugin to function.
What it does and what data is sent:
- Loads the banner script from
https://cdn.consentlab.eu/widget/v1/consentlab.min.js. - Fetches your banner configuration from
https://api.consentlab.euusing your public API key. The same endpoint is called from your WordPress admin to display the connection status (project name and plan). - Sends visitors’ consent choices (categories accepted/refused, an anonymised consent id and timestamp) to
https://api.consentlab.eufor consent-proof storage and statistics.
The service is provided by ConsentLab.
- Terms of Service: https://consentlab.eu/fr/cgu
- Privacy Policy: https://consentlab.eu/fr/politique-confidentialite
Screenshots




Installation
- Upload the plugin files to
/wp-content/plugins/consentlab/, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to Settings > ConsentLab.
- Click “Connect with ConsentLab” — sign in (or create a free account), pick the project for this site, and the API key is configured automatically.
Alternatively, you can set it up manually: create a project at https://app.consentlab.eu, copy its API key, paste it in the plugin settings and save.
FAQ
-
Do I need a ConsentLab account?
-
Yes. The banner configuration (design, texts, cookie categories) is managed in the ConsentLab dashboard. A free plan is available — no credit card required.
-
Where are consent choices stored?
-
Consent choices are stored on ConsentLab’s servers in the European Union, as proof of consent required by GDPR. No personal data such as IP addresses is stored with the consent record.
-
Does the plugin slow down my site?
-
No. The banner script is a small file served from a CDN and is deferred by default, so it does not block page rendering.
-
Can I use the plugin on a staging site?
-
Yes. Endpoints can be overridden with the
CONSENTLAB_API_BASE,CONSENTLAB_CDN_URLandCONSENTLAB_DASHBOARD_URLconstants inwp-config.php(see the Environment panel in the plugin settings).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ConsentLab – GDPR Cookie Consent” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ConsentLab – GDPR Cookie Consent” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.3.0
- One-click “Connect with ConsentLab”: sign in, pick your project and the API key is configured automatically — no more copy-paste (secure OAuth Authorization-Code + PKCE flow).
- Manual API key entry is still available as a fallback.
1.2.0
- Live API key validation: the connection is now checked as you type, before saving.
- “Customize banner” now links straight to your project’s banner editor.
- Added a confirmation that the banner is live, with a link to view your site.
1.1.1
- Internal: widget asset renamed cookie-cmp.min.js -> consentlab.min.js (brand consistency)
1.1.0
- Renamed plugin slug and text domain to
consentlab(options are migrated automatically). - New settings screen: branded header, live connection status (project name and plan), onboarding for new users, quick links.
- Banner can be hidden for logged-in administrators.
- Endpoints overridable via constants, options or filters (staging support).
- Widget is now loaded through wp_enqueue_script with optional defer strategy.
1.0.0
- Initial release.
