Referral Links Overview
Referral links are the heart of BitEasy’s attribution system. They connect your partners to your app and enable accurate tracking of who referred each subscriber.
What is a Referral Link?
Section titled “What is a Referral Link?”A referral link is a human-readable identifier (called a referral code) that:
- Maps a partner to a specific app
- Is used in the attribution flow to identify the referrer
- Can be shared by partners with their audience
Examples of referral referral codes:
alicesummer-promopodcast-50launch
How Referral Links Work
Section titled “How Referral Links Work”When a partner shares their referral link:
flowchart TB
A[User clicks partner's link] --> B["/defer or /defer-preflight called with referral code"]
B --> C[User installs app]
C --> D{Attribution Mode}
D -->|Window-based| E["/claim attributes to referral code within time window"]
D -->|Code-based| F["User enters code → /claim attributes"]
E --> G[Partner gets credit]
F --> G
Window-Based Attribution
Section titled “Window-Based Attribution”- User clicks partner link (e.g.,
example.com/?referralCode=alice-yearly-2026) /deferis called with the referral code- User installs the app
/claimautomatically matches the install to the referral within the time window- Partner Alice is credited
Code-Based Attribution
Section titled “Code-Based Attribution”- User clicks partner link
/defer-preflightgenerates a claim code- User installs the app
- User enters the claim code in your app
/claimattributes after code submission- Partner is credited
Referral Link Properties
Section titled “Referral Link Properties”Each referral link has:
| Property | Description |
|---|---|
| Referral Code | The unique identifier (e.g., alice) |
| Partner | Which partner owns this link |
| Status | Active or Inactive |
| Plan Hint | Optional: suggests a subscription plan |
| Max Redemptions | Optional: limit total uses |
| Redemption Count | How many times claimed |
Multiple Links Per Partner
Section titled “Multiple Links Per Partner”Partners can have multiple referral links for different campaigns or offers:
alice-yearly-2026— Annual subscription promoalice-monthly— Monthly subscriptionalice-podcast-25— 25% discount from podcast mention
This design enables:
- Campaign tracking — See which offers perform best
- Clear attribution — Every referral traces to a specific link
- Granular analytics — Compare performance across promotions
Active vs Inactive
Section titled “Active vs Inactive”Links can be toggled between active and inactive:
| Status | Behavior |
|---|---|
| Active | Accepts attribution requests with this referral code |
| Inactive | Rejects requests — returns error to caller |
Use inactive status to:
- End a promotion without deleting the link
- Pause a partner’s referrals temporarily
- Keep historical data while stopping new attributions
Why Not Just Use Partner ID?
Section titled “Why Not Just Use Partner ID?”You might wonder: “Why not just use the partner’s ID directly?”
Referral links provide:
- Human-readable referral codes — Partners can share memorable links
- Multiple links per partner — Track different campaigns separately
- Promotional flexibility — Time-limited or capped redemptions
- Plan hints — Guide users to specific subscription tiers
Next Steps
Section titled “Next Steps”- Creating Links — Create and configure referral links
- Link Analytics — Track link performance