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 IPs.
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.
Note that IP Blocking will not apply to Feedback tools
The IP Block feature is designed to prevent Hotjar's analytics tools from tracking a user, but Feedback widgets and Surveys will be displayed to all targeted users, regardless of your IP Block settings.
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 opting-out or enabling Do Not Track for the user you wish to block. Visit our Opt-out/Do Not Track page for more information.
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.
Only IPv4 addresses can be entered at this time
We are unable to support IPv6 or dynamic IP addresses.
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.
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.