TheAdmin

Adding hubspot tracking code


vill4franca
vill4franca Purchased - Supported
6 months ago

I am having some issues adding the HubSpot tracking code to the website, it keeps breaking the theme. 

https://knowledge.hubspot.com/articles/kcs_article/reports/install-the-hubspot-tracking-code

This links shows you what I need to do.

When I edit the page with Wordpress and add the code it wont show, if I add it a few lines in it break the theme. Any suggestions on this?

TheThemeio
TheThemeio
6 months ago

Hi,

The problem is that you need to add a script tag, not a javascript code. For this purpose, you should modify footer.php file in the theme and add your tracking code directly before </ body> tag. 


Hossein Shams

CEO and Developer at TheTheme.io




You should login to be able to write a reply.