How members earn XP
XP accrual is rules, not code. Your organization defines XP rules - data, managed from the console - and the accrual engine evaluates them against every incoming event:- a rule matches an event type (e.g. an
engagement.*orcommerce.*event) plus optional conditions on its fields; - its award is a fixed amount or a formula over event fields, optionally with a per-event cap;
- when several rules match one event, the awards are summed and the most restrictive cap applies;
- rules are versioned with effective time windows - a rule change never rewrites history, it supersedes from a point in time.