Go to the Content > Content Settings section of Hubspot.
In the Modifying dropdown, select a Specific domain or select All domains.
Go to Hotjar.com to copy the Tracking Code from the Hotjar admin.
Paste the Hotjar Tracking Code in the Site header HTML section
If you HAVEN'T specified any particular header and footer for any of your subdomains, you can put the Hotjar tracking code under the default for all domains option.
If you HAVE already specified a specific header and footer for your subdomain, select that domain from the drop down and paste the Hotjar Tracking Code in the header section for it.
Click Save at the bottom left.
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 Dashboard will show a notice like the one below:
After making major design changes, check to ensure your Tracking Code is still installed.
If sometime after installing the Tracking Code your website undergoes a major design change where themes and template files are replaced or content in your <head></head> tags or anywhere else the Tracking Code is installed, are replaced, it's a possibility you will need to re-install the Tracking Code.
Once your Tracking Code is installed
You can start using any of Hotjar's 8 features: Heatmaps, Recordings, Forms, Funnels, Polls, Surveys, Recruiters and Incoming Feedback. Have a look at the guides below to get started.
- Creating Your First Heatmap Report
- How to Start Recordings
- Creating Your First Form Report
- Creating Your First Funnel Report
- Creating Your First Poll
- Creating Your First Survey
- Creating Your First Recruiters Widget
- Starting to use Incoming Feedback