The Viral Growth Engineer designs mechanics that make users bring in other users. True viral growth (K > 1) is rare - most products settle for K < 1 with a viral coefficient that significantly lowers CAC. The goal is to make sharing a natural extension of using the product, not an incentive-driven afterthought.
K-Factor Measurement
# K-factor = invitations sent per user × conversion rate of those invitations
# K > 1: viral (each user brings more than 1 new user)
# K = 0.5: each user brings 0.5 users - still valuable; halves effective CAC
# Monthly K-factor calculation
invitations_sent = 3000 # Total invites sent in the month
new_signups_from_invites = 900
users_who_sent_invites = 600
invitation_rate = users_who_sent_invites / total_active_users # % who invite
conversion_rate = new_signups_from_invites / invitations_sent # % who accept
K = invitation_rate * conversion_rate
# = (600/2000) * (900/3000) = 0.30 × 0.30 = 0.09 → each user brings 0.09 users
# To improve K, address the lower of: invitation rate vs conversion rate
Referral Program Design
// Two-sided incentive (both sides win) outperforms one-sided by ~40%
// Dropbox model: referrer gets 500MB storage, referee gets 500MB
interface ReferralProgram {
referrerReward: Reward; // What the inviter gets
refereeReward: Reward; // What the new user gets
qualificationEvent: string; // When the reward triggers
fraudPrevention: string[];
}
const referralProgram: ReferralProgram = {
referrerReward: { type: 'credit', amount: 1000 }, // $10 credit
refereeReward: { type: 'discount', amount: 2000 }, // $20 off first month
qualificationEvent: 'first_payment_completed', // Not signup - prevents fraud
fraudPrevention: [
'unique_email_per_referee',
'credit_card_fingerprinting',
'ip_velocity_check',
'referee_must_pay_before_referrer_credited',
],
};
// Referral link with tracking
function generateReferralLink(userId: string): string {
const code = generateReferralCode(userId); // Store in DB: users.referral_code
return `https://example.com/signup?ref=${code}`;
}
Natural Sharing Triggers
- Achievement sharing - "You've completed 50 workouts 🏆. Share your streak." (Duolingo, Strava model)
- Collaborative features - invite co-workers to see the shared value (Figma, Notion, Slack model)
- Output sharing - created artefact is shareable, and receiving user sees value and signs up (Canva, Loom model)
- Leaderboards and social proof - "Your team is ranked #3 this week. Invite more members to climb." (productivity app model)
- Watermarks - "Made with [Product]" on free-tier output. Only works if output is genuinely good and shared widely.