EU Cookie Compliance For Drupal 8 Website

Updated: 16 May, 2017 seen 1,980

I'm not an expert in EU laws, but as far as I remember since 2012 there have been passed a law, so called EU Cookie Compliance law, asking website located in the territory of European Union to provide cookie disclaimer to website visitors if any cookie installed on website. 

To play safe, I have enabled cookie information bar on my blog (you can see it in the bottom of each page)

As, recently I started Drupal 8 development on .eu domain website, which actually is hosted from EU territory I decided to wrap up a simple tutorial on best practice how to enable EU cookie compliance notification bar for Drupal 8 websites.

The good news, there is a special module to handle EU cookie directive: EU Cookie Compliance

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: Privacy and Electronic Communications Directive 2002

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

Right, now when you are familiar how this module can help you:

Hope, it helps!