Skip to main content
Solved

Disable tracking for specific group of users (i.e. by country)

  • November 10, 2023
  • 1 reply
  • 472 views

Hello, everyone! I'm trying to reduce the number of MTUs by disabling the ability to send events for users from some countries. Maybe someone has already done this? I'm interested in how exactly you did it. From the SDK or web console side?

Best answer by Saish Redkar

Hi @Alexandr Gor 

You can disable tracking for the country property in the SDK, but I don’t think selective country filtering is possible on the SDK side on the user level.

Block filters are helpful, but you can block this only on the event level using IP address.

If you have a list of spammy user ids, then Amplitude Support Team can enable blocking future events from these on their backend. But not sure if they can enable this using the specific country value.

The only other option is to have your instrumentation code do some country value check before logging these events to Amplitude.

 

 

 

View original
Did this topic help you find an answer to your question?

1 reply

Saish Redkar
Expert
Forum|alt.badge.img+10
  • Expert
  • 1380 replies
  • Answer
  • November 10, 2023

Hi @Alexandr Gor 

You can disable tracking for the country property in the SDK, but I don’t think selective country filtering is possible on the SDK side on the user level.

Block filters are helpful, but you can block this only on the event level using IP address.

If you have a list of spammy user ids, then Amplitude Support Team can enable blocking future events from these on their backend. But not sure if they can enable this using the specific country value.

The only other option is to have your instrumentation code do some country value check before logging these events to Amplitude.

 

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings