HubSpot Cookie Banner Not Sending Consent to Google Tag Manager on WordPress
Hi all,
I’m looking for help or confirmation from anyone who has successfully integrated HubSpot’s new cookie consent tools with Google Tag Manager (GTM) and GA4 — specifically on WordPress sites.
Here's my setup:
- Main website is built on WordPress
- Subdomains for blog and landing pages (`blog.`, `info.`) are on HubSpot CMS
- I’m using HubSpot’s new consent management features across all domains
- Google Tag Manager and Google Analytics 4 are integrated
- GTM config tag is set to fire on Consent Initialization
- Consent banner visibly shows upon WordPress and works from the user’s perspective
The issue:
Even though the banner shows on WordPress, it seems like no consent signal is actually passed to GTM/GA4. Specifically:
- My GA4 event tags fire in GTM Preview Mode
- But no events appear in GA4 DebugView
- I confirmed that "debug_mode: true" is set on my GA4 config tag
- I ran this in the browser console after clicking “Accept” on the banner:
HubSpot Cookie Banner Not Sending Consent to Google Tag Manager on WordPress
Hey, @Kec415👋 Welcome to our community. Thanks for including your troubleshooting steps. I'd like to invite some of our community experts to the conversation— @Kevin-C@SteveHTM@jonchim, do you have any additional troubleshooting steps you can recommend to @Kec415? I know for me, GTM is one area I struggle with for sure. Thanks for taking a look! — Jaycee
HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates. Learn More.
Did you know that the Community is available in other languages? Join regional conversations by changing your language settings !