AddThisFeature

Referral Program

Turn your users into your growth channel.

involved Growth

What it adds

Unique referral links, reliable attribution, and rewards for both sides.

What your agent is told to do

4
  1. 1

    Give every user a unique referral link.

  2. 2

    Attribute a signup reliably: capture the code at first touch, persist it through the entire signup flow, and attach it at account creation.

  3. 3

    Define what each side gets, and grant it only when the referred user hits a REAL milestone — not merely on signup.

  4. 4

    Give the referrer a page showing their invites and each one's status.

Edge cases it handles

5
  • Self-referral must be blocked.
  • Someone signing up with an existing email must not create a new referral credit.
  • Rewards must not be grantable twice for the same referral — make the grant idempotent.
  • Attribution must survive the user closing the tab and returning days later.
  • Fraud: many signups from one source should be flagged, not auto-paid.

Definition of done

7
  • Every user has a unique referral link.
  • Attribution survives a delayed, multi-session signup.
  • Self-referral and duplicate rewards are impossible.
  • Rewards are granted on a real milestone, exactly once.
  • Referrers can see the status of their invites.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.