This project is not covered by Drupal’s security advisory policy.

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.

Project information

Releases