Create an audience of users who have purchased a particular reward
Introduction
Tracking users who have purchased a particular reward can be useful for a number of reasons. The audience can be used for simple reporting about the number of users who have engaged with an individual reward. Additionally it can be used alongside reward availability criteria to ensure that users can only purchase the reward a limited number of times.
Configuration
Navigate to Users > Audiences and then click 'Create' in the top right corner.
Give the audience a name and description. Turn on AUDIENCE_JOINED and AUDIENCE_LEFT events if needed. Set the refresh rate to 'Reactive'.
Move to the criteria tab. The criteria should be;
Event type is
PURCHASED_REWARD
Profile matches JSON schema
{ "$schema": "http://json-schema.org/draft-06/schema#", "type": "object", "required": [ "rewardId" ], "properties": { "rewardId": { "enum": [ "enter reward ID here" ] } } }
Event occurrence count is greater than 0
Click save.
Tips
You can enter multiple
rewardId
in the schema to track purchases of more than one reward in a single audience. This can then be used to create a 'Choose Reward A or B' type campaign.Increase the event occurrence number in the audience criteria if you'd like the reward to be purchasable more than once.
Adding date criteria to the audience would mean that a reward is only purchasable x number of times within a certain time period. For example, adding the criteria "Reported at is later than 1 week ago' would mean that a user would leave the audience a week after purchasing the reward, and therefore be able to purchase the reward again. Change the refresh rate to 'Daily Reactive' if you want to configure this setup.
Last updated
Was this helpful?