WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Diego La Monica v2.7.5

EUCookieLaw

A Wordpress solution to the European Cookie Law Issue

EUCookieLaw

The facts

Rating
4.9★ from 18
Active installs
200+
Price
Free
Last updated
20 May 2025
Added
Jun 2015
Requires WP
4.0
Tested up to
WP 6.8.8
Downloads
13,593

Our analysis

AI-assisted

EUCookieLaw is a WordPress plugin designed to help websites comply with EU regulations regarding cookie usage. It ensures that cookies are not stored on a user's device until they have given their informed consent, as required by the ePrivacy directive.

The plugin modifies the default cookie behaviour, preventing both client-side and server-side cookies from being set until the user agrees. It also allows you to block specific URLs that generate third-party cookies, making it suitable for website owners who need to adhere to privacy laws.

Best for: This plugin is suitable for website owners operating in the EU who need to manage cookie consent.

What it does well

  • Helps comply with EU cookie regulations
  • Prevents cookies from being set without user consent
  • Blocks specific URLs generating third-party cookies

Where it falls short

  • Limited feature details provided
  • Customization options are not specified

Verdict

EUCookieLaw provides a straightforward solution for cookie consent management, but lacks detailed customization options.

From the developer

Diego La Monica's own description of EUCookieLaw, lightly tidied.

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.

Read the full description on the official page →

Tagged as