- Optimizely Web Experimentation
- Optimizely Personalization
- Optimizely Performance Edge
IP filtering lets you exclude certain IP ranges from showing up in your experiment results. This is also how you can exclude yourself or your company from experiment results.
IP Filtering does not prevent you from seeing an experiment; it filters you and your actions out from the results page. To exclude IP ranges from being included in experiments, see IP Address Audience conditions.
IP filtering
IP filtering is done at the project level. If you have a staging server and a live page, you might want to keep them in separate projects so that you do not have to turn IP filtering on and off.
To access IP Filtering, go to Settings > Advanced. Under Results Filtering, enter the IP(s) that you do not want to be counted in your experiment results.
The IP filtering option lets you exclude as many IPs as necessary in a single line. Bear in mind that you should be using your public IP address.
IP filtering is applied at the time you review the results page regardless of when the experiment or campaign was started. Even if you already have experiments or campaigns running prior to adding IP filtering to the project, the filter is applied when you view the results page.
Set up multiple IPs to be filtered
If you are filtering just one IP address, you can enter it normally. If you need to enter multiple IPs, you can also use regex. To separate multiple IP addresses, add a vertical pipe ("|"), between them. You are not required to use any special characters if you are entering a single address.
An example of an IP filter for two IP addresses would be: ^34\.1\.213\.45$|^90\.100\.5\.73$
Any additional IPs would also need a | between them to separate them. There is no limit on the number of IP addresses you can add. You are only limited by the 1500 character limit.
Set up an IP filter range
You can use regex to create an IP range easily without having to enter every IP address in it.
For example, if you wanted to filter out the IP range 206.23.100.50
to 206.23.100.150
you would want to use a regex range instead of writing in every single IP address for that range. Using regex this would end up looking like this: ^206\.23\.100\.([5-9][0-9]|1([0-4][0-9]|50))$
Please sign in to leave a comment.