PHPackages                             eminos/statamic-consent-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. eminos/statamic-consent-manager

ActiveStatamic-addon[Utility &amp; Helpers](/categories/utility)

eminos/statamic-consent-manager
===============================

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

v2.0.1(2mo ago)1133↓75%proprietaryPHPPHP ^8.3

Since Dec 18Pushed 2mo agoCompare

[ Source](https://github.com/eminos/statamic-consent-manager)[ Packagist](https://packagist.org/packages/eminos/statamic-consent-manager)[ Docs](https://github.com/eminos/statamic-consent-manager)[ RSS](/packages/eminos-statamic-consent-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

 [![Statamic Consent Manager Banner](docs/banner.png)](docs/banner.png)

Statamic Consent Manager
========================

[](#statamic-consent-manager)

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

[Features](#features) • [Installation](#installation) • [Quick Start](#quick-start) • [Documentation](#documentation) • [Support](#support)

Why Statamic Consent Manager?
-----------------------------

[](#why-statamic-consent-manager)

Most cookie banner solutions are either too simple (just a "we use cookies" message) or too complex (expensive third-party SaaS platforms). **Statamic Consent Manager** is the perfect middle ground:

- **Native to Statamic**: Managed entirely within your Statamic Control Panel.
- **Privacy First**: Scripts are blocked by default until explicit consent is given.
- **Developer Friendly**: Built with Antlers and Tailwind, making it easy to style and extend.
- **Compliance Made Easy**: Built-in support for Google Consent Mode v2 and other major platforms.

[![Statamic 5.0+](https://camo.githubusercontent.com/be44386e8804f334e7f171b4d75c2a388e0ab271db88bbe0284c3aa7f324e74d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d352e302b2d4646323639453f7374796c653d666c6174266c6f676f3d73746174616d6963)](https://statamic.com) [![Statamic 6.0+](https://camo.githubusercontent.com/f5e2381e6f3305f4eccd7f93ee5fb097b35baa005535fde537d7cf124d44f75b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d362e302b2d4646323639453f7374796c653d666c6174266c6f676f3d73746174616d6963)](https://statamic.com) [![Commercial License](https://camo.githubusercontent.com/691bfee240b08f7cf459839df33bb91be768e7980aa8dc4be1dcefd3c2a56756/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d436f6d6d65726369616c2d6f72616e6765)](LICENSE.md)

 [![Screenshot 1](docs/screenshot-1.png)](docs/screenshot-1.png) [![Screenshot 2](docs/screenshot-2.png)](docs/screenshot-2.png) [![Screenshot 3](docs/screenshot-3.png)](docs/screenshot-3.png)
 [![Screenshot 4](docs/screenshot-4.png)](docs/screenshot-4.png) [![Screenshot 5](docs/screenshot-5.png)](docs/screenshot-5.png) [![Screenshot 6](docs/screenshot-6.png)](docs/screenshot-6.png)

Statamic support
----------------

[](#statamic-support)

Statamic versionAddon versionAddon branchStatamic 5`1.x``1.x`Statamic 6`2.x``main`Features
--------

[](#features)

### Powerful &amp; Flexible

[](#powerful--flexible)

- **Service-level Consent** - Users consent to individual services, organized into logical categories (Analytics, Marketing, etc.)
- **Built-in Integrations** - Google Tag (gtag.js) with Consent Mode v2, Meta Pixel, and LinkedIn Insight Tag ready out of the box
- **Custom Script Support** - Add any third-party script with conditional loading based on consent
- **Control Panel Management** - Manage categories, services, and tracking scripts without touching code
- **Conditional Content** - Show placeholders for YouTube embeds, Google Maps, and other content requiring consent
- **Smart Cookie Management** - Automatically stores and respects user preferences for 180 days (configurable)
- **Permission-based Access** - Control Panel access restricted by Statamic permissions

### Fully Customizable

[](#fully-customizable)

- **Publishable Views** - Complete control over dialog markup and styling using Antlers templates
- **Native Dialog Elements** - Built on semantic HTML `` elements for accessibility
- **Tailwind CSS Out of the Box** - Pre-styled dialogs you can fully customize or replace
- **Multi-language Support** - Translate all text via Laravel's translation files
- **Flexible Script Placement** - Load scripts in `` or before ``
- **Configurable Settings** - Customize cookie name, duration, and behavior via config file

### Developer Experience

[](#developer-experience)

- **Simple JavaScript API** - Easy-to-use methods for checking consent and triggering dialogs
- **Debug Mode** - Built-in console logging tied to Laravel's `APP_DEBUG`
- **Live Preview Control** - Optionally disable in Statamic's Live Preview mode
- **Zero Dependencies** - Lightweight vanilla JavaScript, no frameworks required

### Compliance Ready

[](#compliance-ready)

- **GDPR Compliant** - Respects user privacy choices before loading tracking scripts
- **Consent Versioning** - Require re-consent when you make significant changes to your privacy policy
- **Required Categories** - Mark essential functionality as required (e.g., security, functionality)
- **Granular Control** - Per-service consent for maximum transparency
- **Revocation Support** - Users can withdraw consent at any time with automatic page reload

Installation
------------

[](#installation)

This is a commercial addon. [Purchase a license on the Statamic Marketplace →](https://statamic.com/addons/kiwikiwi/consent-manager)

```
composer require eminos/statamic-consent-manager
```

That's it! The addon automatically publishes its assets during installation.

Quick Start
-----------

[](#quick-start)

1. **Add tags to your layout:**

```

    {{ consent_manager:head }}

    {{ consent_manager:dialog }}
    {{ consent_manager:body }}

```

2. **Configure in Control Panel:**

    - Navigate to **Tools &gt; Consent Manager**
    - Add your tracking services and scripts
    - Enable built-in integrations (Google Tag, Meta Pixel, etc.)
3. **Done!** Your consent dialogs are live.

Documentation
-------------

[](#documentation)

Complete documentation is available in [DOCUMENTATION.md](DOCUMENTATION.md):

- [Installation &amp; Setup](DOCUMENTATION.md#installation)
- [Configuration Options](DOCUMENTATION.md#configuration)
- [Control Panel Guide](DOCUMENTATION.md#control-panel-setup)
- [Usage Examples](DOCUMENTATION.md#usage)
- [API Reference](DOCUMENTATION.md#api-reference)
- [Customization Guide](DOCUMENTATION.md#customization)

Built-in Integrations
---------------------

[](#built-in-integrations)

### Google Tag (Consent Mode v2)

[](#google-tag-consent-mode-v2)

Complete integration with Google's Consent Mode v2, automatically mapping your consent categories to Google's storage types.

### Meta Pixel

[](#meta-pixel)

Manage Facebook Pixel consent with automatic grant/revoke handling.

### LinkedIn Insight Tag

[](#linkedin-insight-tag)

Track conversions and audience building with proper consent management.

Support
-------

[](#support)

For support, questions, or feature requests, please open an issue on this GitHub repository.

License
-------

[](#license)

This is a commercial addon that requires a license for production use.

[Purchase a license on the Statamic Marketplace →](https://statamic.com/addons/kiwikiwi/consent-manager)

See [LICENSE.md](LICENSE.md) for full license terms.

Copyright © 2026 Emin Jasarevic

---

Made by [kiwikiwi](https://kiwikiwi.se) for the Statamic community

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance83

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Total

4

Last Release

88d ago

Major Versions

v1.0.0 → v2.02026-02-06

PHP version history (2 changes)1.x-devPHP ^8.2

v2.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f7b9b5acefc797c0c0cf24b4b05ce1f55e50a0c20e5bdbf647eae53b0a16fab?d=identicon)[eminos](/maintainers/eminos)

---

Top Contributors

[![eminos](https://avatars.githubusercontent.com/u/1682784?v=4)](https://github.com/eminos "eminos (5 commits)")

---

Tags

consent-managementconsent-management-platformcookie-bannerstatamicstatamic-addonstatamic-v5addonstatamicgdprprivacyconsentcookie-banner

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/eminos-statamic-consent-manager/health.svg)

```
[![Health](https://phpackages.com/badges/eminos-statamic-consent-manager/health.svg)](https://phpackages.com/packages/eminos-statamic-consent-manager)
```

###  Alternatives

[statikbe/laravel-cookie-consent

Cookie consent modal for EU

213396.7k](/packages/statikbe-laravel-cookie-consent)[visuellverstehen/statamic-classify

A useful helper to add CSS classes to all HTML tags generated by the bard editor.

20116.8k](/packages/visuellverstehen-statamic-classify)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[withcandour/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

13128.3k](/packages/withcandour-aardvark-seo)[mitydigital/feedamic

A fully-featured RSS and Atom feed generator for Statamic.

1064.0k](/packages/mitydigital-feedamic)[martin-schenk/laravel-cookie-consent

GDPR-compliant cookie consent system with minimal dependencies for Laravel 11 and 12

101.3k](/packages/martin-schenk-laravel-cookie-consent)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
