How a referral gets recorded
The referral is created before anybody knows whether it will be worth anything, which is the awkward property that shapes the whole record: you have to write it down at the moment it happens and then wait to find out if it mattered.
Key takeaways
- The referral is created at the click, with the rule version and timestamp.
- The attribution window is published, finite, and applies from the click.
- First click wins, and the rule is stated in the terms rather than assumed.
- Self-referral is detected at recording, not at payout.
- The record is append-only; a referral is corrected by a new event, never an edit.
The moment of record
- Compute
- App integration
- Machine learning
- Security & identity
- Management
Why first click and not last
Two people can plausibly refer the same customer, and whichever rule you choose will occasionally feel unfair to somebody. First click is the better default for a referral programme — unlike advertising attribution — because the referral is a personal act and the first person to make it did the work of the recommendation.
What matters more than the choice is that it is written in the published terms in one sentence, so the conversation with the second referrer is about a rule they agreed to rather than about a decision somebody appears to have made about them.
The window is published
A referral does not last forever. Thirty, sixty or ninety days from the click is typical, and the number matters less than it being stated and applied consistently. An unpublished window is discovered by referrers exactly once, at the moment they find out they were not paid.
The window runs from the click, not from the signup, and it is stamped alongside the rule version so that shortening it later cannot retroactively expire referrals that were still live under the old terms.
Append-only, always
- Management
- Front-end & mobile
- People
The temptation is a status column that gets updated. It works until somebody asks why a referral that was held in August was paid in September, and the answer is a value that was overwritten and a timestamp that says only when it last changed.
Events cost slightly more storage and remove an entire class of unanswerable question. For a system handling other people’s money that is not a close call.
Self-referral at recording
Catching the obvious cases — same account, same email, same payment method — at the moment of recording is better than catching them at payout, because the record then says self-referral from the start rather than looking like a payment that was withheld.
It also means the referrer finds out immediately if they misunderstood the programme, which for a good proportion of them is exactly what happened. Somebody ordering through their own link is more often confused than dishonest.
Next: when a referral becomes payable.
All posts