metadata__referral_source
Incoming subscribe URL ?ref= token
Never displayed raw; used only to attribute a confirmed subscriber to an inviter.
Leaderboard plan
This page documents the leaderboard shape for MY-2571 wiring. It publishes no private emails and shows no live rankings until confirmed Buttondown subscriber counts are available.
Buttondown metadata
metadata__referral_source
Never displayed raw; used only to attribute a confirmed subscriber to an inviter.
metadata__reader_token
Can be mapped to an approved display name after opt-in.
metadata__signup_market
Market filter for multi-newsletter dashboards.
tag
Operational filter only; never shown to readers.
Public table shape
| Public field | Rule |
|---|---|
| Rank | Sort by confirmed referral count after fraud checks. |
| Display name | Initials, first name plus area, or opted-in community name only. |
| Area | Reader-selected broad St Albans or Harpenden area; no street-level data. |
| Confirmed referrals | Count confirmed Buttondown subscribers with matching referral_source, excluding reversals and abuse. |
| Reward tier | Show reward label only; prize fulfilment remains manually approved. |
Static artifact
Open leaderboard.json for the future Buttondown exporter contract. It is placeholder-only until confirmed subscriber attribution is wired, deduplicated and reviewed.
Webhook gates
Buttondown subscriber.created or equivalent event is received with metadata fields intact.
Confirmation state is checked before a referral increments public totals.
Self-referrals and duplicate email aliases are excluded before scoring.
A private attribution table exists separately from the public leaderboard view.
Leaderboard cache can be rebuilt without exposing raw subscriber records.
Manual kill switch hides public rankings if abuse, privacy or sponsor-risk flags appear.
Launch sequence
Keep /share/ and /subscribe/ static referral capture in place.
Verify Buttondown stores referral_source, reader_token and signup_market from embedded form submissions.
Backfill a private referral ledger from confirmed subscribers only.
Generate a redacted leaderboard JSON containing publicColumns only.
Review reward wording and sponsor-backed prize terms manually.
Publish public rankings only after the editor approves the live leaderboard.
Fraud checks
Block duplicate self-referrals once signup webhook exists.
Review same-IP clusters before publishing leaderboard.
Exclude disposable email domains from prize eligibility.
Only count confirmed Buttondown subscribers.
Do not publish private emails on the leaderboard.
Publication gates
Export or webhook source must include only confirmed Buttondown subscribers.
Referral counts must be deduplicated by subscriber email and reader token before any ranking is shown.
Public display names must use initials, explicit opt-in names or area labels; never raw emails.
Prize eligibility must be reviewed manually before any sponsor-backed draw is announced.
Leaderboard JSON must be generated as a static artifact; no private subscriber API response is exposed client-side.