Get the FREE Ultimate OpenClaw Setup Guide →

referral-program

npx machina-cli add skill kostja94/marketing-skills/referral --openclaw
Files (1)
SKILL.md
5.7 KB

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 product marketing context first: If .claude/product-marketing-context.md or .cursor/product-marketing-context.md exists, read it for product, audience, and value proposition.

Identify:

  1. Product type: SaaS, AI tool, subscription
  2. User base: Size, engagement, retention
  3. Goal: Signups, purchases, or both

Referral vs. Affiliate vs. Influencer

DimensionReferralAffiliateInfluencer
WhoExisting usersProfessional promotersKOLs
IncentiveDiscounts, creditsCommissionFees, product
BarrierLow (all users)MediumHigh
Conversion3%-5%VariesVaries

Referral vs affiliate: Referral needs no landing page or application; integrated in dashboard. Affiliate requires landing page and approval.

Reward Models

ModelUse
Two-wayBoth referrer and referee get rewards; highest participation
One-wayOnly referrer rewarded; cost control
TieredRewards 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

TypeUse
Link-basedUnique referral link; easy to implement; accurate tracking; share via email, social, SMS; works for web and app
Code-basedReferral code (e.g. FRIEND20); memorable; offline events; mobile-friendly input
Social referralShare buttons (Facebook, X, LinkedIn); viral spread; friend trust; young users

Tracking & Attribution

MethodUse
CookieWeb apps; 30-90 day window
URL paramsAll platforms; persistent in link
Referral codeMobile, offline; manual entry
Account associationLong-term tracking; subscription products

Attribution window: 30-90 days typical; 180 days for subscription. First-touch attribution to avoid double-counting.

Fraud Prevention

RiskAction
Self-referralDetect same device, payment, IP
Fake accountsValidate email, payment; monitor patterns
Bulk/automationRate limits; anomaly detection
Per-user cape.g. Max 10 referrals per user

Use tool anti-fraud features; audit referrals regularly.

Design Framework

  1. Reward structure: Type (cash, discount, credits, free service); amount (10%-30% of price); trigger; cap
  2. Tracking: Choose method; set attribution window; first-touch rule
  3. UX: One-click share; clear rules; dashboard with referral data; notify on success
  4. Fraud prevention: See above
  5. 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

ApproachUse
Self-buildFull control; low cost; URL params or cookie + reward logic + fraud checks; open-source (e.g. RefRef) for faster start
Third-partyFast 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

ToolUse
CelloSaaS; AI-driven automation
Viral LoopsReferral + waitlist + contests
ReferralCandyShopify, e-commerce
ImpactEnterprise; unified platform
RefRefOpen-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

Source

git clone https://github.com/kostja94/marketing-skills/blob/main/skills/channels/referral/SKILL.mdView on GitHub

Overview

Guides referral program strategy for AI/SaaS products, leveraging existing users to drive growth. It highlights mechanics, reward models, tracking, and fraud prevention, with benchmarks like 3-5% conversion and lower CAC compared to ads.

How This Skill Works

Start with a product and audience assessment, then design reward models (two-way, one-way, or tiered) and mechanism types (link-based, code-based, or social). Implement robust tracking and attribution (cookie, URL params, or account association), set a practical attribution window, and apply fraud prevention before monitoring and optimization.

When to Use It

  • Launching a referral program for an AI/SaaS product
  • Optimizing an existing program to improve conversion, CAC, and LTV
  • Scaling referrals in overseas markets with localization and compliance
  • Choosing between referral, affiliate, and influencer approaches
  • Strengthening tracking, attribution, and fraud prevention across programs

Quick Start

  1. Step 1: Assess product marketing context, target audience, and primary goals
  2. Step 2: Choose a reward model (two-way, one-way, or tiered) and a mechanism (link-based, code-based, or social)
  3. Step 3: Implement tracking (cookies, URL params, referral codes), define attribution window, enable fraud controls, launch, and monitor

Best Practices

  • Run multiple programs to target different audiences, stages, and goals
  • Implement tiered rewards to incentivize higher referral volume
  • Offer one-click sharing with clear rules and an easy-to-use dashboard
  • Set up robust tracking and attribution with first-touch focus to avoid double-counting
  • Regularly monitor metrics (referral rate, CAC, LTV) and run A/B tests on rewards and flow

Example Use Cases

  • A SaaS startup implements a two-way reward system with a referral link, enabling easy sharing and mutual incentives
  • An AI tool uses a code-based referral (e.g., FRIEND20) for offline events and in-app prompts
  • A platform adds social referral buttons (Facebook, X, LinkedIn) to drive viral sharing among users
  • A subscription product uses account association for long-term tracking and retention analytics
  • A company experiments link-based vs code-based referrals across regions to optimize performance

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers