Adding hubspot tracking code

vill4franca Purchased - Supported
2 years agoI 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
2 years agoHi,
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.