EUCookieLaw
A Wordpress solution to the European Cookie Law Issue
Use with caution
EUCookieLaw works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 4.9/5 and was last updated 2 years ago, and scores 47/100 on our health check.
- Small user base (200+ active installs)
- No update in over a year
- Only tested up to WordPress 6.8 (latest is 7.1)
Daily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where EUCookieLaw stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| blocco preventivo | #1 |
| cookie | >100 |
| cookie law | #86 |
| eu cookie law | #57 |
| Law Compliance | #78 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.9 from 18 reviews
About EUCookieLaw
From the official readme · v2.7.5Description
EUROPA websites must follow the Commission’s guidelines on privacy and data protection and inform
users that cookies are not being used to gather information unnecessarily.
The ePrivacy directive – more specifically Article 5(3) – requires prior informed consent for storage for access to information stored on a user’s terminal equipment.
In other words, you must ask users if they agree to most cookies and similar technologies (e.g. web beacons, Flash cookies, etc.) before the site starts to use them.
For consent to be valid, it must be informed, specific, freely given and must constitute a real indication of the individual’s wishes.
In this context this plugin lives.
It simply alters the default document.cookie behavior to disallow cookies to be written on the client side,
until the user accept the agreement. The same does for the server side where since the user does not have accepted the agreement,
then it would not store any cookie.
Note that this plugin blocks any URL you define which generates third-party cookies.
To get detailed informations about the plugin go to https://github.com/diegolamonica/EUCookieLaw
FAQ
-
How can I customize the banner style?
Please visit the official documentation page on GitHub -
Why the output is weird?
Try to switch from DOMDocument to Regular Expression Engine or vice versa.
Installation
For manual installation using WordPress plugin installer:
* download the zip file
* upload via the WordPress plugin installer page
* Activate the plugin
For manual installation via FTP
* extract files in a local directory
* upload through FTP the whole directory contents under /wp-content/plugins/eucookielaw.
* Goto plugin administration panel
* Activate the plugin
Changelog
2.7.5
- FEATURE_UPDATE: Added the ability to modify the plugin’s options based on user’s role.
- Updated the version number
2.7.4
- SECURITY_UPDATE: Hardening of the already applied security fix.
- Updated the version number
2.7.3
- SECURITY_UPDATE: Fixed unchecked file access in W3 Total Cache.
- Updated the version number
2.7.2
- BUGFIX: If some contents to be blocked are present before the
EUCookieLaw.jsfile inclusion the page will become broken. - BUGFIX: [WP]
Warning: Constants may only evaluate to scalar valuesbugfix (issue #89) - Updated the version number
2.7.1
- IMPROVEMENTS: [WP] a better way to recognize if there is a cache plugin installed
- BUGFIX: [WP]
Warning: Constants may only evaluate to scalar valuesbugfix (issue #87) - BUGFIX: If the only language configured is Default a javascript error occours (issue #88)
- BUGFIX: [WP] INIReader.php file was missing (solves issue #86 and part of issue #87)
- BUGFIX: [WP] Resolved an issue that has broken the Customizer.
2.7.0
- NEW: In the JavaScript file
EUCookieLaw.jsnow is available the variableEUCOOKIELAW_VERSIONwith the number of current version. - NEW: Now you can set the cookie policy’s banner with multiple languages
- NEW: [WP] Improved WordPress admin interface to a better management of the multiple languages.
- NEW: [WP] Multilingual no requires any multilingual plugins
- NEW: Now you can choose to raise the load event on user agreement.
- IMPROVEMENTS: The regexp eingine now takes care about Internet Explorer Conditional Comments (solves issue #84)
- IMPROVEMENTS: [WP] every minute the cron checks if the configuration files into cache are available to solve definitively the issues against WP Super Cache and W3 Total Cache plugins.
- IMPROVEMENTS: [WP] When
wp-config.phpis not available in the site root, the plugin notify what to manually wrtite into it. - IMPROVEMENTS: Now the banner message is nested into a
divto better fit the most sites/users requirements. - BUGFIX: [WP] Google Maps and Google Fonts were switched in fast service selection group
- NOTICE: Some definitions were marked as deprecated since this version
- Minor bugfixes and general improvements
- Updated documentation
- Updated translation files
- Updated the version number
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
FAQ
EUCookieLaw: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is EUCookieLaw free?
Yes. EUCookieLaw is free to download and use from the official WordPress.org plugin directory.
Is EUCookieLaw safe to use in 2026?
EUCookieLaw works, but test it on a staging site before relying on it in 2026. It runs on 200+ sites, is rated 4.9/5 and was last updated 2 years ago, and scores 47/100 on our health check.
How many websites use EUCookieLaw?
EUCookieLaw is active on 200+ WordPress websites and has been downloaded 14,213 times since it launched in June 2015. It was downloaded 278 times in the last 30 days.
Does EUCookieLaw work with WordPress 7.1?
EUCookieLaw is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was EUCookieLaw last updated?
The latest version, 2.7.5, was released on May 20, 2025 (2 years ago).
Who makes EUCookieLaw?
EUCookieLaw is developed and maintained by Diego La Monica.
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

