Exclude the internal by IP | Community
Skip to main content
Amruthesh_AG
Community Advisor
Community Advisor
December 23, 2024
Solved

Exclude the internal by IP

  • December 23, 2024
  • 3 replies
  • 1808 views

Hi Team,

 

I am having requirement that I need exclude the distributers traffic based on IP address and need to segment and exclude the traffic.

Client is having more than 100 IP addresses. How can we achieve this?

Can we capture the user IP address and send it to adobe analytics then can create a segment using those 100 IP address and then can exclude? will it cause any PII complains?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

Capturing IP Addresses really depends on where your site operates and the legal needs that you need to fulfil, even replacing the last Octet may not be enough for you... you will need to check with your own legal team on that.

 

That said, have you considered working with your developers to create logic based on the IP Address and just have them pass a simple "true" or "false" if the IP is considered internal? Rather than trying to collect the IP address and create logic on it later?

 

Classifications would of course allow you to make changes retroactively, but not collecting IP information into your dimensions would avoid a lot of potential legal issues.... 

 

If you really just need a way to segment your internal traffic from your external traffic (and not exclude internals outright), then maybe this would be a future-proof viable option.

3 replies

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 23, 2024

Internal IPs are usually excluded outright.. using the Exclude by IP

 

https://experienceleague.adobe.com/en/docs/analytics/admin/admin-tools/exclude-ip

 

This doesn't require segmentation, nor can you later see the internal traffic as a report...  (unlike Bot traffic which has limited data available).

 

Collecting the IPs as a dimension, then segmenting later could be considered a PII issue in some places... this is why Adobe has features to Obfuscate IPs or replace the last Octet with 0 (as a means of protecting that information).... IP Exclusion is run before those features (if they are turned on)... however, tracking the IP address as a dimension would counter that.

 

Also, what is your plan for capturing the IP address? You cannot read an IP address with JavaScript alone.. You could use Processing Rules to copy the IP Address into a dimension, but this would run after any obfuscation (if enabled) I believe.

 

Even if there are more than 100 IP Addressed, surely they are a range, so you can use that to your advantage in setting up the exclusions?

Amruthesh_AG
Community Advisor
Community Advisor
December 24, 2024

Hi @jennifer_dungan 

Yes, your are right collecting the IP as a dimension, then segmenting later could be considered a PII issue in some places.

If we use Obfuscate IP or replace the last Octet with 0 then use Processing Rules to copy the IP Address into a dimension will not create any PII issue later?

And also want to know how to validate captured IP address are not compliance with PII.

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
December 24, 2024

Capturing IP Addresses really depends on where your site operates and the legal needs that you need to fulfil, even replacing the last Octet may not be enough for you... you will need to check with your own legal team on that.

 

That said, have you considered working with your developers to create logic based on the IP Address and just have them pass a simple "true" or "false" if the IP is considered internal? Rather than trying to collect the IP address and create logic on it later?

 

Classifications would of course allow you to make changes retroactively, but not collecting IP information into your dimensions would avoid a lot of potential legal issues.... 

 

If you really just need a way to segment your internal traffic from your external traffic (and not exclude internals outright), then maybe this would be a future-proof viable option.

juliusonyancha
Level 4
December 23, 2024

Hi @amruthesh_ag I'm wondering if the IP addresses are all within a specific range, could you consider using something like a wildcard indicator to pick all and exclude within that range?

 

From Analytics Workspace > Admin > All admin > Exclude by IP

 

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 23, 2024

Exactly! We have 5 entries here with a wildcard in the last octet to handle our network.

 

It's too bad that we can't also use IP Range notation here... but I suppose IF @amruthesh_ag needs that, they could create a "BOT Rule" for Internal Traffic...  

RiteshY18
Community Advisor
Community Advisor
December 30, 2024

@jennifer_dungan  adding to your  input, better to use server side code  and setup custom value in cookie later  read/store values in evar to bring in consistency across visits