Usage:


In this article, we’ll cover how you can integrate Hotjar to your directory website using Google Tag Manager

Hotjar

Hotjar is an integrated website analytics solution that includes heatmaps of user behavior, session recordings with mouse tracking, conversion funnels, feedback polls, full surveys, and test user engagement. Hotjar can be added to your directory website using Google Tag Manager. To find more information on how to install GTM, please read this article.


1. As soon as you have created the Site in Hotjar, you will be presented with the first step if Hotjar has auto-detected your site has a GTM container. If you do not see the first step, choose the GTM installation.




2. Click on Start setup within the Install with Google Tag Manager box (shown only if a GTM installation is detected on your site).




3. Select the Google account with the GTM container you want to publish Hotjar into.




4. Allow and confirm permissions granted by clicking Allow.




5. Select your GTM Account and Tag Container.




6. Click Create And Publish Tag.




7. Click Confirm and Create.


8. Wait a few minutes, then click Verify Installation.




9. Follow the Verify Installation prompt. You should see a message confirming the installation.



Google Tag Manager Installation


1. As soon as you have created the Site in Hotjar, you will be presented with the first step if Hotjar has auto-detected your site has a GTM container. If you do not see the first step, use the following method of installation from inside Google Tag Manager.




2. Click the tag icon & select Hotjar Tracking Code from the list.




3. Enter your Hotjar Site ID into the text field. To get your Hotjar Site ID, look at the URL of your browser while you're logged in to Hotjar: http://insights.hotjar.com/sites/**[SITE_ID]**/overview.




4. Set up a trigger to control Hotjar.




5. Select All Pages for the trigger (important step).




6. Save your workspace.




7. Click the Submit button on the upper right-hand side of the page.




8. Click on the Publish button to publish the tag.




9. Verify your installation within Hotjar. Keep the 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.



Disclaimer: eDirectory is not affiliated with Hotjar. eDirectory and the eDirectory support team are not responsible for training external integrations and/or third-party tools.