Install the Module.
A Drupal Module developed by a third-party is available here: https://www.drupal.org/project/hotjar.
Enter your Hotjar Site ID.
Having installed the module, go to Admin/Config/System/Hotjar page and fill in the Hotjar ID field. This is your Hotjar Site ID.
To get your ID, look at the URL of your browser whilst you're logged into Hotjar: http://insights.hotjar.com/sites/**[SITE_ID]**/dashboard.
See the example below:
Choose where you want Hotjar to load.
You can now set what pages you want the Hotjar Tracking Code to load on. The default is set to add to every page except the listed pages.
Your Hotjar Tracking Code is now installed.
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 (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:
Keep Tracking Code in mind when making design changes
If after you install the Tracking Code, your website undergoes a major design change check to ensure your Tracking Code is still installed.
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