Consent Manager

A powerful, GDPR-compliant consent management solution ("cookie banner") for that gives you complete control over tracking scripts and user privacy.

2.1.0

November 16th, 2026

Added

  • Google Tag service labels and descriptions now explain the actual consent purposes mapped to each category, such as Functionality, Analytics, and Advertising. Existing service handles and consent mappings are preserved.
  • Browser regression tests for stylesheet isolation and required-service consent behavior.

Fixed

  • Antlers variables, modifiers, and nested partials now parse correctly inside consent_manager:require, including placeholder and slot:placeholder, with the surrounding template context. Deferred embeds still wait for consent. See #4 and 4cc533a.
  • The bundled Tailwind reset, utilities, theme variables, and property registrations are isolated from the host website. See #5 and 2b3c3ad.
  • Google Tag entries have purpose-specific descriptions instead of repeating the generic integration description. Published translation overrides merge with package defaults, and customized legacy descriptions remain supported. See #3, 8e3b7fb, and 7ddef25.
  • Required services remain enabled through Reject All, saving preferences, old denied cookie values, and reloads. The same rule applies to server-rendered scripts and services assigned to both required and optional categories. Optional services remain consent-controlled. See 89d88f2.

Upgrading

  • Requirements remain PHP 8.3+ and Statamic 6. This release is not compatible with Statamic 5.
  • Compiled frontend CSS, JavaScript, and Vite manifests are included in the release source archives and Composer package. No npm build is needed on the consuming site.
  • Assets publish automatically during the normal Statamic installation/update process. Deployments that skip those scripts can publish them with php artisan vendor:publish --tag=consent-manager-assets --force.
  • Existing template classes, data attributes, service handles, and cookie structure are preserved. The bundled dialog styles now use their own isolated theme. Sites that prefer their own Tailwind v4 theme can still remove the bundled stylesheet after configuring source scanning and the placeholder helper; see the customization guide.
  • Services assigned to a required category now run without waiting for a consent cookie, consistently with the documented required-category behavior.

Verified with 48 PHP tests, 7 browser tests, Composer validation, release-archive asset checks, and the KiwiDev Statamic testbench.

2.0.2

May 25th, 2026

Fixed

  • Fix PHP 8.4 deprecation warning from implicit nullable controller parameter in ConsentManagerController.

2.0.1

February 19th, 2026

  • fix automatic asset publishing after installation

Full Changelog: https://github.com/eminos/statamic-consent-manager/compare/v2.0.0...v2.0.1

2.0.0

February 6th, 2026

  • Statamic 6 support (Vue 3)

Full Changelog: https://github.com/eminos/statamic-consent-manager/compare/v1.0.0...v2.0

1.0.0

December 18th, 2025

[1.0.0] - 2025-12-18

Added

  • Initial release
  • Service-level consent management with category organization
  • Control Panel interface for managing categories, services, and tracking scripts
  • Built-in integrations: Google Tag (Consent Mode v2), Meta Pixel, LinkedIn Insight Tag
  • Custom script support with conditional loading based on consent
  • Native HTML <dialog> elements for accessibility
  • Tailwind CSS styled dialogs (fully customizable)
  • Permission-based Control Panel access
  • Configurable cookie settings via config file
  • Live Preview mode control
  • Consent versioning with ISO 8601 timestamps
  • "Save & Require Re-consent" functionality for GDPR compliance
  • Required categories (automatically consented, cannot be disabled)
  • Conditional content rendering with {{ consent_manager:require }} tag
  • JavaScript API for programmatic consent management
  • Multi-language support via Laravel translation files
  • Debug mode tied to APP_DEBUG
  • Zero dependencies (vanilla JavaScript)