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
- Upload the plugin folder to the /wp-content/plugins/ directory
- Activate the plugin through the WordPress admin panel
- Configure the cookie consent popup
- Add your Google Analytics or Google Tag Manager ID
FAQ
-
Does the plugin require jQuery?
-
No. The plugin is written in pure JavaScript.
-
Does the plugin support Google Consent Mode v2?
-
Yes.
-
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.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Pro-Link Cookie Consent” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Pro-Link Cookie Consent” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
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.
