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:

TypeWho takes part
Referral programYour customers refer from inside your product through the Referral Widget. It has the Widget design and the referee offer.
Affiliate programPartners 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 programYour 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:

  1. Basics: the Program name, the Landing page where shared links take people, and the Currency of the amounts.
  2. Rewards: the reward rules. A template fills them in; you can change them.
  3. Widget (referral only): the Widget texts.
  4. 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.

StatusWhat happensAction
DraftNothing is public: links, the Widget, and the join page do not work, and nobody can enroll. You can change everything.Go live
LiveThe Program takes new referrals, enrollments, and Rewards.Pause, End
PausedLinks 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
EndedFinal. 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.

TemplateKindRules
Give $20, get $20ReferralReferrer: $20 credit on purchase. Referee: $20 credit on signup.
Friend's first-order discountReferralReferee: 20% discount on purchase. Referrer: $10 credit on purchase.
A free month for bothReferralReferee: 100% discount on purchase. Referrer: $15 credit on purchase.
Cash for every paying customerReferralReferrer: $50 cash on purchase
Revenue share for partnersAffiliateReferrer: 20% cash on each purchase for 12 months
Reward the signup and the saleReferralReferrer: $10 cash on signup, plus 20% cash on each purchase for 12 months
Lifetime revenue shareAffiliateReferrer: 20% cash on every purchase
Extra storage for bothReferral500 storage_mb to the referrer (up to 32 times) and to the referee, on signup
Credits for bothReferralReferrer: 100 credits on purchase. Referee: 10 credits on signup.
Cashback on every purchaseLoyaltyMember: 5% credit on every purchase
Welcome creditLoyaltyMember: $10 credit on signup

Program tabs

TabContents
OverviewThe Program's results
RulesThe reward rules and their terms
DesignThe Widget design (referral only)
Join pageThe public page where partners apply (affiliate only). See Partners.
InstallThe integration steps, with the Project ID and the Program ID
SettingsGeneral 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."

PartChoices
EventSigns up, makes a purchase, or sends a custom event (custom_…)
Who earnsReferral or affiliate Program: the referrer or the referred customer. Loyalty Program: the member.
WhatCash, account credit, a discount, or a custom reward
AmountA 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.
DurationOnce 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.
LimitNo limit, or up to N Rewards for one beneficiary
PurposePrimary 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 kindMethods (the first is the default)
CashPaid out by RefRef, or Paid by you, recorded by hand
CreditThrough your product (webhook), Apply as account credit in your billing provider, or Record by hand
DiscountThrough your product (webhook), Give a discount in your billing provider, or Record by hand
CustomThrough 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.

SettingApplies toRange and default
Account reward holdBilling deliveries0 to 365 days, default 0
Payout holdCash paid out by RefRef0 to 365 days, default 30
Minimum payoutCash paid out by RefRefAt least 1.00 USD, default 1.00 USD
Payout methodsCash paid out by RefRefPayPal

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.

On this page