• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Marketing that's efficient and human? That's Loop Marketing.

    Explore HubSpot Academy's 39-video playlist and put it into practice.

    Start learning

GA not being inserted in to the website

MHiggins3
Member

Hi

 

I've got a WordPress site and have integrated the HubSpot chatbot. I've added the Google tracking code to Settings > Pages > Integrations. 

 

However, when a user clicks accept on the cookies, the Google cookie isn't inserted into the site and therefore nothing is being tracked in GA.

 

Thanks

 

Mike

0 Upvotes
2 Accepted solutions
Ben_M
Solution
Key Advisor

The code won't be inserted into the source code once you accept it. The code loads asynchronously through the Hubspot script once the user accepts the cookies. If they don't accept, nothing will track. Would you be able to share a link to a page in question for us to see what is going on?

View solution in original post

0 Upvotes
Shubham_Sharma
Solution
Guide

Hey @MHiggins3 

 

Kindy go through this article here: https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code 

 

Let me know if you have any followup questions!

View solution in original post

0 Upvotes
2 Replies 2
Shubham_Sharma
Solution
Guide

Hey @MHiggins3 

 

Kindy go through this article here: https://knowledge.hubspot.com/reports/install-the-hubspot-tracking-code 

 

Let me know if you have any followup questions!

0 Upvotes
Ben_M
Solution
Key Advisor

The code won't be inserted into the source code once you accept it. The code loads asynchronously through the Hubspot script once the user accepts the cookies. If they don't accept, nothing will track. Would you be able to share a link to a page in question for us to see what is going on?

0 Upvotes