Following the tips below should help Hotjar work with many types of staging server and localhost setups, but because Hotjar is only able to provide support for servers that are publicly accessible, we can’t guarantee this will solve every issue.
Tips for using Hotjar on Staging Servers and Localhost
In order to have Hotjar run correctly on your Staging Server or Localhost we suggest these 3 tips:
- Your site needs to be accessible from our servers. Having your site publicly available and not behind a firewall is best, however, if it isn’t, Hotjar’s domains must be whitelisted and have access to collect assets/HTML from the site.
- Your site needs to use valid HTTPS certificates if it uses HTTPS. We cannot guarantee self-certifications will allow our tracking code to work correctly.
- Whatever computer you are using to view your data, the IP needs to have access to your site. All elements, such as CSS, will need to be accessible to the person viewing the Recording to show correctly.
Exceptions to take into consideration
- Our Forms feature currently loads the page you enter in a headless browser which parses the HTML to detect Forms. If the page is not publicly available, Hotjar wouldn't be able to access the HTML of that page and in turn, will not find any Forms.