The best way to install Hotjar within your Drupal site is through our manual installation method. There currently is a third-party Drupal Module that can install Hotjar for you, however, since it is a third-party we cannot look into bugs or issues with the module.
Any issues with the module installation should be emailed to the creators of the module.
Drupal Module Installation
Install the Hotjar Module.
A Drupal Module for Hotjar has been developed by a third-party.
If there are any issues with the module installation, please reach out to the owner of the module for help.
Go to Admin/Config/System/Hotjar page and fill in the Hotjar ID field.
To get your ID, look at the URL of your browser while logged into Hotjar: http://insights.hotjar.com/sites/**[SITE_ID]**/dashboard.
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 features: Heatmaps, Recordings, Surveys, and Incoming Feedback. Have a look at the guides below to get started.
- Creating Your First Heatmap with Snapshots
- How to Start Continuous Heatmaps
- How to Start Recordings on Basic Plans
- How to Start Continuous Recordings
- Creating Your First Survey
- Starting to use Incoming Feedback