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 Hotjar Site ID, look at the URL of your browser while you're logged into Hotjar: http://insights.hotjar.com/sites/**[SITE_ID]**/overview.
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, you'll see a notice like the one below appear within Hotjar:
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.