Hotjar has a built-in verification system that will check if your tracking code is installed and working correctly. In this article, you'll find the steps for verifying your tracking code installation. These steps can be different depending on your Site's current tracking code status which you can check from your Sites page:
- How to verify when the tracking code status says "Not installed"
- How to verify when the tracking code status says "No data received" or "Collecting data"
- FAQ for tracking code verification issues
How to verify when the tracking code status says "Not installed"
Go to your Sites page.
Click on Install tracking code for the relevant Site.
Click on Add code manually.
Click on Verify Installation.
On the Verify installation tab, click on Verify installation.
This button will open a browser window and display a message telling you if Hotjar is installed correctly.
A message saying "Installation successful" should appear. If you're seeing any other messages, visit the tracking code FAQ at the end of this page for further help.
How to verify when the tracking code status says "No data received" or "Collecting data"
Go to your Sites page.
Click on View tracking code for the relevant Site.
On the Verify installation tab, click Verify installation.
This button will open a browser window and display a message telling you if Hotjar is installed correctly.
A message saying "Installation successful" should appear. If you're seeing any other messages, visit the tracking code FAQ at the end of this page for further help.
FAQ for tracking code verification issues
- Why am I seeing "Tracking code not found"?
- How come I'm seeing data from a different site?
- Why has Hotjar suddenly stopped collecting data?
- Why is Hotjar not tracking all pages?
Why am I seeing "Tracking code not found"?
There are 3 common reasons why the verification is not working properly:
-
The tracking code hasn't yet been added to your website or is being blocked by a browser extension
Double-check that the tracking code has indeed been added to your site. To help install the tracking code, follow one of our installation guides.
Ensure any browser extensions that block network requests (e.g. ad blockers) are turned off during the verification process.
-
The tracking code was added incorrectly
To find out if the tracking code was added to your site properly, follow the steps in our Why is My Tracking Code Not Verifying article.
After following that article, if you're not seeing any requests in the developer tools, the tracking code has not been added properly. Try adding the tracking code once again. We also suggest avoiding pasting the code in word processors and other text editing programs before pasting the tracking code on your site as these programs tend to automatically alter the content of the code for styling.
-
No traffic to your site
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 Hotjar after 2-3 minutes to see if you’ve triggered the activation.
If it’s still not working, follow our guide on Why is My Tracking Code Not Verifying to make sure that your tracking code is installed on your site.
How come I'm seeing data from a different site?
-
The tracking code from a different site has been added
It's possible that the incorrect tracking code has been added to your site. You can find the correct tracking code for your site on your Sites page by clicking on the View tracking code link next to the site URL.
Compare the tracking code, specifically the hjid number, that’s present on your website to the tracking code you’ve just copied. If the hjid number is different, then you can confirm that the wrong tracking code has been added. Remove the tracking code that is present on your site by retracing your installation steps, then add the correct tracking code on your website.
Why has Hotjar suddenly stopped collecting data?
-
The tracking code was accidentally removed during an update to your site
Sometimes during website changes, the tracking code is accidentally removed. Check whether the tracking code is still present on your site by following our guide on Why is My Tracking Code Not Verifying?
If the verification fails, you can re-add the tracking code to your site by following one of our installation guides.
Has Hotjar suddenly stopped working with Google Tag Manager?
Check that you have published the version of your Google Tag Manager script with the Hotjar tracking code installed. For more information, take a look at our Google Tag Manager Installation Troubleshooting guide.
Why is Hotjar not tracking all pages?
-
Hotjar is tracking some pages, but not all
To check if Hotjar is installed on a specific page, follow the steps in our guide on Why is My Tracking Code Not Verifying? to check for network requests to Hotjar from your site. If you're not seeing any requests to Hotjar in the developer tools, the tracking code is not installed. To install the tracking code, you can use our installation guide.