Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to exclude IP address for an AP test?

Avatar

Avatar
Validate 1
Level 1
abhilashs786367
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
abhilashs786367
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
abhilashs786367
Level 1

05-07-2017

I want to exclude the following IP's to exclude from AP test? Can i exclude them in the audience?

162.115.0.0 - 162.115.255.255

137.188.0.0 - 137.188.255.255

72.96.0.0 - 72.127.255.255

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
MVP
Amit_Kumar
MVP

Likes

329 likes

Total Posts

649 posts

Correct Reply

231 solutions
Top badges earned
Validate 10
Validate 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Validate 10
MVP
Amit_Kumar
MVP

Likes

329 likes

Total Posts

649 posts

Correct Reply

231 solutions
Top badges earned
Validate 10
Validate 1
Establish
Give Back 50
Give Back 5
View profile
Amit_Kumar
MVP

05-07-2017

Hi,

Knowledge base article already answers this question:

Adobe Target Help | How to create audiences based on specific IP using Profile scripts in Adobe Targ...

All you have to do is modify the script given there.

var strIp= user.header('x-cluster-client-ip');

var res = /^(192.236.17.44)$/.test(strIp);// change this to match the list of you IP address

if (res)

{

return "Invalid IP";

}

else

{

return "Valid IP";

}

The idea is very Simple, Create a default test segment for all IP address so that this will not impact you reporting or anything.

Regards,

Amit

Answers (0)