APIs & Integrations

Anouk
Member

Cookie consent Google Tag Manager

Dear community,

 

I use an external Cookie banner instead of the Hubspot Cookie banner on my website (I also host my website in Hubspot). With Google Tag Manager I'm able to adjust all the third party cookies, like Google Analytics, Facebook, etc. 

I'd like to use the Hubspot consent cookies as well (for tracking visitors, etc.), but I don't know how I adjust these cookies into a tag in Google Tag Manager. I do know how to trigger. I just do not seem to get how to code a Hubspot consent cookie for implementing in Google Tag Manager. 

 

Thanks in advance.

 

Kind regards,

Anouk van den Hof

0 Upvotes
2 Replies 2
SOuazana
Contributor | Platinum Partner
Contributor | Platinum Partner

Cookie consent Google Tag Manager

Hello @Anouk , did you succeed to do it ? Having the same issue. Thank you

Sandra Ouazana
0 Upvotes
WendyGoh
HubSpot Employee
HubSpot Employee

Cookie consent Google Tag Manager

Hey @Anouk,

 

For this, you may want to check out our Get privacy consent status javascript callback function. Hope this helps!