Why this matters
Referral programs can inflate signup volume without producing retained users. Quality matters more than invite count.
What you get
- Invite send and acceptance rates
- Activation and retention of referred users
- Best inviter cohorts and channels
- Whether referral rewards are attracting quality users
Walk through it
Are referrals bringing good users?
I’ll follow referred users from invite to activation.
POST /v1/projects/:project_id/analytics/query {
project_id: "default",
hogql: "SELECT properties.channel AS channel, countIf(event = 'referral_invite_sent') AS sent, countIf(event = 'referral_invite_accepted') AS accepted, countIf(event = 'activated') AS activated FROM events WHERE event IN ('referral_invite_sent','referral_invite_accepted','activated') AND timestamp > now() - INTERVAL 60 DAY GROUP BY channel ORDER BY accepted DESC"
}
The output
The agent returns referral channels and inviter cohorts ranked by activation quality.
Setting it up
Emit referral lifecycle events with stable inviter and invitee identifiers. Preserve referral source onto activation.
Variations
- “Show referrals by power-user cohort.”
- “Find inviters whose referrals activate above average.”
- “Publish referral quality by channel.”