Event enhancers
Add Loyalty Engine data to event payloads to enable richer reactor conditions.
Event enhancers let you automatically add internal Loyalty Engine data to an event’s payload when that event is reported. This data is included in addition to whatever external data your system sends.
Use event enhancers when you want to build reactor conditions based on Loyalty Engine context — not just what your system provides.
Why use enhancers?
Without enhancers, you can only build logic based on the data you provide when sending the event. With enhancers, you can include internal platform context to:
Target reactors based on current user state (e.g. audience, tier)
Trigger different outcomes for users with different points balances
Avoid duplicating data in your own system just for event reporting
How to enable
You can add event enhancers when configuring an event type in the Loyalty Console. Once enabled, the selected data will be automatically appended to every event payload of that type.

What data can be added?
The following enhancers add specific properties to the event payload before reactor conditions are evaluated and before duplicate detection is applied:
Audience enhancer
The audience enhancer allows you to add data about a user’s audience memberships to an event’s payload. This enables you to create more targeted reactors by using audience-specific information to determine how a reactor should behave.
Enable the audience enhancer if you want to restrict reactors for the relevant event type to only apply to users who are, or are not, part of a particular audience.
ExampleImagine you’re running a double points promotion for users who joined your loyalty program in the last 30 days. By enabling the audience enhancer on your purchase event type, you can create a reactor that applies double points, but only to users in a “joined in the last 30 days” audience.
The event payload will include a list of audiences the user belongs to before the event is triggered. This allows reactions to consider the user’s pre-event audience memberships.
To learn more about audiences, see Audiences and our tutorial on this: Limit a reactor an audience.
Audience enhancer properties
The following properties are added to an event payload when the audience enhancer is on:
audience
A list of audienceId
's of the audiences the user is part of at the moment immediately before the event was reported.
Last updated
Was this helpful?