Third-party tools may change the installation process
We regularly update our documentation when we make changes to Hotjar, and do check our most popular install guides, but sometimes third-party tools might make changes we're not aware of. In the case of Hubspot, you might find it useful to refer to their guide to adding to snippets to the head of your page, if you encounter any difficulties with this documentation.
In your HubSpot account, click the settings gear icon in the top right of the main navigation bar.
Scroll down the sidebar and click on Website, then click on Pages.
Select the domain you want to modify.
Log in to Hotjar and from your Sites page find the same domain and copy the Tracking Code.
Paste the Hotjar Tracking Code in the Site header HTML section.
Click Save.
Your Hotjar Tracking Code is now installed.
Once you have added the Hotjar Tracking Code on your site, you will need to wait a few minutes for Hotjar to check if it is installed correctly. This usually happens the moment your site is loaded with the Hotjar Tracking Code on it (you can visit the page yourself to speed it up). Once Hotjar has detected the Tracking Code on your site, the Site overview will show a notice like the one below:
Keep the Tracking Code in mind when making design changes
If your website undergoes a major design change after installing the Hotjar Tracking Code, check to ensure your Tracking Code is still installed.