Looking for the best practice for HubSpot + Cookiebot with GTM and GA
解決
Hello you all!
I use Cookiebot on HubSpot CMS hub website. Cookiebot is integrated with the app.
My question is that should I have GTM and GA integrations done with HubSpot's own Tracking integrations OR should I add GTM script to the Site header HTML and have GA through GTM instead?
And lastly, shoud I implement the cookie consent banner in GTM as well?
I guess, OneTrust and Cookiebot work more or less similar. For the OneTrust cookie banner and everything, I added the script directly to GTM, but I had to manually configure firing triggers in GTM. So, if you already have GTM integration with HubSpot, I suggest putting all of your GA, Cookiebot, consent banner scripts in GTM itself. But make sure, your GTM triggers fire before everything else.
However, it looks like HubSpot takes care of everything after the integration with the Cookiebot. Once the integration is completed through the Cookiebot CMP app, your new cookie consent banner will be shown in your HubSpot CMS. In that case, you don't have to put any cookiebot scripts to GTM or HubSpot.
If you're talking about Google consent mode for Google Analytics, you need to put that Google consent script directly in the HubSpot. I don't know how Cookiebot handles Google consent mode. You don't need to integrate both GTM & GA with HubSpot.
I guess, OneTrust and Cookiebot work more or less similar. For the OneTrust cookie banner and everything, I added the script directly to GTM, but I had to manually configure firing triggers in GTM. So, if you already have GTM integration with HubSpot, I suggest putting all of your GA, Cookiebot, consent banner scripts in GTM itself. But make sure, your GTM triggers fire before everything else.
However, it looks like HubSpot takes care of everything after the integration with the Cookiebot. Once the integration is completed through the Cookiebot CMP app, your new cookie consent banner will be shown in your HubSpot CMS. In that case, you don't have to put any cookiebot scripts to GTM or HubSpot.
If you're talking about Google consent mode for Google Analytics, you need to put that Google consent script directly in the HubSpot. I don't know how Cookiebot handles Google consent mode. You don't need to integrate both GTM & GA with HubSpot.
Looking for the best practice for HubSpot + Cookiebot with GTM and GA
解決
Hi Mia! Thanks for linking this discussion. However, it is mainly about Onetrust so I didn't get my exact answer about Cookiebot usage yet.
So if you or someone else have any more information about how to use Cookiebot with HubSpot and what is the best way to integrate GTM and GA, please let me know!