How to install referral-program
npx skills add https://github.com/kostja94/marketing-skills --skill referral-programFull instructions (SKILL.md)
Source of truth, from kostja94/marketing-skills.
name: referral-program description: When the user wants to plan, implement, or optimize referral program strategy. Also use when the user mentions "referral program," "referral marketing," "user referral," "refer-a-friend," "word-of-mouth growth," "referral rewards," "referral tracking," "referral code," "referral incentives," or "viral loop." For referral landing copy, use landing-page-generator. metadata: version: 1.0.1
Channels: Referral
Guides referral program strategy for AI/SaaS products. Leverage existing users to drive growth; 3%-5% conversion vs 1%-2% for ads; CAC 50%-70% lower; referred users LTV 30%-50% higher, retention 20%-30% higher. Referral is necessity in overseas markets, not alternative.
When invoking: On first use, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Initial Assessment
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for product, audience, and value proposition.
Identify:
- Product type: SaaS, AI tool, subscription
- User base: Size, engagement, retention
- Goal: Signups, purchases, or both
Referral vs. Affiliate vs. Influencer
| Dimension | Referral | Affiliate | Influencer |
|---|---|---|---|
| Who | Existing users | Professional promoters | KOLs |
| Incentive | Discounts, credits | Commission | Fees, product |
| Barrier | Low (all users) | Medium | High |
| Conversion | 3%-5% | Varies | Varies |
Referral vs affiliate: Referral needs no landing page or application; integrated in dashboard. Affiliate requires landing page and approval.
Reward Models
| Model | Use |
|---|---|
| Two-way | Both referrer and referee get rewards; highest participation |
| One-way | Only referrer rewarded; cost control |
| Tiered | Rewards increase with referral count (e.g. $10 for 1-5, $15 for 6-10, $20 for 11+); incentivizes volume |
Benchmark: Rewards typically 10%-30% of product price; ~11% off or ~$21 value; weak incentives = low participation. Triggers: signup, purchase, activation, or sustained use.
Mechanism Types
| Type | Use |
|---|---|
| Link-based | Unique referral link; easy to implement; accurate tracking; share via email, social, SMS; works for web and app |
| Code-based | Referral code (e.g. FRIEND20); memorable; offline events; mobile-friendly input |
| Social referral | Share buttons (Facebook, X, LinkedIn); viral spread; friend trust; young users |
Tracking & Attribution
| Method | Use |
|---|---|
| Cookie | Web apps; 30-90 day window |
| URL params | All platforms; persistent in link |
| Referral code | Mobile, offline; manual entry |
| Account association | Long-term tracking; subscription products |
Attribution window: 30-90 days typical; 180 days for subscription. First-touch attribution to avoid double-counting.
Fraud Prevention
| Risk | Action |
|---|---|
| Self-referral | Detect same device, payment, IP |
| Fake accounts | Validate email, payment; monitor patterns |
| Bulk/automation | Rate limits; anomaly detection |
| Per-user cap | e.g. Max 10 referrals per user |
Use tool anti-fraud features; audit referrals regularly.
Design Framework
- Reward structure: Type (cash, discount, credits, free service); amount (10%-30% of price); trigger; cap
- Tracking: Choose method; set attribution window; first-touch rule
- UX: One-click share; clear rules; dashboard with referral data; notify on success
- Fraud prevention: See above
- Monitor & optimize: Referral rate, conversion, CAC, LTV; A/B test rewards and flow
Best Practices
- Run multiple programs: Target different audiences, stages, goals
- Tiered rewards: Motivate top performers; progressive incentives
- Friction-free sharing: Mobile-friendly; one-click share
- Time-boxed incentives: "Refer this week for $15 off" creates urgency
- Placement: Web, email, app, in-product touchpoints; dashboard integration primary
Implementation
| Approach | Use |
|---|---|
| Self-build | Full control; low cost; URL params or cookie + reward logic + fraud checks; open-source (e.g. RefRef) for faster start |
| Third-party | Fast launch; Cello, Viral Loops, ReferralCandy (e-commerce), Impact (enterprise); monthly fee |
Placement: Most programs integrate in product dashboard; no landing page or application needed. Optional landing page for value prop, rewards, and case studies.
Startup cost: Typically hundreds for tools + dev.
Tools
| Tool | Use |
|---|---|
| Cello | SaaS; AI-driven automation |
| Viral Loops | Referral + waitlist + contests |
| ReferralCandy | Shopify, e-commerce |
| Impact | Enterprise; unified platform |
| RefRef | Open-source; self-hosted |
KPIs
Referral rate, conversion, CAC, LTV of referred users, referred-user retention.
Output Format
- Reward model and mechanism type (link/code/social)
- Tracking approach and attribution window
- Placement (dashboard vs landing page)
- Fraud prevention measures
- Tool selection (self-build vs third-party)
- KPI framework
Related Skills
- discount-marketing-strategy: Referral rewards (discounts, credits); 10–30% benchmark; campaign design
- affiliate-marketing: Different audience; can run both
- influencer-marketing: Brand building vs. user-driven growth
- directory-submission: Directory submission for discovery; referral for user-driven growth
- analytics-tracking: Referral link tracking, UTM
Related skills
More from kostja94/marketing-skills and the wider catalog.
copywriting
When the user wants to write or optimize short-form marketing copy—headlines, CTAs, ad copy, landing page copy, email copy. Also use when the user mentions "copywriting," "headline," "CTA copy," "ad copy," "landing page copy," "sales copy," "conversion copy," "PAS," "AIDA," "BAB," "copy formula," or "differentiation." For long-form article bodies (blog posts, guides), use article-content.
linkedin-posts
When the user wants to create LinkedIn post copy or optimize for LinkedIn. Also use when the user mentions "LinkedIn post," "LinkedIn article," "professional post," "post to LinkedIn," "LinkedIn content," "LinkedIn copy," "B2B LinkedIn," "LinkedIn engagement," "LinkedIn feed," "share box," "document post," "poll," "Newsletter," "reshare," or "LinkedIn marketing." For LinkedIn ads, use linkedin-ads.
youtube-seo
When the user wants to optimize YouTube videos for search, create video descriptions, or improve channel visibility. Also use when the user mentions "YouTube SEO," "YouTube description," "YouTube tags," "YouTube thumbnail," "YouTube title," "YouTube channel," or "video SEO." For YouTube ads, use youtube-ads.
tiktok-captions
When the user wants to create TikTok video captions, scripts, or optimize for TikTok. Also use when the user mentions "TikTok post," "TikTok caption," "TikTok video," "post to TikTok," "TikTok script," "TikTok content," "TikTok copy," "TikTok hashtags," or "TikTok marketing." For TikTok ads, use tiktok-ads.
video-marketing
When the user wants to plan video marketing, create video scripts, or optimize for short-form or long-form video. Also use when the user mentions "video marketing," "video script," "short-form video," "long-form video," "TikTok script," "Reels script," "YouTube script," "video hook," or "video content strategy." For on-site video SEO, use video-optimization.
meta-ads
When the user wants to set up, optimize, or manage Meta (Facebook/Instagram) Ads. Also use when the user mentions "Meta Ads," "Facebook Ads," "Instagram Ads," "Meta Pixel," "Conversions API," "Advantage+," "lookalike audience," or "Meta retargeting." For landing pages, use landing-page-generator.