PHPackages                             gridonic/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. gridonic/statamic-consent-manager

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

gridonic/statamic-consent-manager
=================================

A Statamic 3 addon to manage consent for cookies.

v1.1.1(1y ago)0272PHP

Since Aug 26Pushed 1y ago4 watchersCompare

[ Source](https://github.com/gridonic/statamic-consent-manager)[ Packagist](https://packagist.org/packages/gridonic/statamic-consent-manager)[ RSS](/packages/gridonic-statamic-consent-manager/feed)WikiDiscussions main Synced 4d ago

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

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

[](#statamic-consent-manager)

A Statamic 3 addon to manage consent for cookies 🍪.

**Features**

- Define consent groups *and* scripts loaded dynamically only when consent for a group is given.
- Provides a simple javascript API to read and change consent for users.
- Consent is stored client-side only, making it possible to use the static cache.

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

[](#installation)

Run the following commands:

```
composer require gridonic/statamic-consent-manager
php artisan vendor:publish --tag=statamic-consent-manager-config

```

Configuration
-------------

[](#configuration)

Edit the configuration file located in `config/statamic/consent_manager.php`:

```
