Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Release: Change Requests 2.1.9 Minor update available for module change_requests (2.1.9). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

EU Cookie Compliance (GDPR Compliance)

66,113 sites Security covered Drupal 8–11
View on drupal.org

This module helps websites comply with GDPR and EU privacy directives by providing a cookie banner. It allows users to give consent for cookies and personal data handling, with options for opt-in, opt-out, or default consent, and can be configured to only show the banner to EU visitors.

Help maintain this project

If you're interested in supporting or improving this module, please consider joining the #eu_cookie_compliance channel on Drupal Slack. While a maintainer may not always be able to respond quickly, others in the community might be able to offer help.
Please also consider joining the #drupal-cms-privacy channel for more discussion around klaro and privacy areas.

Overview

For Drupal 7 and 10+, this module continues to be maintained. The Klaro Consent Management module is also available and used in the new Drupal CMS. We welcome contributors to help resolve the remaining bugs in this module, and those interested in Klaro are encouraged to join the Klaro issue queue to support improvements in consent handling across Drupal.

If you're on Drupal 8, 9 or 10 prior to 10.2, you should consider upgrading to a Drupal version that supports Klaro. If you, for some reason, can't upgrade to Drupal 10 or beyond, and run into a showstopper bug in this module, please consider volunteering as a maintainer of this module.

History/Usage

This module addresses the General Data Protection Regulation (GDPR) that came into effect 25th May 2018, and the EU Directive on Privacy and Electronic Communications from 2012. It provides a GDPR cookie banner where you can gather consent from the user when the website stores cookies on their computer or otherwise handles their personal information.

The module offers several methods for getting consent: Consent by default, opt-in and opt-out. It's also possible to only display the banner for visitors from the EU.

Important: This module can only prevent cookies from being set on the current site. External JavaScripts will still be able to set cookies.

Developers

If you want to conditionally set cookies in your module, there is a javascript function provided that returns TRUE if the user has given his consent:

Drupal.eu_cookie_compliance.hasAgreed() where category is optional.

Here is another example showing how to set cookies after the user clicks the accept button: http://drupal.org/node/1624876#comment-6111688

Additional features

EU Cookie Compliance GTM provides functionality for Google Tag Manager.

Icon by Nico Grienauer (Grienauer)

This module was originally scoped and delivered by Marcin Pajdzik for Turner Broadcasting Systems / Warner Media

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

3 tracked projects depend on this one

Activity

Tracked releases
8
Tracked since
Oct 2024
Latest release
9 months ago
Releases (12 mo)
3 ▼ from 5
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
8.x-1.30-rc2 Pre-release 8–11 Nov 2, 2025
8.x-1.3-rc1 Pre-release 8–11 Oct 31, 2025
8.x-1.29 Stable 8–11 Oct 17, 2025
8.x-1.28 Stable 8–11 Jul 24, 2025
8.x-1.27 Stable 8–11 Jun 25, 2025
8.x-1.26 Stable 8–11 May 28, 2025
7.x-1.44 Stable Oct 27, 2024
8.x-1.25 Stable 8–11 Oct 10, 2024