Filter internal users using IP addresses and a cohort

  • 4 January 2022
  • 2 replies

I would like to implement a reliable way of filtering out events from our internal users.

I am familiar with the FAQ on blocking / filtering internal users here, and previous discussions such as

I would like to use a Behavioural Cohort for this rather than a saved segment as I understand that saved segments do not automatically update charts when the segment itself is updated (

Our internal users use many devices and browsers, often use incognito type modes on browsers, login to our application with multiple accounts, and mostly work remotely. Manually maintaining a list of Amplitude user ids in this situation would be time consuming and very likely to not exclude all internal events.

I am, however, able to automatically and frequently obtain a list of IP addresses in use by our internal users due to all users logging into another application from all the devices they are using.

The API for creating and updating cohorts only allows specifying user ids and no other properties. This is not useful for many cases since there are no APIs to query user ids by other properties.

Is there a way I can automate maintaining a cohort based on a list of IP addresses?


Best answer by ning.chang 7 January 2022, 05:25

View original

2 replies

Userlevel 4
Badge +7

Hey @Dave Porter!

I understand you are exploring a more automatic way of creating and maintaining a cohort of users via API based on their IP addresses. This is not possible currently in the platform, but our product team is very open to learning more about user feedback for our future roadmap! 

I will encourage you to submit your product feedback and this use case in our section :) 


Thanks for helping with this!