Important Announcement:

Since modern alternatives exist for D8+ and D7 is reaching its EOL soon enough, this module is now in "maintenance only" mode. This means that an update will be made in one of the 2 following cases:

  1. A bug is identified and needs to be fixed
  2. Integration with a third party library is required and there is an issue with a plugin patch in it

Provides extra features for the EU Cookie Compliance module.


Notable Features:

✔️ A highly performant consent storage plugin that uses the syslog
✔️ A separate block where the user can determine which plugins' cookies will be stored in the browser
✔️ Strict compliance with the GDPR: if the user did not give consent, no javascript will be run and no cookies will be stored
✔️ Compliance with recent jurisprudence for "pre-ticked" checkboxes (more info here)
✔️ Multilingual support via the i18n_variable module (similar to EU Cookie Compliance)
✔️ An option to allow the user to reject all cookies at once by adding the class "euccx-disable-all" on any element of the banner (or anywhere on the page for that matter). For more information regarding the reasons behind this check this issue.
✔️ Integration with EU Cookie Compliance's categories.

Integrations:

✔️ Google Analytics
✔️ Google AdSense
✔️ Matomo
✔️ Facebook Pixel
✔️ Google Tag Manager

Plans for future integrations:

- Google Tag Manager
- ShareThis

For developers:

✔️ Easily implement your own plugin to support a third party library by using very straightforward key declarations (see the 2 included plugins for extended documentation on what you can do and how you can implement it)

Note: If you create a plugin that provides integration with a widely-used module or library, please consider submitting a patch.


Quick Start

If you want to use the syslog consent storage plugin:

After you have enabled the euccx module you will see an additional option in admin/config/system/eu-cookie-compliance under "Store record of consent" called: "Store in Syslog". The core syslog module is required for that.

If you want to use block provided by euccx or/and the integration with Google Analytics or Google Adsense:

The settings can be found in /admin/config/system/eu-cookie-compliance/extras (you should also see a button at the top of the EU Cookie Compliance module's settings). Two general groups of settings allow you to setup the block that will be shown to the user and the plugins that will be enabled (Google Analytics, Google Adsense).


Example

You can see a working example of euccx in action at: https://www.lawspot.gr. The cookie management block can be found in the page: https://www.lawspot.gr/cookie-management where you can go through the tabs and enable/disable advertising cookies (adsense) and/or metrics' cookies (analytics). You can verify that no cookies are set until the user makes a choice: if the user goes to the cookies settings' page and disables either plugin the external javascript will never be run in the user's browser and no cookie will be set.


Future Development

There are some @todo tags in the code that indicate improvements or additional features that could be added.

My main goal is to provide integration with other popular plugins that call javascript from external sites. Euccx's plugin system is very easy to work with and I'd like to add a couple more integrations even though I can't extensively test them.

Other than that, I'd like to have very thorough documentation on how to use this module and what it does, so, integration with the advanced help module and a documentation page here in Drupal.org are also in order.

For the time being there are no plans for porting this module to D8 but if anyone is interested to do it, please do not hesitate to contact me.

Update: 25/09/2020

I have currently started working on a version 2.x for the D7 module which will be completely independent from EUCC and jquery_update (pure javascript, no jquery) and will also include an API.

I also intend to start working on a 8.x-1.x version of the module that will basically transfer all the existing features of the stable 7.x-1.x branch to D8 and then a corresponding 8.x-2.x version.

Please check "Important Announcement" at the top.


Feature Requests

If you have any feature requests please use the Issue Queue.


Other GDPR-related projects

The Drupal GDPR Compliance Team project is a wonderful resource for all things GDPR. Take a look at it!


Credits

  • Stratos Karkatzounis for multiple contributions in developing, theming, and testing the module
  • Vasilis Karkatzounis for the legal background on how the module should work to be in accordance with European Legislation and Jurisprudence
  • Julian Pustkuchen for multiple suggestions and the implementation of EUCC category integration
  • This module was initially developed for the needs of the Lawspot.gr platform.
  • All further development and maintenance comes out of my own pocket.
  • Credit also to Snips for building YETT, an amazing little library that is used in the module.

Custom Work

If you want to sponsor the work that I'm doing for euccx or you would like to do some custom work for your site, please do not hesitate to contact me.

Supporting organizations: 
Supported all initial development for use in the Lawspot.gr platform

Project information

Releases