Referral program skill

Design referral programs and viral growth loops.

by OpenClaudia·MIT license·★ 705 Stars on the repo·GitHub ↗

Use now

Files of Referral program

OpenClaudia/main1 file shown
SKILL.md
Show the full text384 lines

Referral Program Design

Design effective referral programs and viral loops that drive sustainable growth.


1. Referral Program Frameworks

One-Sided Incentives

Only the referrer gets rewarded.

Best for:

  • Products with strong organic word-of-mouth
  • Low-friction signups where the referred user needs no extra motivation
  • Cost-sensitive businesses

Examples:

  • Uber: "$10 credit for every friend you refer"
  • Amazon Associates: Commission on referred purchases

Template:

Refer a friend and get [reward].
Share your unique link: [referral_url]
Two-Sided Incentives

Both referrer and referred user get rewarded.

Best for:

  • Products requiring activation effort from new users
  • Competitive markets where new users need a nudge
  • Subscription businesses

Examples:

  • Dropbox: Both get 500MB extra storage
  • Airbnb: Referrer gets $25 credit, friend gets $40 off first stay
  • PayPal: Both get $10 when friend makes first transaction

Template:

Give [friend_reward], get [referrer_reward].
Share your link and you both win: [referral_url]
Tiered Incentives

Rewards increase with number of successful referrals.

Example tier structure:

Referrals Reward
1 Free month
3 Exclusive feature unlock
5 Premium plan for 3 months
10 Lifetime premium access
25 Cash payout or swag box

Best for:

  • Creating power referrers / ambassadors
  • Products with passionate user bases
  • Building a referral leaderboard culture

2. Viral Coefficient Calculation

The viral coefficient (K-factor) determines whether your referral loop is self-sustaining.

Formula
K = i * c

Where:
  i = number of invites sent per user
  c = conversion rate of each invite

If K > 1: viral growth (each user brings more than one new user)
If K < 1: referrals supplement but don't replace other acquisition
Example Calculation
Users send an average of 5 invites (i = 5)
15% of invites convert to signups (c = 0.15)
K = 5 * 0.15 = 0.75

With 1,000 initial users:
- Cycle 1: 1,000 * 0.75 = 750 new users
- Cycle 2: 750 * 0.75 = 563 new users
- Cycle 3: 563 * 0.75 = 422 new users
- Total after 10 cycles: ~3,570 additional users from referrals
Viral Cycle Time

The speed of the viral loop matters as much as K:

Effective growth = K / cycle_time

A K of 0.5 with a 1-day cycle > K of 0.8 with a 30-day cycle
How to Improve K
Lever Action
Increase invites (i) Make sharing frictionless, prompt at key moments
Increase conversion (c) Better landing page, stronger incentive, social proof
Reduce cycle time Instant reward delivery, real-time notifications

3. Referral Channels

Email Referral

Pros: High conversion, personal, trackable Cons: Lower volume, requires email access

Template:

Subject: I thought you'd like [Product] -- here's [reward] to try it

Hey [Name],

I've been using [Product] for [time] and it's been great for [specific benefit].

I wanted to share my referral link so you can get [friend_reward]:
[referral_url]

[Your name]
Social Media Sharing

Pros: High reach, low effort, viral potential Cons: Lower conversion rate, less personal

Platform-specific templates:

Twitter/X:

I just [achievement/milestone] with @Product! If you want to try it,
use my link and we both get [reward]: [referral_url]

LinkedIn:

I've been using [Product] to [professional benefit] and the results
have been impressive: [specific metric].

If you're looking for [solution], here's my referral link
(we both get [reward]): [referral_url]

WhatsApp/SMS:

Hey! I've been using [Product] and really like it. They have a
referral deal -- we both get [reward] if you sign up through my link:
[referral_url]
In-App Referral

Pros: Highest intent, contextual, frictionless Cons: Only reaches existing users

Best practices:

  • Show referral prompt after a success moment (completed task, achievement, positive outcome)
  • Pre-populate sharing message
  • Show referral progress and rewards earned
  • Add referral widget to account/settings page
Method Pros Cons
Unique link Frictionless, works in any channel Harder to share verbally
Referral code Easy to remember, shareable verbally Extra step at signup
Both Maximum flexibility More complex to implement

4. Referral Landing Page Template

The page a referred user sees when they click the referral link.

Structure
[Hero Section]
- Headline: "[Referrer's name] invited you to [Product]"
- Subheadline: "Sign up now and get [friend_reward]"
- CTA button: "Claim your [reward]"

[Social Proof]
- "[Referrer's name] and X others use [Product]"
- Logos of known customers
- Key metric: "Trusted by X users"

[Value Proposition]
- 3 key benefits with icons
- Brief product description

[How It Works]
- Step 1: Sign up (takes 30 seconds)
- Step 2: [Key activation action]
- Step 3: Enjoy [reward] + the product

[CTA Repeat]
- "Join [Referrer's name] on [Product]"
- Urgency: "This offer expires in [X days]"

[FAQ]
- When do I get my reward?
- What does [Product] do?
- Is there a catch?

5. Case Studies

Dropbox (2008-2010)
  • Mechanic: Two-sided -- both get 500MB extra storage
  • Result: 3,900% growth in 15 months (100K to 4M users)
  • Key insight: The reward (storage) was the product itself, making it self-reinforcing
  • Viral coefficient: Estimated ~0.6-0.7 (supplemental, not purely viral)
Airbnb (2014)
  • Mechanic: Two-sided -- $25 travel credit for referrer, $40 off first booking for friend
  • Result: 300% increase in bookings from referral program 2.0
  • Key insight: Redesigned referral page to feel like a gift, not spam. Personalized with referrer's photo and travel history
  • Viral coefficient: Low K but high LTV per referred user
PayPal (1999-2000)
  • Mechanic: Two-sided -- $20 per referral (later reduced to $10, then $5)
  • Result: 7-10% daily growth, reaching 1M users in first year
  • Key insight: Cash incentive drove massive initial growth, then reduced as network effects kicked in
  • Cost: $60-70M in referral bonuses, but each user was worth much more in LTV
Robinhood (2014-2015)
  • Mechanic: Wait-list with move-up-the-line incentive + free stock for referrals
  • Result: 1M waitlist signups before launch
  • Key insight: Scarcity (waitlist) + social proof (your position) + tangible reward (free stock)

6. Implementation Checklist

Technical Setup
  • Generate unique referral links/codes per user
  • Build referral tracking (link clicks, signups, activations, rewards)
  • Set up attribution window (how long after click does signup count?)
  • Implement fraud detection (self-referral, fake accounts, VPN abuse)
  • Build reward fulfillment (automatic credit, manual approval, or hybrid)
  • Create referral dashboard for users (invites sent, pending, completed, rewards earned)
Fraud Prevention
  • Block self-referrals (same IP, same device, same email domain)
  • Require activation action before reward (not just signup)
  • Set daily/weekly referral limits per user
  • Flag suspicious patterns (bulk signups from same IP range)
  • Implement clawback for fraudulent referrals
Program Design Decisions
Decision Options
Reward type Cash, credit, product features, swag, charity donation
Reward timing On signup, on activation, on first purchase
Reward amount Test multiple amounts; higher is not always better
Expiration Referral links expire after X days? Rewards expire?
Limit Max referrals per user per month?
Eligibility All users or only paid/active users?

7. Referral Email Sequences

Invite Reminder (to existing users)
Subject: You have [X] invites waiting

Hey [Name],

Did you know you can give your friends [reward] and get [reward] for yourself?

You've invited [0/N] friends so far. Share your link:
[referral_url]

Here's what [Product] users are saying:
"[Testimonial]" -- [Customer name]
Referred User Welcome
Subject: [Referrer] sent you a gift -- [reward] inside

Hey there!

[Referrer's name] thinks you'd love [Product], so they're giving you [reward] to try it.

[CTA: Claim your reward]

What is [Product]?
[1-sentence description]

What you'll get:
- [Benefit 1]
- [Benefit 2]
- [Benefit 3]
- Plus [friend_reward] from [Referrer's name]

This offer expires in [X] days.
Referral Success Notification
Subject: [Friend's name] just signed up -- you earned [reward]!

Great news, [Name]!

[Friend's name] accepted your invitation and signed up for [Product].
Your [reward] has been added to your account.

Keep sharing: you've referred [X] friends so far.
[referral_url]

[Show progress toward next tier if using tiered rewards]

8. Measuring Success

Key Metrics
Metric Formula Good Benchmark
Participation rate Users who share / total users 15-25%
Shares per user Total shares / participating users 3-5
Click-through rate Link clicks / shares 20-40%
Conversion rate Signups / link clicks 10-25%
Viral coefficient (K) Invites * conversion rate 0.3-0.7 typical
Viral cycle time Avg days from invite to new user's first invite 1-7 days
Referral revenue Revenue from referred users Track separately
CAC via referral Reward cost / acquired users Compare to paid CAC
A/B Tests to Run
  1. Reward amount ($10 vs $20 vs $50)
  2. Reward type (credit vs cash vs feature unlock)
  3. One-sided vs two-sided incentive
  4. Referral prompt timing (after signup vs after first success)
  5. Landing page copy (gift framing vs deal framing)
  6. Email subject lines for referral invites
  7. Social sharing copy variations
1---
2name: referral-program
3description: >
4 Design referral programs and viral growth loops. Use when asked to create
5 referral systems, viral mechanics, word-of-mouth campaigns, or growth loops.
6 Trigger phrases: "referral program", "viral loop", "refer a friend",
7 "word of mouth", "viral coefficient", "referral incentive", "growth loop",
8 "invite system", "ambassador program".
9---
10 
11# Referral Program Design
12 
13Design effective referral programs and viral loops that drive sustainable growth.
14 
15---
16 
17## 1. Referral Program Frameworks
18 
19### One-Sided Incentives
20 
21Only the referrer gets rewarded.
22 
23**Best for:**
24- Products with strong organic word-of-mouth
25- Low-friction signups where the referred user needs no extra motivation
26- Cost-sensitive businesses
27 
28**Examples:**
29- Uber: "$10 credit for every friend you refer"
30- Amazon Associates: Commission on referred purchases
31 
32**Template:**
33```
34Refer a friend and get [reward].
35Share your unique link: [referral_url]
36```
37 
38### Two-Sided Incentives
39 
40Both referrer and referred user get rewarded.
41 
42**Best for:**
43- Products requiring activation effort from new users
44- Competitive markets where new users need a nudge
45- Subscription businesses
46 
47**Examples:**
48- Dropbox: Both get 500MB extra storage
49- Airbnb: Referrer gets $25 credit, friend gets $40 off first stay
50- PayPal: Both get $10 when friend makes first transaction
51 
52**Template:**
53```
54Give [friend_reward], get [referrer_reward].
55Share your link and you both win: [referral_url]
56```
57 
58### Tiered Incentives
59 
60Rewards increase with number of successful referrals.
61 
62**Example tier structure:**
63| Referrals | Reward |
64|-----------|--------|
65| 1 | Free month |
66| 3 | Exclusive feature unlock |
67| 5 | Premium plan for 3 months |
68| 10 | Lifetime premium access |
69| 25 | Cash payout or swag box |
70 
71**Best for:**
72- Creating power referrers / ambassadors
73- Products with passionate user bases
74- Building a referral leaderboard culture
75 
76---
77 
78## 2. Viral Coefficient Calculation
79 
80The viral coefficient (K-factor) determines whether your referral loop is self-sustaining.
81 
82### Formula
83 
84```
85K = i * c
86 
87Where:
88 i = number of invites sent per user
89 c = conversion rate of each invite
90 
91If K > 1: viral growth (each user brings more than one new user)
92If K < 1: referrals supplement but don't replace other acquisition
93```
94 
95### Example Calculation
96 
97```
98Users send an average of 5 invites (i = 5)
9915% of invites convert to signups (c = 0.15)
100K = 5 * 0.15 = 0.75
101 
102With 1,000 initial users:
103- Cycle 1: 1,000 * 0.75 = 750 new users
104- Cycle 2: 750 * 0.75 = 563 new users
105- Cycle 3: 563 * 0.75 = 422 new users
106- Total after 10 cycles: ~3,570 additional users from referrals
107```
108 
109### Viral Cycle Time
110 
111The speed of the viral loop matters as much as K:
112 
113```
114Effective growth = K / cycle_time
115 
116A K of 0.5 with a 1-day cycle > K of 0.8 with a 30-day cycle
117```
118 
119### How to Improve K
120 
121| Lever | Action |
122|-------|--------|
123| Increase invites (i) | Make sharing frictionless, prompt at key moments |
124| Increase conversion (c) | Better landing page, stronger incentive, social proof |
125| Reduce cycle time | Instant reward delivery, real-time notifications |
126 
127---
128 
129## 3. Referral Channels
130 
131### Email Referral
132 
133**Pros:** High conversion, personal, trackable
134**Cons:** Lower volume, requires email access
135 
136Template:
137```
138Subject: I thought you'd like [Product] -- here's [reward] to try it
139 
140Hey [Name],
141 
142I've been using [Product] for [time] and it's been great for [specific benefit].
143 
144I wanted to share my referral link so you can get [friend_reward]:
145[referral_url]
146 
147[Your name]
148```
149 
150### Social Media Sharing
151 
152**Pros:** High reach, low effort, viral potential
153**Cons:** Lower conversion rate, less personal
154 
155Platform-specific templates:
156 
157**Twitter/X:**
158```
159I just [achievement/milestone] with @Product! If you want to try it,
160use my link and we both get [reward]: [referral_url]
161```
162 
163**LinkedIn:**
164```
165I've been using [Product] to [professional benefit] and the results
166have been impressive: [specific metric].
167 
168If you're looking for [solution], here's my referral link
169(we both get [reward]): [referral_url]
170```
171 
172**WhatsApp/SMS:**
173```
174Hey! I've been using [Product] and really like it. They have a
175referral deal -- we both get [reward] if you sign up through my link:
176[referral_url]
177```
178 
179### In-App Referral
180 
181**Pros:** Highest intent, contextual, frictionless
182**Cons:** Only reaches existing users
183 
184Best practices:
185- Show referral prompt after a success moment (completed task, achievement, positive outcome)
186- Pre-populate sharing message
187- Show referral progress and rewards earned
188- Add referral widget to account/settings page
189 
190### Unique Link vs. Referral Code
191 
192| Method | Pros | Cons |
193|--------|------|------|
194| Unique link | Frictionless, works in any channel | Harder to share verbally |
195| Referral code | Easy to remember, shareable verbally | Extra step at signup |
196| Both | Maximum flexibility | More complex to implement |
197 
198---
199 
200## 4. Referral Landing Page Template
201 
202The page a referred user sees when they click the referral link.
203 
204### Structure
205 
206```
207[Hero Section]
208- Headline: "[Referrer's name] invited you to [Product]"
209- Subheadline: "Sign up now and get [friend_reward]"
210- CTA button: "Claim your [reward]"
211 
212[Social Proof]
213- "[Referrer's name] and X others use [Product]"
214- Logos of known customers
215- Key metric: "Trusted by X users"
216 
217[Value Proposition]
218- 3 key benefits with icons
219- Brief product description
220 
221[How It Works]
222- Step 1: Sign up (takes 30 seconds)
223- Step 2: [Key activation action]
224- Step 3: Enjoy [reward] + the product
225 
226[CTA Repeat]
227- "Join [Referrer's name] on [Product]"
228- Urgency: "This offer expires in [X days]"
229 
230[FAQ]
231- When do I get my reward?
232- What does [Product] do?
233- Is there a catch?
234```
235 
236---
237 
238## 5. Case Studies
239 
240### Dropbox (2008-2010)
241 
242- **Mechanic:** Two-sided -- both get 500MB extra storage
243- **Result:** 3,900% growth in 15 months (100K to 4M users)
244- **Key insight:** The reward (storage) was the product itself, making it self-reinforcing
245- **Viral coefficient:** Estimated ~0.6-0.7 (supplemental, not purely viral)
246 
247### Airbnb (2014)
248 
249- **Mechanic:** Two-sided -- $25 travel credit for referrer, $40 off first booking for friend
250- **Result:** 300% increase in bookings from referral program 2.0
251- **Key insight:** Redesigned referral page to feel like a gift, not spam. Personalized with referrer's photo and travel history
252- **Viral coefficient:** Low K but high LTV per referred user
253 
254### PayPal (1999-2000)
255 
256- **Mechanic:** Two-sided -- $20 per referral (later reduced to $10, then $5)
257- **Result:** 7-10% daily growth, reaching 1M users in first year
258- **Key insight:** Cash incentive drove massive initial growth, then reduced as network effects kicked in
259- **Cost:** $60-70M in referral bonuses, but each user was worth much more in LTV
260 
261### Robinhood (2014-2015)
262 
263- **Mechanic:** Wait-list with move-up-the-line incentive + free stock for referrals
264- **Result:** 1M waitlist signups before launch
265- **Key insight:** Scarcity (waitlist) + social proof (your position) + tangible reward (free stock)
266 
267---
268 
269## 6. Implementation Checklist
270 
271### Technical Setup
272 
273- [ ] Generate unique referral links/codes per user
274- [ ] Build referral tracking (link clicks, signups, activations, rewards)
275- [ ] Set up attribution window (how long after click does signup count?)
276- [ ] Implement fraud detection (self-referral, fake accounts, VPN abuse)
277- [ ] Build reward fulfillment (automatic credit, manual approval, or hybrid)
278- [ ] Create referral dashboard for users (invites sent, pending, completed, rewards earned)
279 
280### Fraud Prevention
281 
282- [ ] Block self-referrals (same IP, same device, same email domain)
283- [ ] Require activation action before reward (not just signup)
284- [ ] Set daily/weekly referral limits per user
285- [ ] Flag suspicious patterns (bulk signups from same IP range)
286- [ ] Implement clawback for fraudulent referrals
287 
288### Program Design Decisions
289 
290| Decision | Options |
291|----------|---------|
292| Reward type | Cash, credit, product features, swag, charity donation |
293| Reward timing | On signup, on activation, on first purchase |
294| Reward amount | Test multiple amounts; higher is not always better |
295| Expiration | Referral links expire after X days? Rewards expire? |
296| Limit | Max referrals per user per month? |
297| Eligibility | All users or only paid/active users? |
298 
299---
300 
301## 7. Referral Email Sequences
302 
303### Invite Reminder (to existing users)
304 
305```
306Subject: You have [X] invites waiting
307 
308Hey [Name],
309 
310Did you know you can give your friends [reward] and get [reward] for yourself?
311 
312You've invited [0/N] friends so far. Share your link:
313[referral_url]
314 
315Here's what [Product] users are saying:
316"[Testimonial]" -- [Customer name]
317```
318 
319### Referred User Welcome
320 
321```
322Subject: [Referrer] sent you a gift -- [reward] inside
323 
324Hey there!
325 
326[Referrer's name] thinks you'd love [Product], so they're giving you [reward] to try it.
327 
328[CTA: Claim your reward]
329 
330What is [Product]?
331[1-sentence description]
332 
333What you'll get:
334- [Benefit 1]
335- [Benefit 2]
336- [Benefit 3]
337- Plus [friend_reward] from [Referrer's name]
338 
339This offer expires in [X] days.
340```
341 
342### Referral Success Notification
343 
344```
345Subject: [Friend's name] just signed up -- you earned [reward]!
346 
347Great news, [Name]!
348 
349[Friend's name] accepted your invitation and signed up for [Product].
350Your [reward] has been added to your account.
351 
352Keep sharing: you've referred [X] friends so far.
353[referral_url]
354 
355[Show progress toward next tier if using tiered rewards]
356```
357 
358---
359 
360## 8. Measuring Success
361 
362### Key Metrics
363 
364| Metric | Formula | Good Benchmark |
365|--------|---------|----------------|
366| Participation rate | Users who share / total users | 15-25% |
367| Shares per user | Total shares / participating users | 3-5 |
368| Click-through rate | Link clicks / shares | 20-40% |
369| Conversion rate | Signups / link clicks | 10-25% |
370| Viral coefficient (K) | Invites * conversion rate | 0.3-0.7 typical |
371| Viral cycle time | Avg days from invite to new user's first invite | 1-7 days |
372| Referral revenue | Revenue from referred users | Track separately |
373| CAC via referral | Reward cost / acquired users | Compare to paid CAC |
374 
375### A/B Tests to Run
376 
3771. Reward amount ($10 vs $20 vs $50)
3782. Reward type (credit vs cash vs feature unlock)
3793. One-sided vs two-sided incentive
3804. Referral prompt timing (after signup vs after first success)
3815. Landing page copy (gift framing vs deal framing)
3826. Email subject lines for referral invites
3837. Social sharing copy variations
384 

Discussion

Alternatives

Affiliate marketingWhen the user wants to plan, implement, or optimize affiliate marketing strategy. Also use when the user mentions "affiliate marketing," "affiliate program strategy," "CPS model," "affiliate recruitment," "commission structure," "affiliate partners," "affiliate network," "affiliate tracking," "affiliate commission," or "partner marketing." For affiliate page, use affiliate-page-generator.Marketing · MITAffiliate marketingBuild and manage an affiliate marketing program. Use when the user says "affiliate program", "affiliate marketing", "affiliate partners", "referral commissions", "affiliate network", "partner program", "affiliate tracking", or asks about creating, managing, or growing an affiliate or partner program.Marketing · MITAffiliate Program ListerResearch an affiliate program and create a verified listing for openaffiliate.dev. Use this skill when the user asks anything about listing a program, adding an affiliate program to the directory, submitting a program to list, creating a listing, documenting an affiliate program, sharing an affiliate program, writing a program profile, posting a program to openaffiliate.dev, or contributing a new program. Also trigger for: "list a program", "add affiliate program", "submit program to list", create listing for X", "document affiliate program", "share affiliate program", write a listing", "post to openaffiliate.dev", "add X to the directory", register an affiliate program", "publish affiliate program", "new program listing", profile this affiliate program", "catalog this program".Marketing · MITReferral & Affiliate ProgramsWhen the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' 'partner program,' 'referral incentive,' 'how to get referrals,' 'customers referring customers,' or 'affiliate payout.' Use this whenever someone wants existing users or partners to bring in new customers. For launch-specific virality, see launch.Marketing · MIT