Add a condition to the rule of the Monitored traffic (connection_monitor) property in Data Management. Visits from the IP ranges you list stay in your global statistics and receive a label, so you can isolate them in your reports instead of losing them. For example, label your offices "Amsterdam office" and "Paris office" to compare internal visits with customer visits, or to leave them out of an analysis.
If you want to remove this traffic from your statistics altogether, create an exclusion instead, in Data Management > Configuration > Exclusions.
Create a rule
-
Go to Data Management > Data Model > Properties.
-
Open the Monitored traffic (
connection_monitor) property, then open its Property rule tab. -
Leave the existing conditions in place, and click Add a condition.
-
In the "if" section, select IP address and the operator is one of, then enter your IP ranges (see IP address anonymization below, and the available patterns).
-
In the "then" section, set Monitored traffic with a string value, for example "Amsterdam office". This label appears in your reports, so give each location or team its own condition and its own label.
-
Click Save Rules.
Tip: before saving, open the Rule tester tab and enter a sample IP address to check that it comes back with the label you expect.
Note: Data Management rules are not retroactive. They apply to data processed after deployment, with a delay of up to 20 minutes.
IP address anonymization
When IP address anonymization is enabled for your organization, the last segment (last octet) of every IP address is removed before processing. A full address such as 192.0.2.45 never matches, so you can only monitor a range. Enter the range that corresponds to the truncated value, for example "192.0.2.", which covers 192.0.2.0 to 192.0.2.255.
Because the whole range is labeled, check that it only contains your own network. Otherwise, visits from other users of the same range are labeled as monitored traffic too.
Analyze monitored traffic
Monitored traffic is counted in your global statistics. To isolate it, use the Monitored traffic property in Data Query: add it as a dimension to compare each label, or filter on it to keep only monitored visits or leave them out of a report.
To leave monitored traffic out of every analysis, create a segment on Monitored traffic that excludes visits when the property is not empty, then apply it wherever you need it.