Backtest a Rule
A backtest replays real past events through a draft event rule and shows what it would have awarded. It compares the draft with the published version, so you can see the cost of a change before customers see it. Nothing is awarded or stored.
For example, a coffee chain plans to raise purchase points from 1 to 2 per dollar. A 90-day backtest shows the draft would have awarded 410,000 points against the published version's 205,000, across the same 8,200 customers.
Before you start
Only a saved draft can be backtested. Save your changes first: a backtest runs the saved draft, not unsaved edits.
Run a backtest
- Open Engage, then Event Rules, and open the rule.
- Expand the Backtest section.
- Choose a Window: 30 days, 90 days, 180 days or 365 days, ending now. Or choose Custom and set a Start date and End date. Custom windows are whole days in UTC, both dates included, up to 365 days.
- Select Run backtest.
Read the result
- Cost change against the published version shows, per currency, how much more or less the draft awards.
- How to read these numbers lists notes that apply to this run, such as Upper bound or Current customer values, each with a line explaining what it means for these numbers.
- Totals shows how many events each version fires on and for how many customers, with three amounts per currency: the draft and published versions before caps, and Actual, what was awarded after caps.
- Customers shows how many customers only the draft or only the published version would reward.
- Top customers lists the customers the draft awards the most, in its first currency, with the published amount and the difference beside it when there is a published version.
If a part of the rule can't be replayed, the result marks it Not supported. Engine errors means some events would fail under the draft; fix the rule before you publish.