Drupal is a registered trademark of Dries Buytaert

nexaguard_cmp

No security coverage
View on drupal.org

Overview

The NexaGuard CMP module provides seamless integration between Drupal and the
NexaGuard Consent Management Platform (CMP),
helping site owners achieve GDPR, ePrivacy, and Google Consent Mode v2 compliance with minimal effort.

Features

  • Automatically injects the NexaGuard CMP loader script into your site’s <head> section.
  • Full support for Google Consent Mode v2 (managed by the NexaGuard loader).
  • Lightweight, cache-safe, and requires no theme or template changes.
  • Includes an intuitive configuration UI at /admin/config/system/nexaguard-cmp.
  • Optionally restricts loader injection to anonymous users or excludes admin routes.

Requirements

  • Drupal 9, 10, or 11
  • PHP 8.1 or higher

Installation

  1. Place the module in /modules/custom/nexaguard_cmp.
  2. Enable it from the Extend page.
  3. Configure your Settings ID and optional API/asset URLs at /admin/config/system/nexaguard-cmp.

Verification

After saving settings, view your page source to confirm the NexaGuard CMP loader appears within the <head> tag.
You can verify CMP initialization using Google Tag Assistant or your browser’s developer console.

License

GPL-2.0-or-later

© NexaGuard Inc. All rights reserved.

Activity

Total releases
1
First release
Oct 2025
Latest release
4 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.4 Stable Oct 6, 2025