Segmenting by events or states

With Leanplum, you can segment based on the events and states specific to user’s activity within your application. Here’s a quick refresher on what each of these data types represent:

  • Events: Anything that can occur in your app. Events include clicking on a link, sharing, purchasing, killing enemies, etc.
  • States: Any part of your app a User can be in for a period of time. For example, some states can include being in a particular level, watching a video, or browsing an In-App store. All states have a time and a duration. The duration is set automatically, when one state begins and the previous one ends.
  • Parameters: Additional data associated with an event or state. For example, if an event is Level 1 complete you could apply a parameter for Level Score.

Occurrences of event or state

  • Definition: The number of times a User has done a given event or state in the User’s lifetime
  • Format: Number
  • Use case: Target Users where Occurrence of main menu is greater than 2

Value of event

  • Definition: The lifetime value applied to the event if one is provided
  • Format: Number
  • Use case: Target Users where Value of Power Used is 100

Time of first occurrence

  • Definition: The first time a User has done an event or state
  • Format: Datetime
  • Use case: Target Users who have their first occurrence of added item to cart is not since 2 days ago (can be days, weeks, hours or MM/DD/YYYY hh:mm)

Time of last occurrence

  • Definition: The last time a User has done an event or state
  • Format: Datetime
  • Use case: Target Users who have a last occurrence of checkout is prior to 1 week ago (can be days, weeks, hours or MM/DD/YYYY hh:mm)

Non-paying User

  • Definition: Selects Users who have a zero or negative lifetime value. This is determined by the monetization event
  • Format: Segment
  • Use case: Target Users who are non-paying Users to re-engage in shopping carts not checked out

Paying User

  • Definition: Selects Users with a positive lifetime value. This is determined by the monetization event.
  • Format: Segment
  • Use case: Target Users who are Paying Users to provide special coupons for discount

Lifetime value

  • Definition: The total lifetime value of the User. This is determined by the User’s total value of the monetization event (see developer documentation here).
  • Format: Number
  • Use case: Target Users who have a lifetime value is between 80 and 100 to target whales.

Was this article helpful?
Have more questions? Submit a request