Drupal Cookie Consent Module

Add Conzent to your Drupal site with the official module. Composer installation, admin UI configuration, and automatic script injection.

The Conzent Drupal module adds consent management to any Drupal 9+ site with minimal configuration.

Installation

Install via Composer (recommended):

composer require 'drupal/conzent_drupal:^1.0'
drush en conzent

Or install manually:

  1. Download the module from the Drupal project page
  2. Place it in modules/contrib/conzent
  3. Enable it at Admin > Extend

Configuration

  1. Go to Admin > Configuration > System > Conzent
  2. Enter your site key from the Conzent dashboard
  3. Save configuration

The consent script is automatically added to every page.

Features

  • Automatic script injection — loads in the <head> before other scripts
  • Block integration — place cookie list and cookie policy blocks in any region using Drupal's block layout system
  • Cache-friendly — the module integrates with Drupal's cache system and works with page caching, Varnish, and CDNs
  • Multilingual — works with Drupal's translation system. The Conzent banner detects the active language and serves matching content

Requirements

  • Drupal 9.4+ or Drupal 10+
  • PHP 8.1 or later

Self-Hosted (OCI)

If you run OCI on your own server, set the Script URL in the module configuration to point to your OCI instance.

Frequently asked questions

Which Drupal versions are supported?

Drupal 9.4+ and Drupal 10+, on PHP 8.1 or later.

Does it work with Varnish or a CDN?

Yes, the module is cache-friendly and works with Drupal's page caching, Varnish, and CDN setups.

Can I place cookie policy content anywhere on the site?

Yes, via Drupal's block layout system — place the cookie list and cookie policy blocks in any region.

Does it support multilingual Drupal sites?

Yes, it detects the active language and serves matching banner content automatically.

Other Platforms

See integrations for WordPress, Joomla, TYPO3, Umbraco, Wix, or the universal script tag for any other platform.