Programs and settings
Create a referral, affiliate, or loyalty Program from a template, write its reward rules and terms, design its Widget, and choose its delivery, payout, referee offer, and partner settings.
A Program is a reward configuration inside a Project. It holds the reward rules, the landing page, and the delivery settings, and the settings of its type. A Project can have any number of Programs on every plan, and every Program of the Project evaluates each Event.
There are three types of Program:
| Type | Who takes part |
|---|---|
| Referral program | Your customers refer from inside your product through the Referral Widget. It has the Widget design and the referee offer. |
| Affiliate program | Partners join through a public join page and the Partner app, and earn cash or custom Rewards. It has the join page and partner applications. See Partners. |
| Loyalty program | Your customers earn for their own Events, with no referral. See Loyalty Programs. |
Owners and admins create and change Programs. Members can read them.
Create a Program
Open Programs → New. Start from a template, or select Start from scratch for a referral, an affiliate, or a loyalty Program. Then follow the steps:
- Basics: the Program name, the Landing page where shared links take people, and the Currency of the amounts.
- Rewards: the reward rules. A template fills them in; you can change them.
- Widget (referral only): the Widget texts.
- Review, then Go live, or Save as draft to finish later.
The type (referral, affiliate, or loyalty) cannot change later.
Go live, pause, and end
A Program has one of four statuses. The header of the Program shows it and its next action.
| Status | What happens | Action |
|---|---|---|
| Draft | Nothing is public: links, the Widget, and the join page do not work, and nobody can enroll. You can change everything. | Go live |
| Live | The Program takes new referrals, enrollments, and Rewards. | Pause, End |
| Paused | Links still open your site, but nothing new is tracked, and nobody new can enroll or join. Referrals made before the pause keep earning Rewards. | Resume, End |
| Ended | Final. Nothing new is tracked, and Events after the end earn nothing. Rewards earned before the end are kept and still delivered. The Program cannot change. | None |
Go live checks the Program first, and refuses it until:
- it has a reward rule with enabled terms, and a referral or affiliate Program has a reward for referrers or partners;
- an affiliate Program has a landing page;
- cash Rewards that RefRef pays out are on a plan with cash payouts, or the Program's Delivery pays them by hand.
It also warns, without blocking, when the join page of an affiliate Program is not published or its applications are closed.
End program is in the Program's Settings. You type the Program's name to confirm, because an ended Program cannot be reopened. To stop for a while, pause it instead. To stop one reward only, turn its rule off (see below).
With the API, call POST /v1/programs/{programId}/publish, pause, resume, or end, and GET /v1/programs/{programId}/readiness for the checks.
Templates
Templates use US dollar amounts. Change them to fit your business.
| Template | Kind | Rules |
|---|---|---|
| Give $20, get $20 | Referral | Referrer: $20 credit on purchase. Referee: $20 credit on signup. |
| Friend's first-order discount | Referral | Referee: 20% discount on purchase. Referrer: $10 credit on purchase. |
| A free month for both | Referral | Referee: 100% discount on purchase. Referrer: $15 credit on purchase. |
| Cash for every paying customer | Referral | Referrer: $50 cash on purchase |
| Revenue share for partners | Affiliate | Referrer: 20% cash on each purchase for 12 months |
| Reward the signup and the sale | Referral | Referrer: $10 cash on signup, plus 20% cash on each purchase for 12 months |
| Lifetime revenue share | Affiliate | Referrer: 20% cash on every purchase |
| Extra storage for both | Referral | 500 storage_mb to the referrer (up to 32 times) and to the referee, on signup |
| Credits for both | Referral | Referrer: 100 credits on purchase. Referee: 10 credits on signup. |
| Cashback on every purchase | Loyalty | Member: 5% credit on every purchase |
| Welcome credit | Loyalty | Member: $10 credit on signup |
Program tabs
| Tab | Contents |
|---|---|
| Overview | The Program's results |
| Rules | The reward rules and their terms |
| Design | The Widget design (referral only) |
| Join page | The public page where partners apply (affiliate only). See Partners. |
| Install | The integration steps, with the Project ID and the Program ID |
| Settings | General settings, delivery, the referee offer, and partner applications |
Reward rules
Select Add reward rule. A rule reads as a sentence, for example: "When a referred customer makes a purchase, the referrer earns 20% of the order as cash, on each purchase for 12 months, with no limit."
| Part | Choices |
|---|---|
| Event | Signs up, makes a purchase, or sends a custom event (custom_…) |
| Who earns | Referral or affiliate Program: the referrer or the referred customer. Loyalty Program: the member. |
| What | Cash, account credit, a discount, or a custom reward |
| Amount | A fixed amount, or a percentage of the order (purchase rules only). A discount is a percentage. A custom reward is a quantity of a unit, valid forever or for 1 to 3650 days. |
| Duration | Once per referred customer (or member); on each purchase for 1 to 1200 months; or on every purchase. A signup rule pays once. A discount is given once per customer, and its duration is how long the code lasts: one payment, 1 to 1200 months, or every payment. |
| Limit | No limit, or up to N Rewards for one beneficiary |
| Purpose | Primary or Bonus. Each event type and role has at most one primary rule. Bonus rules pay in addition. |
Rules for the referred customer cannot pay cash. In an affiliate Program, rules for the partner pay cash or a custom reward, because a partner is not your customer. A rule needs a name; you can rename it later.
Terms are versions
Each rule change is published as a new terms version with Publish changes. A version takes effect at once and never changes. An Event uses the version that was in effect when the Event occurred, also for renewals. A new version does not reset the Rewards that a beneficiary already earned under the limit.
You cannot delete a rule. To stop it, switch it to Paused: this publishes a version that pays nothing. You cannot change the event type or the role of a rule; create a new rule instead.
A rule for a custom event type also lets RefRef accept that type, even when it is not a referral event of the Project.
Design
The Design tab sets the Widget for this Program: colors, the button text, position, and icon, the dialog title, subtitle, and logo, the share message, and the share platforms (Facebook, X, LinkedIn, WhatsApp, Email, Instagram, Telegram). The preview shows the dialog and the button. Select Save design changes. See Referral Widget.
Settings
General
The Program name and the Landing page URL. The landing page receives every visitor who follows a referral link of the Program. Put the landing script on it.
Delivery
The Delivery card has one row for each kind of Reward that the rules pay. Each row chooses who delivers it:
| Reward kind | Methods (the first is the default) |
|---|---|
| Cash | Paid out by RefRef, or Paid by you, recorded by hand |
| Credit | Through your product (webhook), Apply as account credit in your billing provider, or Record by hand |
| Discount | Through your product (webhook), Give a discount in your billing provider, or Record by hand |
| Custom | Through your product (webhook), Upgrade the plan in your billing provider, or Record by hand |
A billing method needs a connected billing provider that supports it. RefRef delivers each Reward at the provider where the customer pays. For plan upgrades, enter for each custom unit and each connected provider the plan ID in that provider and the number of free billing periods, 1 to 12. A Reward keeps these plans when it is earned, and uses the plan of the provider where it is delivered; a unit without a plan at that provider waits for you on the Rewards page.
| Setting | Applies to | Range and default |
|---|---|---|
| Account reward hold | Billing deliveries | 0 to 365 days, default 0 |
| Payout hold | Cash paid out by RefRef | 0 to 365 days, default 30 |
| Minimum payout | Cash paid out by RefRef | At least 1.00 USD, default 1.00 USD |
| Payout methods | Cash paid out by RefRef | PayPal |
A hold gives refunds time to happen before RefRef delivers. A change applies to Rewards earned after you save it. See Rewards and delivery.
RefRef pays cash in US dollars only. While cash is paid out by RefRef, a fixed cash amount in another currency is refused.
Referee offer
Referral Programs only. The referee offer is a checkout discount for a person who follows a referral link, before their first order. Set the Discount (percentage or fixed amount), the Currency, an optional Minimum subtotal, the Validity in days, and which discounts it combines with. Select Publish new version. RefRef issues the codes through the Shopify and WooCommerce integrations. Turning the offer off stops new codes; issued codes keep their terms.
Partner applications
Affiliate Programs only. Switch on Accept applications to let partners apply. Publish a join page and share its link, so that anyone can apply before they create an account, or share the Apply link. See Partners.
Loyalty Programs
A loyalty Program rewards a member for its own Events, with no referral. Its rules evaluate every Event of their type from members, for example cashback on each purchase. Enroll members as for a referral Program. Loyalty Programs have no Widget, no referee offer, and no join page. Points, tiers, and redemptions are not available.
Projects
Create a Project, use its Sandbox and Live twins, find its credentials, and set its referral events, custom units, and integrations.
Participants and enrollment
Name your customers with your own IDs, register their details, rename them, enroll them in Programs, and give them referral codes and links.