Excluding IP addresses enables you to avoid tracking certain IP ranges on the webpages where the VWO code is running. For example, you may want to exclude yourself and the other users from being tracked by VWO to optimize your report data.
Visitors trying to access any VWO test, heatmaps, Recordings, Surveys, Goals, or Funnels from the IP addresses added in the section IP Addresses to Exclude will not be tracked. Their behavior will not be included in the reports and eliminate any skew caused by it. This ensures that the reports are populated only by target visitors.
How Does IP Exclusion work in VWO?
When you add an IP address to the exclusion list, VWO performs the contains check instead of the exact match. For example:
- For IPv4, if you enter the IP address as 8.8.8.5 in the exclusion list, VWO’s IP matching criteria will match true for 8.8.8.5, 18.8.8.5, 28.8.8.5, 8.8.8.50, 8.8.8.51, etc.
- For IPv6, if you enter 2401:4900:60f3, VWO will match any addresses containing this, such as r601:2401:4900:60f3::8a2f, 2401:4900:60f3::8a2e:abcd, etc.
This enables you to exclude ranges of IP addresses, such as your office IP range, to ensure internal traffic is not tracked in your VWO experiment.
If you want to match an exact IP address (instead of a range), use regular expressions (regex). For instance:
- For IPv4, to exactly match the address 8.8.8.5, use the regex ^8.8.8.5$.
- For IPv6, to exactly match the address 2401:4900:60f3:229d:acb4:23a2:fadc:8b72, use the regex ^2401:4900:60f3:229d:acb4:23a2:fadc:8b72$.
You can also use regular expressions to exclude a range of IP addresses by defining a regex pattern. To learn how to build your IP Regular Expression, use this tool.
Prerequisite
You must have Admin rights to the main workspace to add or edit IP Addresses for exclusion. Users with only Publish or Browse access privilege can view the list but cannot add or edit the list.
Procedure
- Log in to your VWO account.
- Click the gear icon ⚙ on the top right, and go to Accounts > Privacy Center.
- Go to the IP Addresses to Exclude section, and in the text box under Add IP addresses each separated by a new line:, add the IP addresses which you want to be excluded.
- Click Save.
You can also use regular expressions to include a range of IP addresses. To learn how to build your IP Regular Expression, click here.