Refer a friend
Reward members who bring in new members, and give the new member a welcome gift.
With this campaign, when a referred member makes their first purchase, the member who invited them gets 500 points and the new member gets a welcome coupon.
How referrals reach Scops Loyalty
Every member has a personal referral token, shown on the member's Details tab. The member shares it, for example as a code or inside an invitation link.
When the new member signs up, your integration sends that token in referredBy:
{
"email": "new.member@example.com",
"referredBy": "EHOTWZVJS",
"legalAgreement": true,
"marketingAgreement": false,
"dataProcessingAgreement": true
}If the token doesn't belong to any member, the request fails with 404. GET /members/{identifier}/referrals returns a member's token and the members they referred.
1. General
Go to Campaigns and click New Campaign. Name the campaign, for example Refer a friend, set Visibility to Everyone and set Start time to today.
2. Type and trigger
Choose the Referral type, turn on Reward both participants? and choose the Purchase Transaction trigger.
3. Rules
The campaign now has two rules. The Referred By rule is for the member who shared the token: add Add units, choose your points wallet and enter 500. The Referred rule is for the new member: add Give reward and choose your welcome coupon.
4. Limits
Set Campaign completion per member to Total, 1. Only the new member's first purchase then counts, so the referrer is rewarded once per friend.
5. Status
Turn on Active and click Submit.
Variations
| You want | Change |
|---|---|
| Reward the referral at sign-up instead of the first purchase | Use the Registration trigger. |
| Reward only the referrer | Leave Reward both participants? off. |
| A minimum first purchase | Add the condition Transaction value Greater than 3000 to the rules. |
| A cap per referrer | Use Units issued per member to limit the referral points one member can collect, for example per month. |