=== ConsentPress ===
Contributors: icreator, Julian Hoever
Tags: cookie, consent, gdpr, privacy, compliance
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.3.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

ConsentPress is a lightweight cookie consent plugin for WordPress with an essential bottom banner, GTM/pixel setup, and a cookie policy table.

== Description ==

ConsentPress gives small WordPress sites a simple cookie consent banner without heavy configuration. It stores visitor preferences in the browser, lets you customize essential banner text, supports one Google Tag Manager container plus optional Meta/Facebook and LinkedIn pixels, can auto-detect browser cookies for your definitions list, and includes a shortcode for displaying a categorized cookie table.

For advanced layouts, per-domain tracking IDs, script blocking, consent logs, CSV exports, diagnostics, extended scanning tools, and external log storage, upgrade to the Pro edition.

== Features ==

* Essential bottom cookie banner
* Accept all, reject all, and manage preferences actions
* Custom banner title, message, and button labels
* Accent color setting
* One Google Tag Manager container ID
* Optional Meta/Facebook and LinkedIn pixels loaded after marketing consent
* Default category consent settings
* Browser cookie scanner with automatic definitions for common cookies
* Manual cookie definitions manager
* Cookie policy table shortcode: `[consentpress_cookie_table]`
* Translation-ready

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin via **Plugins**
3. Go to **ConsentPress -> Settings** to customize the banner
4. Go to **ConsentPress -> Pixels & GTM** to add your GTM container or pixel IDs
5. Go to **ConsentPress -> Cookie Definitions** to manage cookie table entries
6. Add `[consentpress_cookie_table]` to your cookie or privacy policy page

== Frequently Asked Questions ==

= Does the free version include consent logs? =

No. Consent logs, CSV exports, retention controls, and external database storage are Pro features.

= Does the free version include GTM and pixels? =

Yes. The free version supports one Google Tag Manager container and optional Meta/Facebook and LinkedIn pixel IDs. Per-domain tracking IDs, autoblocking, advanced rules, and consent gates are Pro features.

= Can I change the banner position? =

The free version uses a bottom banner. Additional positions and layouts are available in the Pro edition.

== External services ==

This plugin can connect to Google Tag Manager when a site administrator enters a Google Tag Manager container ID. It loads `https://www.googletagmanager.com/gtm.js` on the front end. Google Tag Manager may receive page URL, referrer, browser, device, and event information according to the tags configured in that Google Tag Manager container. The plugin sets Google Consent Mode defaults to denied before loading the container and updates consent after the visitor makes a choice. This service is provided by Google: Terms of Service: https://policies.google.com/terms Privacy Policy: https://policies.google.com/privacy

This plugin can connect to Meta/Facebook Pixel when a site administrator enters a Facebook Pixel ID and enables the pixel mode. It loads `https://connect.facebook.net/en_US/fbevents.js` after the visitor grants marketing consent. Meta may receive page URL, browser, device, event, and pixel identifier information. This service is provided by Meta Platforms, Inc.: Terms of Service: https://www.facebook.com/legal/terms Privacy Policy: https://www.facebook.com/privacy/policy/

This plugin can connect to LinkedIn Insight Tag when a site administrator enters a LinkedIn Partner ID and enables the pixel mode. It loads `https://snap.licdn.com/li.lms-analytics/insight.min.js` after the visitor grants marketing consent. LinkedIn may receive page URL, browser, device, event, and partner identifier information. This service is provided by LinkedIn Corporation: User Agreement: https://www.linkedin.com/legal/user-agreement Privacy Policy: https://www.linkedin.com/legal/privacy-policy

This plugin includes the Freemius SDK for optional account, upgrade, license, and support flows. When a site administrator opts in through the Freemius screen or uses those flows, Freemius may receive administrator account details, site URL, plugin version, license status, and diagnostic information needed to provide the service. This service is provided by Freemius, Inc.: Terms of Service: https://freemius.com/terms/ Privacy Policy: https://freemius.com/privacy/

== Source code and build notes ==

Human-readable source files for the compressed JavaScript and CSS assets are included in this plugin under `assets/source/js/` and `assets/source/css/`.

No external build tool is required for the submitted free version. If you update a distributed asset in `assets/js/` or `assets/css/`, update the matching readable source file in `assets/source/` at the same time.

== Changelog ==

= 1.3.1 =
* Free edition with essential bottom cookie banner
* Google Tag Manager and optional pixel setup
* Manual cookie definitions and cookie table shortcode
* Mobile Safari viewport positioning fix
