After installing the Tracking Code, you will be able to verify the installation within Hotjar. If Hotjar shows as inactive after you installed the Tracking Code, there are a few reasons this could be happening. Below are the common issues and how to resolve them.
Verification is not working
There are 3 common reasons why the verification is not working properly:
- The Tracking Code has not been installed on your website.
Solution: follow one of our installation guides to help you install the Tracking Code.
- The code was added incorrectly.
Solution: To find out if you’ve installed the Tracking Code properly, follow these steps. Avoid pasting the code in word processors and other text editing programs before pasting on your site as these programs tend to automatically alter the content of the code for styling.
If you are not seeing any requests in the developer tools, the Tracking Code has not been installed properly. Try adding the Tracking Code once again.
- No traffic to your site.
Solution: Hotjar verifies tracking as being active if it detects at least one visit in the past hour. If your site hasn’t had any visitors within the past hour(s), this could be due to low traffic to your site or perhaps that the Tracking Code isn’t installed.
If you didn't block your IP in your Hotjar account and you don't have Do Not Track enabled in your browser, you can browse the pages of your site to trigger the activation. Once you do that, refresh your Hotjar dashboard after 2-3 minutes to see if you’ve triggered the activation.
If it’s still not working, follow this guide to make sure that your Tracking Code is installed on your site.
Data being collected is of a different site
You have multiple sites in your account
Solution: If this is the case, there is a chance that you have added the incorrect Tracking Code and may be seeing data from another site or no data at all. Within Hotjar, you can find the correct Tracking Code for your site in the Sites & Organizations page by clicking on the 'Tracking Code' button next to the site URL.
Compare the Tracking Code, specifically the Site ID, that’s present on your website to the tracking code you’ve just copied. If the Site ID is different, then you can confirm that you have added the wrong Tracking Code. Remove the Tracking Code that is present on your site by retracing your installation steps, then paste the correct Tracking Code on your website.
Hotjar suddenly stopped collecting data
Your site has undergone major design change
Solution: Sometimes during this process, the Tracking Code is accidentally removed.To confirm the Tracking Code is not present due to any of the changes mentioned above, verify the installation within Hotjar. If the verification fails, add the Tracking Code to your site by following one of our installation guides.
Hotjar Suddenly Stopped Working with Google Tag Manager
Check that you have Published the version of your GTM script with the Hotjar Tracking Code installed. More tips on troubleshooting GTM installation here.
Hotjar is not tracking all pages
Hotjar is tracking some pages, but not all
Solution: To check if Hotjar is installed on a specific page, follow these steps while on the page. If there are no requests in the developer tools, the Tracking Code is not installed. To install the Tracking Code, you can use one of these installation guides.
Missing pageviews due to sampling
If the Tracking Code is installed on all pages but you’re getting limited pageviews, this may be due to sampling.