Notice: Due to problems with the modules machine readable name (https://www.drupal.org/node/2279731) that has now been sorted out, an upgrade to version 7.x-1.14 has to be done manually. Drush will not work.
Notice: If you are using a responsive theme upgrade to 7.x-1.14 version or later of the module.
This module intends to deal with the EU Directive on Privacy and Electronic Communications that comes into effect in the UK on 26th May 2012. From this date on, you run the risk of enforcement action if you are not compliant or visibly working towards compliance. More information can be found here
The above information applies to the UK however the EU law will be enforced in all EU countries and hence the module can be used everywhere in the EU.
By enabling and configuring the module you will demonstrate to the regulator that you, as the owner of the website:
- are doing as much as possible to reduce the amount of time before your visitors receive information about cookies (information appears as soon as a visitor enters the site).
- are providing your visitors with options. (find out more about cookies, do not browse if you disagree).
- ensure that the information on cookies is readily available to your visitor(visible pop-up at the bottom of the screen).
- are visibly working towards compliance (even if you do not perform a full cookie audit, it's clear that some effort has been made).
How it works
This module provides:
- customisable notifications in the form of pop-ups that inform visitors that cookies are being used on the site. Those alert visitors that further browsing means giving consent to setting cookies.
- an option to place the notifications at the top or at the bottom of the website
- a link to information page on which information about cookies should be presented to the visitor (the page will be specific to each site and hence should be created by the administrator).
- a support for multilingual sites
- an option to restrict cookie notifications to EU countries only (with the geoip module: http://drupal.org/project/geoip , or smart IP https://drupal.org/project/smart_ip ) - 7.x-1.11 or later
- a design that works with responsive themes - 7.x-1.11 or later
This module does not provide:
- prevention of cookies being set on the site.
Visitors to the website give their consent to setting cookies by:
- clicking the accept button on the pop-up
- continuing browsing the website (this is an option that can be disabled)
- Enable the module.
- Create an information page on cookies being used on your website.
- Go the the permissions page at admin/user/permissions to grant permissions for displaying the pop-up and to accessing the administration page to certain roles.
- Go to the setting page at admin/settings/eu-cookie-compliance to enable and customise the pop-up.
- As from version 1.7 of the module, the second confirmation pop-up can be disabled.
- If you want to customise the pop-up background and text color, either type in the hex values or simply install http://drupal.org/project/jquery_colorpicker (Drupal 7 only)
- If you want to show the message in EU countries only, install the geoip module: http://drupal.org/project/geoip or Smart IP module: https://drupal.org/project/smart_ip and enable the option on the admin page. (7.x-1.11 or later)
important: Prevention of cookies being set on a website is not in the scope of this module. Please refer to the Developers section below to find out how it can be done.
For example, if you want to disable google analitics, you could do the following: http://drupal.org/node/1648286#comment-6145800
Here is another example showing how to set cookies after user clicks the accept button: http://drupal.org/node/1624876#comment-6111688
There is a similar module called Cookie Control developed for Drupal 7 however that module:
- works only with Drupal 7 as it requires a minimum of jQuery 1.4.4
- does not support multilingual websites
- does not support SSL (work is being done to add SSL support: )
The way the module works can be seen on my freelance website. The demo site is only meant to demonstrate how the pop-up works. Cookies are not being blocked.