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.

refund-page-generator
When the user wants to create or optimize a refund or return policy page. Also use when the user mentions "refund policy," "return policy," "money-back guarantee," "returns and refunds," "refund page," "return process," "refund terms," "satisfaction guarantee," "cancellation policy," or "withdrawal right." For legal overview, use legal-page-generator.

rendering-strategies
When the user wants to choose or optimize rendering strategy for SEO. Also use when the user mentions "SSR," "SSG," "CSR," "ISR," "static rendering," "dynamic rendering," "server-side rendering," "client-side rendering," "JavaScript rendering," "pre-rendering," "prerender," "content in initial HTML," or "crawler visibility." For crawl issues, use site-crawlability.

research-sources
When the user wants to find information sources for content ideation, competitor monitoring, or industry tracking. Also use when the user mentions "research sources," "information sources," "content ideation," "industry monitoring," "competitor monitoring," "market intelligence," "content research," or "topic research." For keywords, use keyword-research.

resources-page-generator
When the user wants to create, optimize, or audit resources page or content hub. Also use when the user mentions "resources page," "resource center," "content hub," "learning center," "resource library," "downloads," "templates," "guides," or "resource hub." For content hub planning, use content-strategy.

retention-strategy
When the user wants to reduce churn, improve customer retention, or plan lifecycle marketing. Also use when the user mentions "retention," "churn," "customer lifecycle," "churn prevention," "at-risk customers," or "loyalty program." For lifecycle, use growth-funnel.

robots-txt
When the user wants to configure, audit, or optimize robots.txt. Also use when the user mentions "robots.txt," "crawler rules," "block crawlers," "AI crawlers," "GPTBot," "allow/disallow," "disallow path," "crawl directives," "user-agent," "block Googlebot," "fix robots.txt," "robots.txt blocking," or "search engine crawling." For indexing, use indexing.