What Is Referral Marketing? How a Referral Program Works

Referral marketing rewards customers for new signups. How a referral program works, 6 reward types with costs, and how it differs from affiliate programs.

Muzahid Maruf — Founder of TrackRev.io

Muzahid MarufUpdated

Referral programs · 9 min read
On this page
  1. 01How does referral marketing compare with word of mouth?
  2. 02What does the research say about referred customers?
  3. 03How does a referral program work from click to reward?
  4. 04What do the reward types cost?
  5. 05Which types of referral programs exist?
  6. 06How do you measure whether it works?
  7. 07Is a referral program or an affiliate program the better fit?
  8. 08Which abuse and legal rules should you plan for?
  9. 09How do you run a referral program in TrackRev?

Explore with AI

Opens this article inside the chosen assistant with a ready-made prompt.

Referral marketing rewards existing customers for introducing your product to others.

A referral program is the system behind referral marketing: each customer gets a unique link or code, a visitor arriving through the link or code is recorded, and when the visitor pays, the referrer, the friend or both earn a reward such as credit, a discount or cash.

An affiliate program uses the same plumbing with outside publishers. First, issue the link. Second, record the visit. Third, pay the reward in 2026.

Dropbox's refer page shows the pattern. When a friend signs up through your link, you both get storage: 500 MB per referral on Basic, capped at 16 GB, and 1 GB on Plus, capped at 32 GB.

Key takeaways

  • A referral program rewards customers who bring in buyers. An affiliate program pays outside partners, with a median of 20% of each payment for 12 months in B2B SaaS.
  • In a 2011 study of 9,814 customers of a German bank, referred customers earned about 25% more contribution margin, 82.0% were still customers after 33 months against 79.2%, and six-year value ran at least 16% higher.
  • Pay after the first invoice clears and your refund window closes. On a $49 plan, a $25 referrer credit plus 20% off the friend's first 3 months costs $54.40, or 11.6% of first-year gross profit.
  • Referral volume tracks your customer count: 1,000 customers produced 24 paid referrals in the worked example. Add an affiliate program for reach beyond your own base.

How does referral marketing compare with word of mouth?

Word of mouth is the talk customers start without you. Referral marketing adds a record of who sent whom, a reward, and a rule tying the reward to a purchase.

Nielsen's April 2012 Global Trust in Advertising survey of 28,000 internet respondents in 56 countries found that 92% trusted earned media such as recommendations from friends and family, up 18% since 2007.

Employee referral programs, which pay staff for recruiting, belong to HR. First, keep the two apart in your reports. Second, count only customer referrals in 2026.

What does the research say about referred customers?

The best evidence on rewarded referrals is a 2011 study of a German bank. The bank paid existing customers a 25 euro voucher per new customer.

Researchers at Goethe University Frankfurt and the Wharton School (Philipp Schmitt, Bernd Skiera and Christophe Van den Bulte) followed 5,181 referred customers and 4,633 others through September 2008 and reported the results in a Journal of Marketing paper in January 2011.

Referred customers produced 7.6 cents a day (27.74 euros a year) more contribution margin on a base of 30 cents, about 25% more, and after 33 months 82.0% were still customers against 79.2%.

Acquiring the referred customers cost about 20 euros less than customers won by mailing. The margin gap shrank over time and the retention gap did not, and six-year value came out at least 16% higher.

One German bank says little about a SaaS plan, so run your own cohort test. First, split the cohort. Second, compare retention at 90 days in 2026.

How does a referral program work from click to reward?

Click-to-reward is the path a referral takes from link to payout, and the path has 6 steps. A referral program has to carry one fact, who sent this customer, from the first click to the first payment.

Affiliate tracking shows where each hand-off breaks. The table lists 6 steps, from issuing an identifier to delivering the reward. First, find the step where your data goes missing. Second, fix that step before you add rewards in 2026.

Stripe Checkout metadata and Stripe promotion codes carry the value in steps 4 and 5, and Safari limits a JavaScript cookie to 7 days in step 2.

StepWhat happensWhere it breaks
1. Issue an identifierA link such as yourapp.com/?ref=sarah-k, a code such as SARAH20, or both.A generic code that anyone can post on a coupon site.
2. Capture the visitThe landing page stores the ref value in a first-party cookie.Safari deletes cookies created in JavaScript after 7 days of no user interaction with your site, under WebKit's Intelligent Tracking Prevention.
3. Attach it to the signupThe ref value is saved on the new account at registration.A signup on a second device, or after cookies were cleared.
4. Carry it to billingIt rides into checkout as Stripe Checkout metadata or a typed promotion code.A checkout that never receives the value.
5. Wait for paymentThe reward fires on the first paid invoice, then waits out a refund window such as 30 days.Paying at signup or at trial start.
6. Deliver the rewardCredit lands on the referrer's next invoice, or cash goes out in a monthly batch.A refund after the reward has gone.

A link records the click; a code needs none, since the friend types the code at checkout.

In Stripe a code is a promotion code mapping to a coupon and can be limited to first-time customers or capped at, say, 100 redemptions.

A Checkout Session and its subscription keep separate metadata fields, so set both: renewals invoice on the subscription. Coupon code tracking has more. For example, the sample call below records 1 referrer on 2 objects in 2026.

Stripe API: the friend's coupon, then a Checkout Session that records the referrer
# 1. The friend's reward: 20% off for 3 monthscurl https://api.stripe.com/v1/coupons \  -u "<<YOUR_SECRET_KEY>>:" \  -d id=friend-20-for-3-months \  -d percent_off=20 \  -d duration=repeating \  -d duration_in_months=3 # 2. A Checkout Session that applies it and records the referrercurl https://api.stripe.com/v1/checkout/sessions \  -u "<<YOUR_SECRET_KEY>>:" \  -d mode=subscription \  -d "line_items[][price]"="<<PRICE_ID>>" \  -d "line_items[][quantity]"=1 \  -d "discounts[][coupon]"=friend-20-for-3-months \  -d "metadata[referrer]"=sarah-k \  -d "subscription_data[metadata][referrer]"=sarah-k \  -d success_url="https://example.com/welcome"

What do the reward types cost?

A reward type is the form a referral payout takes, and 6 forms are common.

RewardExampleCost to youWatch for
Credit for the referrer$25 off the next invoice$25 of revenue, only after the friend paysYour product needs somewhere to apply credit.
Discount for the friend20% off the first 3 months3 months at $9.80 is $29.40In Stripe, a repeating coupon with duration_in_months set to 3.
Free months1 month free$49It delays the first payment, so the referrer's reward waits too.
Cash$50 once, sent by PayPal or Wise$50Every referrer becomes a payee with a tax form.
Product usageDropbox Basic: 500 MB per referral, up to 16 GBStorage costs and no cashWorks only when the reward is cheap for you to provide.
Recurring commission20% of each payment for 12 months$9.80 a month, $117.60 over 12 monthsCost grows with retention, and it starts to resemble an affiliate program.

Costs assume a $49 monthly plan.

Worked example: $49 plan, 80% gross margin

The plan earns $39.20 of gross profit a month. Give the referrer a $25 credit and the friend 20% off the first 3 months ($29.40), and rewards total $54.40 per referred customer. If the customer stays 12 months, gross profit is $470.40 at list price and $416.00 after rewards, so rewards take 11.6% of it. Month 1 alone leaves $4.40 ($39.20 less the $9.80 discount and the $25 credit). If the friend would have bought anyway, the whole $54.40 bought nothing, so a first cohort needs a comparison group.

Which types of referral programs exist?

TypeWho is paidExample
Single-sidedThe referrer only$25 credit to the referrer, nothing for the friend
Two-sidedReferrer and friendDropbox Basic: 500 MB to each side per referral
MilestoneThe referrer, with rewards that growA free month at 3 referrals, a free quarter at 10
Recurring commissionThe referrer, monthly20% of each payment for 12 months

A two-sided program is one paying both the referrer and the friend.

Dropbox's April 3, 2012 post says the company first gave 250 MB per invite, then doubled the amount so both sides get 500 MB, and a free account could invite 32 people for 16 GB in total.

Pro accounts earned 1 GB per referral, 32 GB in total. The table shows 4 types, from single-sided credit to recurring commission. First, pick the type. Second, price the reward against a $49 plan.

How do you measure whether it works?

Measurement is the step proving the program earns more than it costs.

Track participation, invites per sharer, invite-to-paid conversion and reward cost per paid customer, then compare referred customers' 90-day retention and revenue with everyone else's, as the bank researchers did over 33 months.

StageRateResult
Customers1,000
Share at least once6%60
Invites sent5 each300
Become paying customers8%24
Reward cost$54.40 each$1,305.60

Illustrative rates for a 1,000-customer base, not benchmarks.

Those 24 customers equal 2.4% of the base. Dividing new customers by existing ones gives the viral coefficient, here 0.024, and a program grows on its own only above 1.

Volume tracks customer count: 250 customers at the same rates yield 6. Compare the $54.40 with what other channels cost you per customer, and check each signup for self-referral before you count it. First, log the 5 stages monthly.

Second, compare the cost with other channels in 2026.

Is a referral program or an affiliate program the better fit?

AttributeReferral programAffiliate program
Who promotesExisting customersOutside publishers, creators and consultants
Example reward$25 credit, or 20% off 3 months for the friendCash commission, such as 20% of each payment for 12 months
Cost per customer on a $49 plan$54.40 once, from the worked example$117.60 over 12 months if the customer stays (20% of $49, 12 times)
Volume limitYour customer count and whom they knowThe partners you can recruit and activate
Main fraud patternDuplicate accounts claiming the rewardSelf-referral and ads bidding on your brand name

When does each program fit?

A referral program fits when customers already recommend you unprompted and buyers know each other, as teams and agencies with clients do, and a $25 credit is an easy reward for you to give.

First, count the customers who recommend you today. Second, list 3 outside channels in 2026.

An affiliate program fits when you need reach beyond your customers: buyers who research tools through blogs, newsletters and YouTube reviews, or a segment with no customers yet.

TrackRev's affiliate benchmark tables for Q2 2026, compiled from public Impact, PartnerStack and Awin research, put the median B2B SaaS commission at 20% for 12 months across 564 programs, and starting an affiliate program covers setting yours.

Running both works too: credit for customers, commission for outside partners.

Referral abuse is a second account claiming a reward the account did not earn. The bank study's authors note most programs pay however long the new customer stays.

Pay only on a paid invoice, hold through your refund window (30 days, for example), cap redemptions, and use the first-time-customer restriction on Stripe promotion codes.

The Federal Trade Commission's Endorsement Guides Q&A, covering guides revised in 2023, says a disclosable connection extends past money to gifts, sweepstakes entries and deals between acquaintances.

Put a disclosure rule in your terms and on the share screen; FTC, GDPR and consent rules covers the rest.

For emailed invites, the CAN-SPAM guide says a seller who gives money, coupons or discounts for forwarding a message, or for any form of referral, may be responsible for compliance: accurate headers, a postal address, opt-outs honored within 10 business days, and penalties up to $53,088 per violating email.

How do you run a referral program in TrackRev?

We built TrackRev as SaaS affiliate software for indie hackers and small SaaS teams, and its Affiliate Program runs referral and partner programs in one workspace.

In our product, each advocate gets a unique link, the friend's reward (a percentage discount, free months or an extended trial) shows on the signup page, and the advocate earns cash or credit.

Cash is tracked as commission against revenue from Stripe, Paddle Billing, Polar, Lemon Squeezy, Creem or Dodo Payments, reversed on a refund or dispute, and held for 0 to 180 days (the default is 0, so match your refund window).

You pay from a PayPal or Wise CSV export. We built self-referral detection into the program, and partner revenue appears in the same channel reports as your other sources. First, set the hold. Second, export the CSV.

Third, mark each payout paid in 2026.

Which TrackRev plan fits a referral program?

In our pricing, the free plan covers 50 links, 1,000 tracked events a month and 1 workspace, with revenue hidden.

Both paid plans include the whole product in 2026, with no cap on the affiliate revenue or commission tracked: Indie is $29 a month for 1 workspace and 1 tracked domain, and Growth is $299 a year for up to 10 workspaces and 10 tracked domains, so one account can run several sites, with unlimited team members included.

A checkout outside the 6 billing systems calls for a tool built for the checkout. See two-sided referral campaigns and the Affiliate Program page.

Found this useful? Share it.

PostLinkedIn

Frequently asked questions

Muzahid Maruf — Founder of TrackRev.io

Written by

Muzahid Maruf

Founder, TrackRev.io & Contant.io

Muzahid Maruf founded TrackRev.io, SaaS affiliate software with no limit on tracked revenue, and Contant.io. He writes about affiliate programs.

Writes about Marketing attribution · Link tracking · Revenue analytics · SaaS growth

Run your affiliate program without a revenue cap.

Affiliate software for indie hackers and small SaaS teams: $29 a month flat, 0% fees, link tracking and revenue attribution built in. Free to start, no card.