Title: PrivacyHub Cookie Consent
Author: privacyhubofficial
Published: <strong>April 29, 2026</strong>
Last modified: May 4, 2026

---

Search plugins

![](https://ps.w.org/privacyhub-cookie-consent/assets/icon-256x256.png?rev=3519027)

# PrivacyHub Cookie Consent

 By [privacyhubofficial](https://profiles.wordpress.org/privacyhubofficial/)

[Download](https://downloads.wordpress.org/plugin/privacyhub-cookie-consent.3.3.10.zip)

 * [Details](https://wordpress.org/plugins/privacyhub-cookie-consent/#description)
 * [Reviews](https://wordpress.org/plugins/privacyhub-cookie-consent/#reviews)
 *  [Installation](https://wordpress.org/plugins/privacyhub-cookie-consent/#installation)
 * [Development](https://wordpress.org/plugins/privacyhub-cookie-consent/#developers)

 [Support](https://wordpress.org/support/plugin/privacyhub-cookie-consent/)

## Description

PrivacyHub Cookie Consent connects your WordPress site to the PrivacyHub consent
platform.

It helps site owners deploy and manage consent banners, block non-essential scripts
until consent is granted, and send Google Consent Mode v2 signals.

Supported banner and framework modes include:

 * Simple banner
 * Enhanced banner
 * IAB TCF for GDPR and ePrivacy use cases
 * US GPP banner for US state privacy use cases

PrivacyHub can be configured for websites operating in or targeting regions such
as:

 * European Union and EEA
 * United Kingdom
 * Switzerland
 * United States
 * Canada
 * Brazil
 * South Africa
 * Australia
 * Singapore
 * Middle East deployments using PrivacyHub regional configurations

Key features:

 * Loads your configured PrivacyHub banner using your Website ID
 * Block-first handling for common analytics, marketing, and preferences scripts
 * Google Consent Mode v2 default and update signaling
 * Optional GA4 and GTM runtime loading after consent
 * Admin settings page for Website ID, script blocking, and Google Consent Mode 
   configuration

#### External services

This plugin connects to external services to load the consent runtime and, when 
configured by the site owner, send Google Consent Mode v2 signals and load Google
tags after consent.

It may contact:

 * `https://api.privacyhub.ai/functions/v1/cookie-consent-script`
 * `https://api.privacyhub.ai/functions/v1/ph` (optional thin loader, when enabled
   by integrators)
 * `https://www.googletagmanager.com/gtag/js` (when a GA4 Measurement ID is configured
   and analytics consent is granted)
 * `https://www.googletagmanager.com/gtm.js` (when a GTM Container ID is configured
   and eligible consent is granted)

What the services are used for:

 * Retrieve and render the configured PrivacyHub consent banner for the current 
   Website ID
 * Apply configured consent behavior for the active site and region setup
 * Process consent-related frontend runtime behavior configured in PrivacyHub
 * Initialize Google Consent Mode v2 defaults and updates
 * Load GA4 or GTM only after the relevant consent state allows it

When they are called:

 * On frontend page loads when the plugin is enabled and a Website ID is configured
 * After consent is granted, if GA4 and/or GTM IDs are configured by the site owner

What is sent:

 * The configured Website ID in the PrivacyHub script request query string
 * Standard browser request metadata automatically sent by the site visitor’s browser
   to the destination host
 * Google tag requests generated by the site owner’s configured GA4 or GTM implementation
   after consent

Service providers:

 * PrivacyHub
 * Google

Service links:

 * PrivacyHub website: https://www.privacyhub.ai/
 * Register: https://www.privacyhub.ai/register
 * Login: https://www.privacyhub.ai/login
 * Privacy policy: https://www.privacyhub.ai/privacy-policy
 * Help center: https://www.privacyhub.ai/help-center/enable-google-consent-mode
 * Google business privacy information: https://business.safety.google/privacy/

#### Asset licensing

The bundled plugin assets in the `assets/` directory are original PrivacyHub branding
assets distributed with this plugin release for use within the plugin admin interface.

## Screenshots

 * [[
 * [[
 * [[
 * [[
 * [[

## Installation

 1. Upload the plugin zip in WordPress or copy the plugin folder to `/wp-content/plugins/`.
 2. Activate **PrivacyHub Cookie Consent**.
 3. Open **PrivacyHub Consent** from the left admin menu.
 4. Enter your PrivacyHub Website ID.
 5. Optionally enter your GTM Container ID or GA4 Measurement ID.
 6. Save settings.

## FAQ

### Do I need a PrivacyHub account?

Yes. You need a PrivacyHub account and Website ID to load the banner.

### Does the plugin work without the PrivacyHub service?

No. The plugin depends on the PrivacyHub service endpoint to load the consent runtime
and banner configuration.

### Does this plugin reload the page after consent?

No. Consent updates are handled in-page. Allowed scripts are released without forcing
a page reload.

### Does it support Google Consent Mode v2?

Yes. The plugin can initialize default GCM signals and apply consent updates when
consent changes.

### Can I use GTM and GA4?

Yes. Configure either or both based on your implementation design.

### Which banner modes can this plugin deliver?

PrivacyHub supports Simple, Enhanced, IAB TCF, and US GPP configurations. The active
banner depends on the region and setup defined in PrivacyHub for the current Website
ID.

### Which privacy regions can it support?

It is designed for multi-region deployments, including EU/EEA, UK, Switzerland, 
US state privacy flows, and other supported PrivacyHub regional configurations.

### What happens if I leave Website ID empty?

The plugin will stay active in WordPress, but it will not load the frontend consent
banner.

### Will this block scripts before consent?

Yes. When script blocking is enabled, the plugin uses a block-first approach for
common analytics, marketing, and preferences scripts until consent allows them.

### Is it multisite compatible?

It can be used in WordPress multisite environments, but each site should be configured
with the correct PrivacyHub Website ID and settings.

### Can I use one product for EU and US consent flows?

Yes. PrivacyHub can serve different banner modes depending on the configured region
and setup.

### Where do I register for PrivacyHub?

You can register at `https://www.privacyhub.ai/register`.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“PrivacyHub Cookie Consent” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ privacyhubofficial ](https://profiles.wordpress.org/privacyhubofficial/)

[Translate “PrivacyHub Cookie Consent” into your language.](https://translate.wordpress.org/projects/wp-plugins/privacyhub-cookie-consent)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/privacyhub-cookie-consent/),
check out the [SVN repository](https://plugins.svn.wordpress.org/privacyhub-cookie-consent/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/privacyhub-cookie-consent/)
by [RSS](https://plugins.trac.wordpress.org/log/privacyhub-cookie-consent/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.3.10

 * Clarified Direct, GTM Template, and Disabled modes in the admin UI.
 * Preserves GTM container loading in GTM Template Mode while preventing direct 
   GA4/gtag injection.
 * Added dynamic helper text for integration mode selection.

#### 3.3.7

 * Aligned plugin and author URIs for WordPress.org submission requirements
 * Scoped the Website ID warning to the plugin page only
 * Reduced promotional wording in the admin page and linked documentation to the
   dedicated plugin page
 * Final metadata and submission cleanup

#### 3.3.5

 * Removed manual textdomain loading and added a languages directory for WordPress.
   org compatibility
 * Added readme Tested up to header for plugin checker compliance
 * Hardened request input handling for admin save notices and hidden pdebug support
 * Minor code-quality cleanup to reduce Plugin Check warnings

#### 3.3.4

 * Removed the customer-facing debug setting from the plugin admin page
 * Debug logging is now a hidden support feature enabled only when the frontend 
   page URL contains `pdebug=true`
 * Fixed production script URL generation so `debug=true` is no longer persisted
   from plugin settings
 * Retained readable admin form input text styling and submission-safe metadata

#### 3.3.2

 * Updated WordPress.org metadata so the stable tag matches the current release
 * Expanded external services disclosure for PrivacyHub and optional Google tag 
   loading
 * Reduced frontend debug log exposure by removing runtime URL logging from the 
   plugin bridge
 * Minor code-quality cleanup for admin page handling and uninstall path

#### 3.3.1

 * Replaced the fragile options.php save path with a dedicated admin-post save handler
 * Added nonce-protected settings save flow with validation notices

#### 3.3.0

 * Added v7-compatible runtime bootstrap with optional thin-loader fallback support
 * Preserved server-side regional banner routing by default using the main runtime
   endpoint
 * Added Website ID UUID validation
 * Added idempotent Google Consent Mode default guard to avoid duplicate initialization

#### 3.2.5

 * Updated WordPress.org contributor to privacyhubofficial
 * Reduced tags to a submission-safe set
 * Cleaned package structure to a single plugin root folder
 * Expanded FAQ for submission readiness

#### 3.2.4

 * Aligned plugin version and Stable tag for WordPress.org submission
 * Added plugin textdomain loading hook
 * Expanded WordPress.org readme with broader regions, external service disclosure,
   and FAQ content

#### 3.2.3

 * Fixed consent normalization for functionality / functional naming alignment

## Meta

 *  Version **3.3.10**
 *  Last updated **1 week ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [CCPA](https://wordpress.org/plugins/tags/ccpa/)[consent management](https://wordpress.org/plugins/tags/consent-management/)
   [cookie consent](https://wordpress.org/plugins/tags/cookie-consent/)[GDPR](https://wordpress.org/plugins/tags/gdpr/)
   [google consent mode](https://wordpress.org/plugins/tags/google-consent-mode/)
 *  [Advanced View](https://wordpress.org/plugins/privacyhub-cookie-consent/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/privacyhub-cookie-consent/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/privacyhub-cookie-consent/reviews/)

## Contributors

 *   [ privacyhubofficial ](https://profiles.wordpress.org/privacyhubofficial/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/privacyhub-cookie-consent/)