Full-featured Consent Management solution for external sources and cookies.

Introduction

This module implements the Klaro! consent manager JS-Library for Drupal and adds an interface to configurate and customize Klaro!, manage services and purposes, manage texts and their translations as well as automatically setting the required html-attributes to external resources for the JS-library to work. It also adds the ability to block unknown (no service configurated) external resources by default.

Goals

The primary use case for this module is to:

  • Provide privacy by default.
  • Provide a configurable consent manager for the site visitors, to give (or decline) consent to predefined "services".
  • Comply with data protection regulations such as GDPR and EU cookie directives.

Further:

  • Fully customizable, managable and translatable services.
  • Fully customizable, managable and translatable purposes.
  • Fully customizable and translatable texts of the consent manager.
  • Automatically set all required html attributes and/or contextual blocking elements to external resources.
  • Prefinded services for oembed and social media embeds.

For more infos check out the README or read the documentation.

Versions

Version 3.1.x

Stable version.
(Main difference from version 3.0: using new library version to fix broken option optOut. and supporting Google Consent Mode v2)

Version 3.0.x

Legacy version - no further updates.

The 8.x and 7.x tree will not be continued

Privacy Information

  • If Log unknown resources is enabled, log data are written and may contain the IP-address. Other personal data is not processed.
  • No personal data is transferred to third parties on the server side (e.g. via API).
  • No external resources are loaded in the user's browser. (But of course this module allows the loading of third-party resources after consent).
  • This module uses a cookie klaro to store the users' consent decisions. This cookie is strictly necessary. (You can change the type of storage and the name/key via config.).
Supporting organizations:
Development and Maintenance

Project information

Releases

3.1.1 Stable release covered by the Drupal Security Team released 1 July 2026
Works with Drupal: ^10.2 || ^11

Support for Google Consent Mode v2

Install:

Development version: 3.1.x-dev updated 1 Jul 2026 at 19:42 UTC

3.0.10 Stable release covered by the Drupal Security Team released 11 April 2026
Works with Drupal: ^10.2 || ^11

[Legacy version] Regression bugfix for Klaro 3.0.9

Install:

Development version: 3.x-dev updated 11 Apr 2026 at 07:05 UTC