Team Members with Admin permission can exclude users, such as people in your office, by IP address. Hotjar uses the outbound public IP address to block devices, so it's important that the IP addresses are public and not internal or private. (Examples of private IP addresses include: 10.x.x.x, 172.16.x.x, 192.168.x.x)
Blocking IP addresses will apply to all Sites within the same Organization. The user that has their IP blocked won't be captured in a session, meaning that a Recording won't be generated, and their visit will also not contribute data to any Heatmaps, and Surveys will still be shown to these visitors, though.
How to add an IP address to be blocked
Click on Settings, then Sites & Organizations
Select the Site you want to block IP addresses for.
Click on the cog icon next to the Site settings you need to edit.
Click on the IP blocking section accordion.
Add the IP addresses you want to block.
Click on Block Your Current IP to block the IP address of your current device. Bear in mind that if you are on a dynamic IP address, this will change.
Click on Block a New IP to add any other IP address. You can add multiple IP addresses to this list by clicking Block a New IP multiple times.
IPs can be added in the following format:
- Simple: A single IP (IPv4) address, such as 192.168.0.1. We do not support IPv6.
- Regular Expression: The field allows you to add a Regular Expression value to target multiple IPs, such as ranges. Learn more about How to Use Regular Expressions to Block Multiple IPs.
Click Save Changes once you have added all IPs you want to block.
The IP addresses added into IP Blocking should stop collecting data for Recordings and Heatmaps immediately.
Can IPs be blocked by a user's country?
Hotjar does not support blocking IP by country. A workaround for this would be to use the Country Recording Filters once your Recording data is collected. This will remove all countries from your Recording list when viewing. Learn more about our filters in What are Recording Filters?
You can save the filter settings in a Segment for easy access to viewing settings for future use.
To protect user privacy, Hotjar does not display IP addresses under any circumstances.
We're fully committed to compliance with the GDPR and have a dedicated resource that can be found here.
Hotjar cannot block dynamic IP addresses
Internet Service Providers often sell static IP addresses at an extra cost, meaning that many users have a dynamic IP address by default. Hotjar is unable to block dynamic IP addresses. Instead, you can prevent Hotjar from collecting data by enabling Do Not Track for the user you wish to block. Visit our Do Not Track page for more information.
Only IPv4 addresses can be entered at this time
We are unable to support IPv6 or dynamic IP addresses.
Safari has a setting that hides IP addresses
Apple's web browser, Safari, has a setting that allows users to hide their IP address, and this causes issues with IP blocking within Hotjar. This applies to Safari browsers on all Apple devices.