{"id":304906,"date":"2026-04-29T19:41:07","date_gmt":"2026-04-29T19:41:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/privacyhub-cookie-consent\/"},"modified":"2026-05-04T04:20:00","modified_gmt":"2026-05-04T04:20:00","slug":"privacyhub-cookie-consent","status":"publish","type":"plugin","link":"https:\/\/sk.wordpress.org\/plugins\/privacyhub-cookie-consent\/","author":23487927,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.3.10","stable_tag":"3.3.10","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"PrivacyHub Cookie Consent","header_author":"PrivacyHub","header_description":"PrivacyHub connector for cookie banners, script blocking, and Google Consent Mode v2.","assets_banners_color":"","last_updated":"2026-05-04 04:20:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.privacyhub.ai\/wordpress-plugin","header_author_uri":"https:\/\/www.privacyhub.ai\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":103,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"3.3.10":{"tag":"3.3.10","author":"privacyhubofficial","date":"2026-05-04 04:20:00"},"3.3.7":{"tag":"3.3.7","author":"privacyhubofficial","date":"2026-04-29 19:48:09"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3519027,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3519027,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["3.3.10","3.3.7"],"block_files":[],"assets_screenshots":{"Screenshot-4.png":{"filename":"Screenshot-4.png","revision":3518906,"resolution":"4","location":"assets","locale":"","width":867,"height":712},"Screenshot-5.png":{"filename":"Screenshot-5.png","revision":3518906,"resolution":"5","location":"assets","locale":"","width":685,"height":747},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3518906,"resolution":"1","location":"assets","locale":"","width":431,"height":250},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3518906,"resolution":"2","location":"assets","locale":"","width":329,"height":250},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3518906,"resolution":"3","location":"assets","locale":"","width":772,"height":74}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[166295,216591,16626,131785,234433],"plugin_category":[],"plugin_contributors":[261449],"plugin_business_model":[],"class_list":["post-304906","plugin","type-plugin","status-publish","hentry","plugin_tags-ccpa","plugin_tags-consent-management","plugin_tags-cookie-consent","plugin_tags-gdpr","plugin_tags-google-consent-mode","plugin_contributors-privacyhubofficial","plugin_committers-privacyhubofficial"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/privacyhub-cookie-consent\/assets\/icon-128x128.png?rev=3519027","icon_2x":"https:\/\/ps.w.org\/privacyhub-cookie-consent\/assets\/icon-256x256.png?rev=3519027","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/privacyhub-cookie-consent\/assets\/screenshot-1.png?rev=3518906","caption":""},{"src":"https:\/\/ps.w.org\/privacyhub-cookie-consent\/assets\/screenshot-2.png?rev=3518906","caption":""},{"src":"https:\/\/ps.w.org\/privacyhub-cookie-consent\/assets\/screenshot-3.png?rev=3518906","caption":""},{"src":"https:\/\/ps.w.org\/privacyhub-cookie-consent\/assets\/Screenshot-4.png?rev=3518906","caption":""},{"src":"https:\/\/ps.w.org\/privacyhub-cookie-consent\/assets\/Screenshot-5.png?rev=3518906","caption":""}],"raw_content":"<!--section=description-->\n<p>PrivacyHub Cookie Consent connects your WordPress site to the PrivacyHub consent platform.<\/p>\n\n<p>It helps site owners deploy and manage consent banners, block non-essential scripts until consent is granted, and send Google Consent Mode v2 signals.<\/p>\n\n<p>Supported banner and framework modes include:<\/p>\n\n<ul>\n<li>Simple banner<\/li>\n<li>Enhanced banner<\/li>\n<li>IAB TCF for GDPR and ePrivacy use cases<\/li>\n<li>US GPP banner for US state privacy use cases<\/li>\n<\/ul>\n\n<p>PrivacyHub can be configured for websites operating in or targeting regions such as:<\/p>\n\n<ul>\n<li>European Union and EEA<\/li>\n<li>United Kingdom<\/li>\n<li>Switzerland<\/li>\n<li>United States<\/li>\n<li>Canada<\/li>\n<li>Brazil<\/li>\n<li>South Africa<\/li>\n<li>Australia<\/li>\n<li>Singapore<\/li>\n<li>Middle East deployments using PrivacyHub regional configurations<\/li>\n<\/ul>\n\n<p>Key features:<\/p>\n\n<ul>\n<li>Loads your configured PrivacyHub banner using your Website ID<\/li>\n<li>Block-first handling for common analytics, marketing, and preferences scripts<\/li>\n<li>Google Consent Mode v2 default and update signaling<\/li>\n<li>Optional GA4 and GTM runtime loading after consent<\/li>\n<li>Admin settings page for Website ID, script blocking, and Google Consent Mode configuration<\/li>\n<\/ul>\n\n<h4>External services<\/h4>\n\n<p>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.<\/p>\n\n<p>It may contact:<\/p>\n\n<ul>\n<li><code>https:\/\/api.privacyhub.ai\/functions\/v1\/cookie-consent-script<\/code><\/li>\n<li><code>https:\/\/api.privacyhub.ai\/functions\/v1\/ph<\/code> (optional thin loader, when enabled by integrators)<\/li>\n<li><code>https:\/\/www.googletagmanager.com\/gtag\/js<\/code> (when a GA4 Measurement ID is configured and analytics consent is granted)<\/li>\n<li><code>https:\/\/www.googletagmanager.com\/gtm.js<\/code> (when a GTM Container ID is configured and eligible consent is granted)<\/li>\n<\/ul>\n\n<p>What the services are used for:<\/p>\n\n<ul>\n<li>Retrieve and render the configured PrivacyHub consent banner for the current Website ID<\/li>\n<li>Apply configured consent behavior for the active site and region setup<\/li>\n<li>Process consent-related frontend runtime behavior configured in PrivacyHub<\/li>\n<li>Initialize Google Consent Mode v2 defaults and updates<\/li>\n<li>Load GA4 or GTM only after the relevant consent state allows it<\/li>\n<\/ul>\n\n<p>When they are called:<\/p>\n\n<ul>\n<li>On frontend page loads when the plugin is enabled and a Website ID is configured<\/li>\n<li>After consent is granted, if GA4 and\/or GTM IDs are configured by the site owner<\/li>\n<\/ul>\n\n<p>What is sent:<\/p>\n\n<ul>\n<li>The configured Website ID in the PrivacyHub script request query string<\/li>\n<li>Standard browser request metadata automatically sent by the site visitor's browser to the destination host<\/li>\n<li>Google tag requests generated by the site owner's configured GA4 or GTM implementation after consent<\/li>\n<\/ul>\n\n<p>Service providers:<\/p>\n\n<ul>\n<li>PrivacyHub<\/li>\n<li>Google<\/li>\n<\/ul>\n\n<p>Service links:<\/p>\n\n<ul>\n<li>PrivacyHub website: https:\/\/www.privacyhub.ai\/<\/li>\n<li>Register: https:\/\/www.privacyhub.ai\/register<\/li>\n<li>Login: https:\/\/www.privacyhub.ai\/login<\/li>\n<li>Privacy policy: https:\/\/www.privacyhub.ai\/privacy-policy<\/li>\n<li>Help center: https:\/\/www.privacyhub.ai\/help-center\/enable-google-consent-mode<\/li>\n<li>Google business privacy information: https:\/\/business.safety.google\/privacy\/<\/li>\n<\/ul>\n\n<h4>Asset licensing<\/h4>\n\n<p>The bundled plugin assets in the <code>assets\/<\/code> directory are original PrivacyHub branding assets distributed with this plugin release for use within the plugin admin interface.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin zip in WordPress or copy the plugin folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate <strong>PrivacyHub Cookie Consent<\/strong>.<\/li>\n<li>Open <strong>PrivacyHub Consent<\/strong> from the left admin menu.<\/li>\n<li>Enter your PrivacyHub Website ID.<\/li>\n<li>Optionally enter your GTM Container ID or GA4 Measurement ID.<\/li>\n<li>Save settings.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20a%20privacyhub%20account%3F\"><h3>Do I need a PrivacyHub account?<\/h3><\/dt>\n<dd><p>Yes. You need a PrivacyHub account and Website ID to load the banner.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20work%20without%20the%20privacyhub%20service%3F\"><h3>Does the plugin work without the PrivacyHub service?<\/h3><\/dt>\n<dd><p>No. The plugin depends on the PrivacyHub service endpoint to load the consent runtime and banner configuration.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20reload%20the%20page%20after%20consent%3F\"><h3>Does this plugin reload the page after consent?<\/h3><\/dt>\n<dd><p>No. Consent updates are handled in-page. Allowed scripts are released without forcing a page reload.<\/p><\/dd>\n<dt id=\"does%20it%20support%20google%20consent%20mode%20v2%3F\"><h3>Does it support Google Consent Mode v2?<\/h3><\/dt>\n<dd><p>Yes. The plugin can initialize default GCM signals and apply consent updates when consent changes.<\/p><\/dd>\n<dt id=\"can%20i%20use%20gtm%20and%20ga4%3F\"><h3>Can I use GTM and GA4?<\/h3><\/dt>\n<dd><p>Yes. Configure either or both based on your implementation design.<\/p><\/dd>\n<dt id=\"which%20banner%20modes%20can%20this%20plugin%20deliver%3F\"><h3>Which banner modes can this plugin deliver?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"which%20privacy%20regions%20can%20it%20support%3F\"><h3>Which privacy regions can it support?<\/h3><\/dt>\n<dd><p>It is designed for multi-region deployments, including EU\/EEA, UK, Switzerland, US state privacy flows, and other supported PrivacyHub regional configurations.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20leave%20website%20id%20empty%3F\"><h3>What happens if I leave Website ID empty?<\/h3><\/dt>\n<dd><p>The plugin will stay active in WordPress, but it will not load the frontend consent banner.<\/p><\/dd>\n<dt id=\"will%20this%20block%20scripts%20before%20consent%3F\"><h3>Will this block scripts before consent?<\/h3><\/dt>\n<dd><p>Yes. When script blocking is enabled, the plugin uses a block-first approach for common analytics, marketing, and preferences scripts until consent allows them.<\/p><\/dd>\n<dt id=\"is%20it%20multisite%20compatible%3F\"><h3>Is it multisite compatible?<\/h3><\/dt>\n<dd><p>It can be used in WordPress multisite environments, but each site should be configured with the correct PrivacyHub Website ID and settings.<\/p><\/dd>\n<dt id=\"can%20i%20use%20one%20product%20for%20eu%20and%20us%20consent%20flows%3F\"><h3>Can I use one product for EU and US consent flows?<\/h3><\/dt>\n<dd><p>Yes. PrivacyHub can serve different banner modes depending on the configured region and setup.<\/p><\/dd>\n<dt id=\"where%20do%20i%20register%20for%20privacyhub%3F\"><h3>Where do I register for PrivacyHub?<\/h3><\/dt>\n<dd><p>You can register at <code>https:\/\/www.privacyhub.ai\/register<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.3.10<\/h4>\n\n<ul>\n<li>Clarified Direct, GTM Template, and Disabled modes in the admin UI.<\/li>\n<li>Preserves GTM container loading in GTM Template Mode while preventing direct GA4\/gtag injection.<\/li>\n<li>Added dynamic helper text for integration mode selection.<\/li>\n<\/ul>\n\n<h4>3.3.7<\/h4>\n\n<ul>\n<li>Aligned plugin and author URIs for WordPress.org submission requirements<\/li>\n<li>Scoped the Website ID warning to the plugin page only<\/li>\n<li>Reduced promotional wording in the admin page and linked documentation to the dedicated plugin page<\/li>\n<li>Final metadata and submission cleanup<\/li>\n<\/ul>\n\n<h4>3.3.5<\/h4>\n\n<ul>\n<li>Removed manual textdomain loading and added a languages directory for WordPress.org compatibility<\/li>\n<li>Added readme Tested up to header for plugin checker compliance<\/li>\n<li>Hardened request input handling for admin save notices and hidden pdebug support<\/li>\n<li>Minor code-quality cleanup to reduce Plugin Check warnings<\/li>\n<\/ul>\n\n<h4>3.3.4<\/h4>\n\n<ul>\n<li>Removed the customer-facing debug setting from the plugin admin page<\/li>\n<li>Debug logging is now a hidden support feature enabled only when the frontend page URL contains <code>pdebug=true<\/code><\/li>\n<li>Fixed production script URL generation so <code>debug=true<\/code> is no longer persisted from plugin settings<\/li>\n<li>Retained readable admin form input text styling and submission-safe metadata<\/li>\n<\/ul>\n\n<h4>3.3.2<\/h4>\n\n<ul>\n<li>Updated WordPress.org metadata so the stable tag matches the current release<\/li>\n<li>Expanded external services disclosure for PrivacyHub and optional Google tag loading<\/li>\n<li>Reduced frontend debug log exposure by removing runtime URL logging from the plugin bridge<\/li>\n<li>Minor code-quality cleanup for admin page handling and uninstall path<\/li>\n<\/ul>\n\n<h4>3.3.1<\/h4>\n\n<ul>\n<li>Replaced the fragile options.php save path with a dedicated admin-post save handler<\/li>\n<li>Added nonce-protected settings save flow with validation notices<\/li>\n<\/ul>\n\n<h4>3.3.0<\/h4>\n\n<ul>\n<li>Added v7-compatible runtime bootstrap with optional thin-loader fallback support<\/li>\n<li>Preserved server-side regional banner routing by default using the main runtime endpoint<\/li>\n<li>Added Website ID UUID validation<\/li>\n<li>Added idempotent Google Consent Mode default guard to avoid duplicate initialization<\/li>\n<\/ul>\n\n<h4>3.2.5<\/h4>\n\n<ul>\n<li>Updated WordPress.org contributor to privacyhubofficial<\/li>\n<li>Reduced tags to a submission-safe set<\/li>\n<li>Cleaned package structure to a single plugin root folder<\/li>\n<li>Expanded FAQ for submission readiness<\/li>\n<\/ul>\n\n<h4>3.2.4<\/h4>\n\n<ul>\n<li>Aligned plugin version and Stable tag for WordPress.org submission<\/li>\n<li>Added plugin textdomain loading hook<\/li>\n<li>Expanded WordPress.org readme with broader regions, external service disclosure, and FAQ content<\/li>\n<\/ul>\n\n<h4>3.2.3<\/h4>\n\n<ul>\n<li>Fixed consent normalization for functionality \/ functional naming alignment<\/li>\n<\/ul>","raw_excerpt":"Cookie consent banners, script blocking, and Google Consent Mode v2 for GDPR, UK\/Swiss privacy, US state privacy, and more.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/304906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=304906"}],"author":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/privacyhubofficial"}],"wp:attachment":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=304906"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=304906"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=304906"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=304906"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=304906"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=304906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}