Create a suspended user audience
Introduction
While there is no official suspension feature in the Loyalty Engine, audiences can be used to help restrict users who have been flagged for abuse or fraudulent activity. This can act as a soft suspension method without deleting the user’s account.
This approach does not fully prevent a user from accessing or engaging with your loyalty program. It is your responsibility to manage user access in your own systems, and White Label Loyalty is not liable for any fraudulent activity or misuse.
Why use a soft suspension?
Soft suspending a user (rather than deleting their account) means:
You retain visibility of their account activity
You prevent them from re-registering with the same email address
You can restrict or block loyalty logic using audience-based rules
Configuration
Adding the suspended user flag
Navigate to Users > Members. Find the user you wish to edit (use the filtering functionality if needed). Click 'Show' next to the user.
Click 'Edit' in the top right corner.
Scroll down to the 'Flags' section. Click 'Add'.
Call the new flag
suspendedUser
and set the value astrue
.Click 'Save' at the bottom of the page.
Refresh the suspended/not suspended user audiences so the user joins / leaves them.
Creating the suspended user audience
This creates an audience of users who are suspended.
Navigate to Users > Audiences and then click 'Create' in the top right corner.
Give the audience a name and description. Turn on
AUDIENCE_JOINED
andAUDIENCE_LEFT
events if needed. Set the refresh rate to 'Manual'.Move to the criteria tab. The criteria should be;
Flags -
suspendedUser
istrue
Click Save.
Creating the 'not suspended' user audience
This created an audience of users who are not suspended.
Navigate to Users > Audiences and then click 'Create' in the top right corner.
Give the audience a name and description. Turn on
AUDIENCE_JOINED
andAUDIENCE_LEFT
events if needed. Set the refresh rate to 'Manual'.Move to the criteria tab. The criteria should be;
The NOT operator should be toggled on in the criteria group
Flags -
suspendedUser
istrue
Click Save.
Add reactor conditions and reward availability criteria
Adjust your reactors to add a condition where user must be in the 'not suspended' audience.
Adjust your rewards so they're only visible or purchasable to users in the 'not suspended' audience.
Tips
You can 'unsuspend a user' by removing the
suspendedUser
flag, or setting it tofalse
if you want to keep a marker on their account that it was previously suspended.
Last updated
Was this helpful?