Description
Privacyboard is a privacy compliance workspace: documents, vendor list, privacy center and a cookie banner that blocks trackers until visitors agree, with Google Consent Mode v2.
This plugin adds your Privacyboard cookie banner to your WordPress site. Paste the banner ID from Privacyboard (Cookies Install) in Settings Privacyboard: the banner script is then printed first in the head of every page, before other scripts, so it can hold back the trackers it knows until the visitor chooses.
- One setting: your banner ID.
- The banner’s look, texts, languages, regions and blocked services are set in Privacyboard and apply at once, without updating the plugin.
- A shortcode,
[privacyboard_preferences], shows a link that reopens the banner so visitors can change their mind. Withregion="us", the link shows only to visitors from that region, for a “Do Not Sell or Share” link. - Works with caching and optimisation plugins: the banner script is excluded from delaying, deferring and combining in WP Rocket, LiteSpeed Cache, Autoptimize, SiteGround Optimizer and Cloudflare Rocket Loader, so it still runs first.
You need a Privacyboard account (free plan available) with a published cookie banner.
External services
This plugin loads the cookie banner from Privacyboard (https://privacyboard.io), the service where you set up your banner. On every public page, the visitor’s browser downloads the banner script from https://privacyboard.io/cmp/<your banner ID>.js. When the visitor makes a choice, the banner sends Privacyboard a random visitor identifier, the choice (functional, analytics, marketing) and the banner version, so you can prove consent; no IP address is stored. The banner may also report the names of third-party hosts and cookies seen on the page (never their values), so you can declare the tools your site uses.
- Terms of use: https://privacyboard.io/terms
- Privacy policy: https://privacy.privacyboard.io/privacy-policy
- Data processing terms: https://privacyboard.io/dpa
Installation
- Install and activate the plugin.
- In Privacyboard, open Cookies Install and copy your banner ID.
- In WordPress, open Settings Privacyboard, paste the ID and save.
- Publish your banner in Privacyboard.
If another plugin or your theme also adds a Privacyboard script, remove it so the banner loads only once.
FAQ
-
Does it work with page caching?
-
Yes. The script tag is the same for every visitor; the banner itself decides what to show.
-
Does it work with optimisation plugins that delay or combine JavaScript?
-
Yes. The banner must run before every other script to hold trackers back, so the plugin excludes it from WP Rocket (delay, defer, minify and combine), Autoptimize, SiteGround Optimizer, LiteSpeed Cache and Cloudflare Rocket Loader. With another optimisation tool, exclude
privacyboard.io/cmp/from its JavaScript delay, defer and combine settings. -
On the public pages of your site, not in the WordPress admin.
-
How do visitors change their choice?
-
Add
[privacyboard_preferences]to your footer or privacy page, or any link with thedata-pb-openattribute. Change the text withlabel, for example[privacyboard_preferences label="Manage cookies"]. -
Use
[privacyboard_preferences region="us" label="Do Not Sell or Share My Personal Information"]. The link stays hidden for other visitors. Regions: europe, us, quebec, canada, brazil, chile and other; separate several with commas.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Privacyboard Cookie Banner” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Privacyboard Cookie Banner” 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.1
- Fix: saving the banner ID in Settings Privacyboard showed an “options page not found” error.
1.0.0
- First release.
