Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Configures Prometheus for metric scraping from apps/node exporters/Kubernetes pods, alerting rules, and monitoring. Includes Helm Kubernetes and Docker Compose installs.
Reward unlocked when the referred user reaches a usage milestone (not just sign-up).
Pros: Higher quality referrals. Referrer is motivated to help the friend succeed.
Cons: Delayed gratification reduces participation. More complex to track.
Best for: Products where sign-up is free and activation is the real conversion.
Example: "Get $50 credit when your friend completes their first project."
Incentive Design
Cash and Credit
Cash: Most universally appealing. Highest participation rates.
Account credit: Slightly lower appeal but better unit economics (not all credit gets used).
Guideline: Set reward at 20-50% of your paid CAC. If CAC = $100, referral reward = $20-50.
Discounts
Percentage off: "Get 20% off your next purchase."
Fixed amount: "Get $25 off."
Best for: E-commerce, subscription products, when you want to drive a repeat purchase.
Product/Service Rewards
Free month/upgrade: "Get a free month of Premium."
Feature unlock: "Unlock advanced analytics for free."
Best for: SaaS products where marginal cost of service is low.
Status and Recognition
Leaderboards: Public ranking of top referrers.
Badges/titles: "Super Referrer" status.
Exclusive access: Early access to new features, VIP events.
Best for: Community-driven products, professional networks.
Incentive Amount Optimization
Too low = not motivating. Too high = attracts gamers, unsustainable economics.
Start at 20-30% of paid CAC and test up/down.
Test cash vs. credit vs. product rewards — responses vary by audience.
Two-sided rewards: Referrer reward can be lower than the new user incentive. "Give $30, get $15" often works well because the referrer values being generous.
Referral Funnel Optimization
The Referral Funnel
Eligible Users (active, satisfied customers)
↓ Awareness rate: Know the program exists
Aware Users
↓ Share rate: Actually send a referral
Sharers
↓ Referral sent: Number of referrals per sharer
Referrals Sent
↓ Click rate: Referred person clicks the link
Clicks
↓ Conversion rate: Referred person completes the action
New Customers
Optimization by Funnel Stage
Awareness (Most programs fail here)
Place referral CTAs in the product where engagement is high (post-purchase, after achievement, in settings).
Send dedicated referral emails to satisfied customers (trigger after positive NPS response or milestone).
Add referral to onboarding flow (after activation, not before).
Make it visible but not intrusive — persistent sidebar or footer link.
Share Rate
Pre-write the sharing message (editable but pre-filled).
Show the value the friend will get prominently ("Your friend gets $30 off").
Referral Click-Through
Personalize the referral landing page ("Sarah invited you").
Show the referral reward immediately and clearly.
Reduce sign-up friction to minimum (pre-fill email if possible).
Conversion of Referred Users
Referred users convert 2-5x better than cold traffic (trust transfer).
Ensure the referral landing page matches the promise.
Add social proof: "Join 50,000+ users including your friend Sarah."
Viral Coefficient from Referrals
K = (% of customers who refer) × (avg referrals per referrer) × (referral conversion rate)
Example:
15% of customers refer at least once
Average referrer sends to 3 people
20% of those people convert
K = 0.15 × 3 × 0.20 = 0.09
This means every 100 customers generate ~9 new customers through referrals.
Not viral (K < 1), but meaningful — effectively reduces blended CAC by 9%.
Case Studies: What Made Them Work
Dropbox
Mechanic: Two-sided. Give 500MB, get 500MB of free storage.
Why it worked: Reward was the product itself (storage). Users genuinely wanted more storage. Sharing was frictionless. Reward was instantly delivered and visible.
Result: 3900% growth over 15 months. 35% of daily sign-ups came from referrals.
Uber (Early Days)
Mechanic: Two-sided. Give $20 ride credit, get $20 ride credit.
Why it worked: High LTV supported generous rewards. First ride experience was delightful (vs. taxis). Credit had clear, immediate utility. City-by-city launch created local urgency.
Airbnb
Mechanic: Two-sided. Give $25 travel credit, get $25 when friend travels.
Why it worked: Travel is inherently social (people share travel plans). Reward triggered on actual booking (high intent, high quality). Personalized referral pages increased conversion 25%.
Common Patterns from Successful Programs
Reward is directly tied to the product experience.
Two-sided incentive where both parties feel they win.
Sharing happens at the moment of maximum delight.
The product itself creates natural sharing opportunities.
Friction to refer is extremely low (1-2 taps).
Referral Messaging and Prompts
When to Ask for Referrals (Timing Matters)
After a positive experience: Post-purchase, after completing a milestone, after a support interaction with high CSAT.
After demonstrating value: Show the user their results/savings/progress, then ask for referral.
NPS follow-up: If user gives NPS 9-10, immediately ask for referral.
NOT during onboarding (they haven't experienced value yet).
NOT during a support issue (bad timing).
Messaging Templates
Email Prompt:
Subject: Your friends would thank you for this
Hey [Name], you've [achieved X / saved $Y / been with us for Z months]. Know someone who'd benefit too?
Give them [reward] and you'll get [reward] when they [action].
[Share Now Button]
In-App Prompt:
You just [completed milestone]! Know someone who'd love this?
Share your link and you both get [reward].
[Copy Link] [Share via Email] [Share via SMS]
Post-Purchase:
Thanks for your order! Love [product]? Share it with a friend.
They get [reward]. You get [reward].
[Your unique link: referral.link/username]
Measuring Referral Program Health
Key Metrics Dashboard
Metric
Definition
Target
Participation Rate
% of eligible customers who share at least once
10-25%
Shares per Referrer
Avg referrals sent per participating customer
2-5
Referral Conversion Rate
% of referred people who convert
10-30%
Referral CAC
Cost of referral rewards / Referred customers acquired
< 50% of paid CAC
Referral LTV
LTV of referred customers vs. other channels
Often 15-25% higher
K-Factor
Viral coefficient from referrals
0.05-0.3 for most programs
Program ROI
Revenue from referred customers / Total program cost
> 3:1
Health Indicators
Healthy: Participation growing, K-factor stable or improving, referral LTV > average LTV.