Skip to main content
Solved

Saved Segment Not Working

  • October 25, 2021
  • 7 replies
  • 496 views

Forum|alt.badge.img

I'm running into a problem with a Saved Segment that is not working as expected.  

I have a list of internal users that I actively maintain to ensure charts show user behavior (not internal usage).

 

My Weekly Active Users chart has the “exclude” segment applied, but the chart data contains excluded users.

Best answer by jmagg

Hi @pspan - thank you for writing into the Community! Since I’m not sure exactly what your chart setup looks like, I’ll try to explain what I think is happening -- 

Amplitude is an event-based platform, which means that events are logged with the event properties and the user properties present at the time the event was fired, and this is what populates in the chart.


Let's say you have a group of users who fired event A, and you are analyzing event A in the Event Segmentation chart. At the time they fired event A, their user property gender had not been updated. But now it is updated. Even though gender is updated now for the users, their gender would pull up as (none) when looking at event A since there was no user property associated with gender at the time event A was activated.

So in your situation, perhaps the users you are excluding (user property: email) do not have this property sent with the event you are querying on, which is why they are populating in the chart.

I'd recommend taking a look at these articles to dig deeper into this topic:

  1. How Amplitude updates user properties
  2. Community: Event-Based Analytics

Please let me know if you have any questions!

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

7 replies

jmagg
Team Member
Forum|alt.badge.img+6
  • Team Member
  • 95 replies
  • Answer
  • October 27, 2021

Hi @pspan - thank you for writing into the Community! Since I’m not sure exactly what your chart setup looks like, I’ll try to explain what I think is happening -- 

Amplitude is an event-based platform, which means that events are logged with the event properties and the user properties present at the time the event was fired, and this is what populates in the chart.


Let's say you have a group of users who fired event A, and you are analyzing event A in the Event Segmentation chart. At the time they fired event A, their user property gender had not been updated. But now it is updated. Even though gender is updated now for the users, their gender would pull up as (none) when looking at event A since there was no user property associated with gender at the time event A was activated.

So in your situation, perhaps the users you are excluding (user property: email) do not have this property sent with the event you are querying on, which is why they are populating in the chart.

I'd recommend taking a look at these articles to dig deeper into this topic:

  1. How Amplitude updates user properties
  2. Community: Event-Based Analytics

Please let me know if you have any questions!


Forum|alt.badge.img
  • New Member
  • 1 reply
  • October 29, 2021

@jmagg Is there a reason behind why this happens? After reading your provided articles, it is clear how Amplitude updates properties, but I am running into a similar situation as @pspan. When a user fires the same event on different instances, they may or may not have their UserID assigned to them. In other words, when a user opens our app on a certain day, they might have a UserID assigned. However, when they open the app (thus firing the same exact event) they are not assigned a UserID. It is very confusing and leads to unreliable data.


jmagg
Team Member
Forum|alt.badge.img+6
  • Team Member
  • 95 replies
  • October 29, 2021

Hi @mpAVO - I think it might be best to explore this further in a Support ticket! I’ll ask the Community Admin to create a ticket for you, and I’ll be in touch next week.


Forum|alt.badge.img
  • Author
  • New Member
  • 2 replies
  • October 29, 2021

I’m working with Amplitude support to investigate.  Will update here based on the results.  

While the links provided are a helpful overview of user-based properties and event-based analytics, they do not directly address the problem we’ve run into.  

Our Saved Segment is a list of internal users we want to exclude.  The list is based on User ID -- a primary key that exists for all users and does not change.  We don’t know why a subset of the excluded users appears in charts.  This makes reporting unreliable -- and is undercutting confidence in Amplitude within our org.


jmagg
Team Member
Forum|alt.badge.img+6
  • Team Member
  • 95 replies
  • November 2, 2021

@pspan - have you had the chance to review the email I sent you last week?

@mpAVO - I’ll be messaging you via email right now!


Forum|alt.badge.img
  • Author
  • New Member
  • 2 replies
  • November 3, 2021

@jmagg is a rock star!  She helped us dig into the data to find the specific events where user id was missing for a user we intended to exclude.  We now understand why excluded users were sporadically appearing in our charts -- this happened any time user id was missing for the event in question.  We’ll work with our developers to ensure user id is consistently passed to Amplitude.    


jmagg
Team Member
Forum|alt.badge.img+6
  • Team Member
  • 95 replies
  • November 4, 2021

Thank you for the kind words @pspan & glad we got to the bottom of this!


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