PXL Consent

WordPress plugin

The PXL Consent plugin for WordPress shows the banner, blocks trackers, and records consent. It works in two modes.

StandaloneConnected
AccountNone neededA site in PXL Consent
Banner settingsIn WordPressIn the PXL Consent dashboard
Consent logIn your WordPress database, hash-chained and signedIn PXL Consent, with independent time-stamps
ScriptServed by your siteServed from the PXL Consent CDN
Cookie scanner and monitoringNoYes
External servicesNonePXL Consent

Install

  1. Upload the plugin zip under Plugins → Add New → Upload Plugin and activate it.
  2. Open Settings → PXL Consent. In standalone mode, adjust the banner and save. The banner goes live straight away.
  3. To connect, enter the site ID from the dashboard's install tab. The plugin then loads the published banner and fetches its configuration every five minutes, keeping a local copy in case the service cannot be reached.

The plugin needs WordPress 6.2 or later and PHP 7.4 or later.

Multisite networks

Network-activate the plugin and open Network Admin → Settings → PXL Consent. The banner, blocking and mode you set there apply to every site, and each site stores only what it changes. Turn on Sites follow the network if site admins should only set their languages, privacy policy link and site ID.

Each site keeps its own signing key and consent log, so records are never mixed between sites. Saving the network settings publishes the new banner on every site, and a new site gets it as soon as it is created. The Overview tab lists each site's mode, languages, banner version and number of records. In connected mode, each site connects to its own site in PXL Consent.

Blocking

Known services are blocked twice: the plugin rewrites them in the HTML before the page is sent, and the script catches anything added later in the browser. Your own tags use the same attributes as on any site; see blocking.

Shortcodes and blocks

ShortcodeBlockShows
[pxl_consent_settings]Consent settings linkA link that reopens the banner
[pxl_cookie_declaration]Cookie declarationThe categories and, in connected mode, the cookies from the latest scan

Other plugins

The plugin implements the WP Consent API, so plugins that support it respect the visitor's choice. It sends Google Consent Mode v2 signals when Consent Mode is turned on.

Languages

The banner is available in Norwegian bokmål and nynorsk, Swedish, Danish, Finnish, Icelandic, English, German, French, Spanish, Italian, Dutch, Polish and Portuguese, and follows the page language, including with WPML and Polylang. Each page is served that language's texts alone: in connected mode the plugin asks the service for the page's language, in standalone mode it signs one copy of the banner per language when it publishes.

Standalone consent log

Every choice is stored as a row whose hash covers the previous row, signed with a key generated on your site. Verify log in the plugin settings checks the whole chain and reports any record that was changed or removed. Export the log as CSV for a data subject request.