=== Pro-Link Cookie Consent ===
Contributors: przemon
Tags: cookies, gdpr, consent mode, google consent mode, cookie banner, privacy
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight and modern cookie consent plugin for WordPress with Google Consent Mode v2 support.

== Description ==

Pro-Link Cookie Consent is a lightweight WordPress plugin for displaying a cookie consent banner and managing user consent according to Google Consent Mode v2 requirements.

The plugin allows visitors to:

- accept all consents,
- reject analytics and marketing consents,
- save selected consent preferences.

User consent is stored in the browser cookie and automatically updates Google Consent Mode settings.

== Features ==

- Google Consent Mode v2 support,
- modern cookie consent popup,
- accept all consents,
- reject selected consents,
- save selected consent preferences,
- lightweight architecture without external libraries,
- JSON-based consent storage,
- cookie settings popup,
- analytics_storage support,
- ad_storage support,
- ad_user_data support,
- ad_personalization support,
- compatible with Google Analytics and Google Ads,
- no jQuery dependency.

== Supported Consent Types ==

- Necessary
- Analytics
- Marketing

== Google Consent Mode v2 ==

The plugin supports:

- analytics_storage
- ad_storage
- ad_user_data
- ad_personalization

After saving consent preferences, the plugin updates Google Consent Mode using:

gtag('consent', 'update', ...)

== Lightweight Architecture ==

The plugin is written in pure JavaScript without jQuery to ensure fast performance and minimal overhead.

== External services ==

This plugin can optionally connect to Google Analytics and Google Tag Manager services to provide website traffic statistics and consent management functionality.

It loads external JavaScript files from:

https://www.googletagmanager.com/

When enabled and after the visitor grants consent, the plugin may send anonymous visitor data to Google services according to the website owner's configuration.

These services are provided by Google:

Terms of Service:
https://policies.google.com/terms

Privacy Policy:
https://policies.google.com/privacy

== Installation ==

1. Upload the plugin folder to the /wp-content/plugins/ directory
2. Activate the plugin through the WordPress admin panel
3. Configure the cookie consent popup
4. Add your Google Analytics or Google Tag Manager ID

== Frequently Asked Questions ==

= Does the plugin require jQuery? =

No. The plugin is written in pure JavaScript.

= Does the plugin support Google Consent Mode v2? =

Yes.

= Can visitors reject marketing cookies? =

Yes.

= Does the plugin block Google scripts before consent? =

The plugin updates Google Consent Mode settings and can be used together with Google Tag Manager.

= Are consent preferences stored in the database? =

No. Consent preferences are stored in the visitor's browser cookie.

== Changelog ==

= 1.0.0 =

- initial release,
- cookie consent popup,
- Google Consent Mode v2 support,
- analytics and marketing consent support,
- JSON consent storage,
- cookie settings popup.

== Upgrade Notice ==

= 1.0.0 =

Initial stable release.