=== CMPKit Cookie Consent - GDPR Cookie Banner & Consent Mode v2 ===
Contributors: cmpkit
Tags: cookie consent, cookie banner, gdpr, consent mode, cookie notice
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

GDPR cookie consent banner with Google Consent Mode v2. Connects to the WP Consent API so your plugins follow the visitor's choice.

== Description ==

**CMPKit Cookie Consent** adds a cookie consent banner to your WordPress site. Paste your CMPKit site key and the banner appears: visitors can accept all, reject all, or choose categories (functional, analytics, marketing).

* **GDPR cookie banner** with accept, reject and customize choices.
* **Google Consent Mode v2**: Google Analytics 4 and Google Tag Manager receive the visitor's choice (`ad_storage`, `analytics_storage`, `ad_user_data`, `ad_personalization`).
* **WP Consent API**: the choice is shared with [WP Consent API](https://wordpress.org/plugins/wp-consent-api/), so compatible plugins only run what the visitor allowed.
* **Proof of consent**: each choice is logged in your CMPKit dashboard.
* **Cookie settings button**: visitors can reopen the panel and change their choice later (see the FAQ).
* **Lightweight**: one small asynchronous script, no jQuery, no tracking of its own.

You need a free CMPKit account to get a site key ([create one at cmpkit.com](https://cmpkit.com/?utm_source=wordpress&utm_medium=plugin)). The free plan covers small sites; the dashboard shows your usage. [Scan your site](https://cmpkit.com/scan?utm_source=wordpress&utm_medium=plugin) to see which cookies it sets.

= External service =

This plugin loads a script from cmpkit.com (https://cmpkit.com/widget.js), a service by CMPKit, and the banner sends the visitor's consent choice to cmpkit.com to keep the proof of consent. Terms of service: https://cmpkit.com/terms. Privacy policy: https://cmpkit.com/privacy. The plugin itself stores one option (the public site key) and no visitor data.

== Installation ==

1. Install and activate the plugin.
2. Go to Settings > CMPKit and paste your site key (starts with cmpkit_).

== Frequently Asked Questions ==

= How can visitors change their cookie choices later? =

Add a Custom HTML block to your footer (Appearance > Widgets or the Site Editor) with `<button type="button" data-cmpkit="settings">Cookie settings</button>`. Clicking it opens the CMPKit settings panel. See https://cmpkit.com/docs#platforms.

== Changelog ==

= 0.1.0 =
* First release.
