How Computed Traits Work
Every trait on this page follows the same four-step model. Once you recognize it, the tables below read at a glance.Start with an event
A user behavior you already track, such as Store Visit or Order Placed.
Choose a method
Get a trait
A live attribute like Last Store Visited that updates automatically.
Activate it
Use it in segmentation, analytics, Jinja personalization, and Flows.
Start Here
Build these three first. They give you the fastest return and the most reuse across campaigns.Last Store Visited
Last Value · Unlocks store-based marketing right away.
Total Annual Spend
Aggregation · Powers loyalty-tier assignment, no SQL needed.
Favorite Department
Last Value · Makes every category newsletter dynamic.
Browse Traits by Goal
The event and property names in these tables are examples. The exact names in your account depend on how your app tracks data, so you might not find an event named
Store Visit as written here. Check your tracked events and properties under Data before you build a trait, and ask your development team to track any that are missing. For how tracking works, see A Complete Guide to Event Tracking.Store & Channel
Give every message the right context, whether the shopper is online, in-store, or near a branch.Category & Basket
Give merchandisers shopper-level affinity and basket data, without a monthly CSV refresh.Loyalty & Rewards
Turn your loyalty program from spreadsheet admin into always-on marketing with live points and tier attributes.Coupons & Price
Retail margin is thin. These traits let you personalize discounting instead of blanket-discounting.Seasonality & Cadence
Retail is seasonal. These traits reveal each shopper’s personal seasonality, not just the calendar.Related Documentation
Computed traits are used across MoEngage. These guides cover the surfaces referenced in the tables above:- Segments: build audiences from a computed trait’s value.
- Analytics: group and filter user behavior by a computed trait’s value.
- Campaigns and channels: the channels you can reach users on.
- Flows: branch users down different paths based on a trait.
- Message personalization: insert trait values into your content with Jinja.
- Data: how MoEngage collects and manages the event data these traits build on.