Hotjar Learning courses are live 🎓
Hotjar now has a beta training platform with courses on how to get the best out of Hotjar. Try out our How to install the Tracking Code course today!
To get started with this, choose from one of the following four installation methods:
Installation using other platform-specific instructions
If you are using one of the below platforms, we recommend referring to the installation guide for step-by-step instructions:
- Adobe Dynamic Tag Manager
- Google Tag Manager
Manually adding the code to your website
Check if there is a Tracking Code installation guide specific to your platform
Hotjar works with most website creation platforms. To help with installation, first check if we have a specific installation guide for your platform listed in the section above. If you're unable to find your platform, follow the installation steps below for manually adding the code to your website.
Ensure your platform is compatible with Hotjar.
Hotjar works with most website creation platforms. If you aren’t sure if your platform can be used with Hotjar, see our guide on Platforms and Frameworks Not Compatible with Hotjar.
Go to your Sites page.
Click on Install tracking code for the Site you want to track.
Click on Add code manually.
Click on Copy to copy the Tracking Code to your clipboard.
Access your website's code and paste the copied Tracking Code between the <head> </head> tag.
Hotjar works most accurately if the Hotjar Tracking Code is inside the Head tag (<head> </head>) of every page you want to track.
Add the Tracking Code to your website template
We recommend adding the Tracking Code to your website template so that it automatically goes into each page of your site.
Return to your Sites page in Hotjar to verify the installation.
Once you have added the Hotjar Tracking Code to 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 code on it, but there can be a delay before it shows as Collecting data.
For more information and methods to verify your Tracking Code, check out How to Check That Hotjar Is Working.
Having trouble installing the Hotjar Tracking Code?
Visit our articles on How to Check That Hotjar Is Working and Troubleshooting FAQS for Tracking Code Installation for troubleshooting guidance.
Once Your Tracking Code is Installed
You can start using any of the Hotjar tools: Heatmaps, Recordings, Surveys, and Feedback. Have a look at the guides below to get started.