=== Omea Consent ===
Contributors: cultmetrics
Tags: cookies, consent, gdpr
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

A frontend cookie consent banner and consent manager.

== Description ==

This plugin adds a configurable cookie consent banner and consent manager. Tracking snippets can be grouped by consent category, blocked before consent, and managed from the WordPress admin. The WP Consent API feature plugin is bundled via Composer.

== Features ==

- Configurable consent banner and preferences modal.
- Header, body, and footer script injection by consent category.
- Cookie and storage scanner with editable cookie table output.
- Optional autoblocking for known scripts, cookies, storage, iframes, and inline code.
- Google Consent Mode support.

== Privacy ==

Omea Consent stores the visitor's consent choices in a first-party consent cookie and matching browser storage key so choices can persist across page loads. Site administrators control any tracking snippets added through the plugin settings.

== External services ==

Omea Consent ships with a local Open Cookie Database catalog for cookie matching. By default, the scanner uses this bundled local catalog and does not contact a remote cookie database service.

Site administrators can enable optional CookieDatabase.org lookups in the plugin settings. When enabled, Omea Consent may send detected cookie or browser storage names to CookieDatabase.org during an admin-initiated scan so the plugin can retrieve cookie classification metadata such as category, purpose, provider, and retention. This service is provided by Complianz B.V. Terms: https://cookiedatabase.org/terms-of-use-api/. Privacy: https://cookiedatabase.org/plugin-use-of-cookiedatabase-org-privacy-terms/.

The scanner includes local pattern matching for common script providers such as Google Tag Manager, Google Analytics, Meta Pixel, and HubSpot. These patterns are used only to detect scripts already present on the scanned site. Omea Consent does not send data to those providers as part of the scan.

== Installation ==

1. Copy this plugin folder into wp-content/plugins/
2. Activate "Omea Consent" from the WordPress admin.
3. Add header/body/footer tracking snippets in Settings → Omea Consent.

== Screenshots ==

1. Frontend consent banner with accept, reject, and preference controls.
2. Consent preferences modal with per-category choices.
3. Admin settings for banner copy, consent categories, script rules, and cookie scanning.

== Changelog ==

= 0.1.0 =
- Prepared Omea Consent metadata and documentation for plugin packaging.
- Added consent manager, script injection, scanner, autoblocking, cookie table, and Google Consent Mode support.
