Drupal Cookie Consent Module
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:
- Download the module from the Drupal project page
- Place it in
modules/contrib/conzent - Enable it at Admin > Extend
Configuration
- Go to Admin > Configuration > System > Conzent
- Enter your site key from the Conzent dashboard
- 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.