Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
img
languages
scripts
backend.php
consent-table.php
custom-post.php
eucookielaw.php
frontend.php
index.php
readme.md

readme.md

EUCookieLaw 3 WordPress Plugin

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.

Donations

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. :)

About this library

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

How to install it

From GitHub repository

  1. Go to releases page
    where you can download the latest plugin release.

  2. Uninstall previously installed version.
    If you have an old version installed, you need to remove it before install the new one.

  3. 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.

From WordPress repository

Coming soon

Available shortcodes

  • [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.

You can’t perform that action at this time.