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 solution 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.
At the same time it blocks all third-party domains you have configured as cookie generators.
If you find this script useful, and since I've noticed that nobody did this script before of me, I'd like to receive a donation. :)
This repository contains the EUCookieLaw WordPress plugin version. There is a Javascript version too.
The purpose of EUCookieLaw3 is to grant a simple solution to comply the ePrivacy directive – concerning the cookie consent and General Data Protection Rules (also known as GDPR).
There is an older version of this library named just EUCookieLaw which this one is the direct evolution.
It was developed as new one due the several breaking changes in it.
To create a consent banner please use the online configuration builder
Go to releases page
where you can download the latest plugin release.
Uninstall previously installed version.
If you have an old version installed, you need to remove it before install the new one.
Upload and activate
Go to your WordPress Plugin Upload page and upload the zip file you have downloaded. Once it was uploaded, activate the plugin.
Coming soon
[review_button]
allows you to show a button on the page which the user can use to reconsider the consents/rejects previously given.
This shortcode expects 2 arguments:
title
the button text.class
one or more CSS classes to apply to the item. [show_consents]
this shortcode builds a list of choiches about the consents and rejections of the user.