Install
openclaw skills install @leooooooow/referral-engineDesign a customer referral program with incentive structures, sharing mechanics, fraud prevention rules, and tracking setup that turns existing buyers into a scalable acquisition channel.
openclaw skills install @leooooooow/referral-engineDesign a customer referral program with incentive structures, sharing mechanics, fraud prevention rules, and tracking setup that turns existing buyers into a scalable acquisition channel. Referral is consistently the highest-converting acquisition source for ecommerce — referred customers convert at 3–5× the rate of cold traffic and have 16–25% higher LTV — but most referral programs fail because the incentive is wrong, the timing is off, or the mechanics are too complex for buyers to act on.
| Decision | Strong | Acceptable | Weak |
|---|---|---|---|
| Incentive type | Double-sided reward (both referrer and referee get value) | One-sided reward for referrer only | Discount-only incentive with no novelty |
| Trigger timing | First positive experience moment (post-delivery Day 7–14) | Post-purchase confirmation page | Sent only to all customers at once via blast email |
| Reward value | 10–20% of AOV or product credit with real perceived value | Flat $5–$10 credit | $1–$2 credit that feels insulting |
| Sharing mechanics | 1-click share with pre-filled message to WhatsApp, SMS, email | Copy-paste link only | Manual "tell a friend" with no tracking |
| Fraud prevention | Email domain checks, IP/device deduplication, minimum order before payout | Basic duplicate email check | No fraud protection |
| Program measurement | Track referral CAC vs. other channels; CLV of referred cohort | Track total referrals sent | Count referral codes shared only |
| Program visibility | Persistent account page link + post-purchase flow + triggered email | Only in one email | Hidden in footer |
Before designing the referral experience, validate the economics work for your margins.
Unit economics check:
| Metric | Your number | Target range |
|---|---|---|
| Average Order Value (AOV) | ||
| Gross margin % | ||
| Current CAC (paid channels) | ||
| Target referral CAC | <50% of paid CAC | |
| Maximum reward budget | <25% of gross margin on referred order |
Reward type options by margin profile:
| Margin | Best reward type | Why |
|---|---|---|
| >50% GM | Product credit or free item | High perceived value, low real cost |
| 30–50% GM | Discount code (15–20% off) | Sustainable; still feels meaningful |
| <30% GM | Cash reward on second order | Defer cost to proven repeat buyer |
| Any | Tiered rewards (more referrals = better reward) | Gamification without upfront cost |
Double-sided reward benchmark:
Standard referral (recommended for most stores): Every customer gets a unique referral link after purchase. Referrer rewards activate on friend's first order.
Loyalty-gated referral: Referral program unlocked after Nth purchase or reaching a spend threshold. Keeps program exclusive and rewards your best customers.
Influencer / ambassador tier: Separate track for customers with large networks. Higher reward rates (20–30%) in exchange for content creation or social posts. Requires manual vetting.
Group referral / squad mechanic: Referrer gets progressive rewards for multiple friends referred (1 friend = $10, 3 friends = $40, 5 friends = $100). Drives high-effort sharing from motivated advocates.
The referral share moment must be frictionless. Each additional step cuts conversion by ~40%.
Required elements:
Pre-written message template:
"Hey! I've been buying from [Brand] and genuinely love [product/brand]. Here's 15% off your first order: [link]. I get a credit too when you order — thought I'd share!"
Personal tone, names the brand benefit, explains the mechanic briefly.
Where to surface the share moment:
Minimum viable tracking setup:
| Tool tier | Option | Tracks |
|---|---|---|
| Built-in (Shopify) | Shopify Referrals or ReferralCandy | Basic referral links, discount attribution |
| Mid-tier | Yotpo Loyalty, Smile.io, Friendbuy | Full referral + loyalty, email flows |
| Enterprise | Impact.com, PartnerStack | Multi-channel affiliate + referral |
UTM parameters for custom implementations:
?utm_source=referral&utm_medium=friend&utm_campaign=referral-program&utm_content=[customer_id]
Metrics to track from Day 1:
Referral fraud is common. Implement at minimum:
Basic controls (must-have):
Intermediate controls:
Signs of fraud to watch:
Launch sequence:
Announcement email subject lines (A/B test):
Monthly review:
Growth levers:
Setup:
Share message:
"Honestly one of the best coffees I've tried. Use my link for 20% off your first bag: [link]"
90-day results:
Setup:
Insight: Product credit (free travel size) outperformed $10 cash credit in A/B test by 34% on share rate because recipients perceived it as a gift, not a transaction.
Result: 6.8% of customers shared within 30 days; 22% referee conversion rate; referral program accounted for 18% of new customer acquisition by Month 3.
One-sided incentive only — If only the referrer benefits, the share feels selfish. Double-sided rewards outperform single-sided by 30–50% on conversion.
Launching before product-market fit — Referral amplifies your existing word-of-mouth signal. If customers aren't naturally recommending you, a referral program won't create that impulse.
Too-small incentive — A $2 credit isn't motivating. The referrer is doing you a favor; the reward should feel meaningful. Match 15–20% of AOV as a rule of thumb.
No fraud prevention — Without basic controls, self-referral loops and bulk fake account creation can drain your reward budget quickly.
Burying the program — If the only access point is a single email sent at sign-up, most customers will never remember or find the program again.
Complicated reward mechanics — If explaining how to earn rewards takes more than two sentences, customers won't participate. Simplicity converts.
No post-share nurture — Referred visitors who don't convert on first visit need a follow-up sequence. Capture email at minimum; retarget if budget allows.
Treating all customers equally — Your top 10% of customers by LTV are 5–10× more likely to refer effectively. Target them first with higher incentives.