Pro-Link Cookie Consent

Apraksts

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

Uzstādīšana

  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

BUJ

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.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Pro-Link Cookie Consent” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Pro-Link Cookie Consent&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0.0

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