- View users who listen to Madonna’s albums more often than any others, so you can recommend a similar album
- Filter users who book cab rides from your app between 10 AM to 12 PM at least 40% of the time, so you can send more coupons to them around that time period
- Find the bottom 20% of users who book hotels on a weekday, and send them discounts to incentivize weekend bookings
- View the top 10% of users who read political news to recommend better articles for them on your app
- Navigate to the MoEngage Dashboard Segment on the sidebar
- Click on Create Segments.
The Create Segments page is displayed.
- Click User Affinity and select the event from the drop-down list.
- From the drop-down list, select one of the following affinity filters:
- Predominantly For more information, refer to Predominantly.
- Minimum of For more information, refer to Minimum of.
- Most no. of times For more information, refer to Top users or Bottom users.
- Least no. of times For more information, refer to Top users or Bottom users.
- Select the attributes used with the affinity filter.
- Click Show Count to show the count of users in the affinity segment.
Affinity Filters
Predominantly
Any user that performs a certain action (from the selected attribute values) more times than all other attribute values is said to perform the action predominantly. For instance, a user has bought 10 books through your e-commerce app, out of which 5 are thrillers, 3 are biographies, and 2 are self-help. In this case, the predominant genre is thrillers. Another user, who has purchased 25 books, could have 15 books in the thriller genre, 4 biographies, and 6 self-help. In this case, too, the predominant genre is thrillers, even though the minimum number of books purchased varies. The ‘Predominantly’ filter helps you segment your users based on fluid filters that realistically reflect your users’ actions. It’s important to note that there is no minimum number of times an event needs to be performed, nor does the most frequent action need to beat others by a specific margin, for a user to qualify. As long as it’s the most performed action, even by a small difference, the user is included. Even a single instance of an event with a particular attribute value can lead to a user being included in that segment if no other attribute value for that event has occurred. Furthermore, in the case of a tie in the number of times different attribute values occur for an event, the user will qualify for all the corresponding ‘Predominantly’ segments. To set up the ‘predominantly’ filter:- In the User affinity tab select event
- Select predominantly, then select attribute and filter condition
- Select the value that should be predominant.



- Filter out users that purchase more T-Shirts compared to other apparel.
- Find users who predominantly transact more than a threshold amount on your payment platform every week compared to other transaction values.
- View users who predominantly purchase groceries between the 1st to 5th of the month, compared to all other grocery orders during the month.
- View the users who predominantly order desserts on Saturday evenings compared to other days of the week.
Minimum of
Segment users based on them performing an action at least x% of times compared to all other actions— this is called the “Minimum of” filter. For example, if you want to send coupons to users who watch movies on your streaming platform—but only to users who watch RomComs at least 25% of the time. The number of movies played is different for different users, but with the ‘Minimum of’ filter, you can select users who have played RomComs for at least a select percentage of the time. To segment users who have executed an action (event) at least for a set percentage of times with an attribute value:- In the User affinity tab, select event, then select For a minimum of & percentage
- Select attribute and filter condition
- Select the value that should be a minimum of the attribute



- Users who book cab rides from 10 AM to 12 PM at least 60% of the time compared to other hours of the day.
- Users who make at least 20% of transactions worth more than a threshold amount in a week compared to other transactions.
- Users whose grocery purchases occur between the 1st and 5th of a month at least 70% of the time compared to other days.
- Users who buy dessert on a Saturday at least 50% of the time compared to other days of the week.
Affinity Attributes (predominantly & Minimum of attributes) only support string and double data types. Affinity Attributes do not support array data types.
Top Users and Bottom Users
Filter the users who are performing an action most no. of times or least number of times. The top or bottom users are determined by the number of times they perform that action when compared to other users.For a user to be eligible for this segment, they must have performed at least one event with the selected action.
- In the User affinity tab, select event, then select Most no. of times or Least no. of times.
- Type the percentage value.

