IP Address based targeting With Header-level Keys


How to create an AAM trait based on an IP address


To target a user on their IP address, create a Trait Expression using one of the examples below:

1.  By using Regular Expression:

Key = “h_ip”              matchesregex                   value= “(172.(16-9|20-9|30-1)(.0-9{1,3}){2}|192.168(.0-9{1,3}){2}|$”

The above example will look for IP addresses typically found in internal networks (172’s ,192.168, and

2.  By using endswith Operator

Key = “h_ip”       endswith              value = “0”

3.  For exact Ip Address

Key= “h_ip”        ==           value””

On this page