Skip to content

duncanmcclean/cookie-notice

Repository files navigation


Cookie Notice provides a simple, lightweight cookie consent widget for your Statamic site. The addon includes a clean Tailwind CSS design (fully-customisable) and support for consent groups.

Disclaimer: We've made every effort to ensure this addon is compliant with cookie laws. However, it's your responsibility to ensure your website complies with local cookie laws.

Read the docs.

Features

Cookie consent widget

This addon provides a simple, lightweight cookie consent widget. You're able to fully customize the design of the widget to match your site's design.

Consent Groups

Cookie Notice has built-in support for consent groups. This allows your users to consent to specific types of cookies (eg. Required, Statistics, Marketing).

New: Ability to manage scripts from the Control Panel

It's now possible to manage third-party scripts without leaving the Control Panel. Give your clients the ability to add or remove scripts without needing to ask you, or dive into the code. Supports adding Google Tag Manager, Meta Pixels and inline JavaScript.

New: Events

Cookie Notice allows you to listen for changes in a user's consent, allowing you to run specific JavaScript based on those events.

Support

If you find a bug, have some question or have a feature request, please open a GitHub Issue or Discussion.

Please note: only the latest version of this addon is supported. Any bug reports regarding an old version will be closed.

Commercial addon

This addon is paid software. You must purchase a license from the Statamic Marketplace in order to use this addon in a production environment.

Contributing

Contributions are welcome, and are accepted via pull requests. You should follow this process when contributing:

  1. Fork the repository
  2. Make your code change
  3. Open a pull request, detailing the changes you've made.
  4. Ensure StyleCI isn't reporting any code-style errors. If it is, you should resolve those.

If your pull request is a Work in Progress, please mark your pull request as a draft.

Security

If you've found a bug regarding security please email [email protected] instead of using the issue tracker.