Cookie Consent & Consent Mode v2 icon

Cookie Consent & Consent Mode v2

Plugin screenshot thumbnail 1/2
Plugin screenshot thumbnail 2/2

Cookie Consent & Consent Mode v2 brings 100% self-hosted GDPR & ePrivacy compliance directly into Craft CMS 4.5+ and 5.x — with zero jQuery, zero external CDN requests, and zero recurring monthly SaaS CMP fees.

Key Features

  • WCAG 2.2 AA Accessible Cookie Banner: Choose Full-Width Bottom Bar, Floating Corner Card, or Centered Modal in Crisp Light or Dark Slate themes.
  • Native Google Consent Mode v2: Emits ad_storage, analytics_storage, ad_user_data, and ad_personalization default-denied signals in the document head before GTM/GA4 loads, and updates live on visitor consent.
  • 4 Granular Consent Categories: Strictly Necessary, Preferences, Analytics, and Marketing + Policy Version re-prompting and floating preferences button.
  • Automatic Prior Script Blocker: Rewrites matching third-party tracking scripts to type="text/plain" by category (analytics|, marketing|, preferences|) until explicit consent is granted.
  • SHA-256 GDPR Audit Ledger & CSV Export: Stores anonymized cryptographic consent proof (zero PII) in your Craft database with 1-click CSV export for DPO audits.

    Installation

    composer require flexext/craft-cookie-consent php craft plugin/install cookie-consent-gcm

Standard

Plus $9/year after one year.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
0
Version
1.0.2
License
Craft
Compatibility
Craft 4, Craft 5
Last release
December 1, 2026