How to Build a Waitlist Page
A waitlist is a promise and a queue. Show people their place, let them move up by inviting friends, keep them warm with a few emails, and let them in fairly on launch day.

Key takeaways
- Store a signup time and a referral count, and compute the position from both. Never store the position itself.
- Count a referral only after the friend confirms their email, or the leaderboard fills with fake addresses.
- Plan launch day before you collect a single email: who gets in first, how many per wave, and what the invite email says.
A good waitlist page does three things: it collects an email with a one-line promise, it shows each person their place in line right after they join, and it gives them a personal referral link that moves them up when friends sign up. Behind it you need a confirmation email, a simple fraud check, and a plan for letting people in on launch day. The page takes an afternoon. The queue logic and the launch plan are where people stumble, so most of this guide is about those.
Do you need a queue at all?
A plain "notify me at launch" list is enough when launch is close and everyone gets in on the same day. A referral queue earns its complexity when access is genuinely limited (server capacity, a hand-onboarded beta, a physical product batch) or when you are using the waitlist to spread the word. If you promise early access for referrals, you must actually honor it. People screenshot their position, and a queue that turns out to be meaningless costs trust on the day you need it most.
How the queue works
- signups: email, status (pending, confirmed, invited, joined), created time, confirmed time, a short unique referral code, the code of whoever referred them, and a count of confirmed referrals.
- position is computed, not stored: confirmed people sorted by an effective time, where each confirmed referral moves you earlier by a fixed amount, or by a points score where signups earn a base and each referral adds more.
- events (optional): referral confirmed, position changed, invite sent. Useful for the "you moved up 40 places" email and for debugging complaints.
Why compute instead of storing? Because every new signup and every referral would otherwise force you to rewrite thousands of stored positions, and the numbers drift the moment two things happen at once. A single ordered query is always correct. A common rule is "each confirmed referral jumps you ahead of N people" or "each referral is worth a day of waiting." Pick one, write it on the page in plain words, and keep it.
Stopping fake referrals
Any reward for referrals invites gaming, usually with throwaway addresses. Most of it stops with a few rules:
- 01Confirmed only: a referral counts after the friend clicks the confirmation email, not on signup.
- 02Block disposable email domains with a maintained list, and treat plus-addressing (name+1@...) as the same person.
- 03Rate-limit signups per IP address and per referral code per hour, and flag codes with sudden spikes for review instead of auto-rewarding them.
- 04Cap the reward: after a certain number of referrals, further ones stop moving you. It keeps one person with a big audience from making the queue meaningless for everyone else.
On Startbase Cloud, keep the counting in the database or a server function rather than in the page, so nobody can increment their own count from the browser. Every new table gets row level security, and a server function can do the confirmation and counting in one step. The edge functions docs explain what runs server side.
The emails that keep a waitlist warm
- Confirm: one button, sent immediately. Without it, nothing else counts.
- Welcome: their position, their referral link, and what they will get. Sent on confirmation.
- Moved up: when a friend confirms, "Sam joined from your link, you are now #840." Batch these if many arrive at once.
- Progress: once or twice before launch, a short update with something real (a screenshot, a date, a feature). Silence for three months makes people forget why they signed up.
- Invite: the email that lets them in, with a link that works once and a clear deadline if spots are held.
Startbase Cloud's Emails section can send through a platform sender with no setup (with a daily per-project limit, and the App AI gateway switched on) or through your own domain once you connect a Resend key and verify DNS. For a waitlist of more than a few hundred people, connect your own domain before launch day, since invites go out in large batches and must not land in spam. Every email needs an unsubscribe link.
A brief to paste
Build a waitlist page for a habit tracking app launching in March. Page: headline "Build one habit that sticks", one-line subheadline, email field and Join button, a counter of people waiting. After joining: show "Check your inbox to confirm". After confirming: show their position ("#1,284, with 312 behind you"), their referral link with copy and share buttons, and the rule "each friend who confirms moves you up 50 places, up to 10 friends". Count a referral only when the friend confirms. Block disposable email domains, treat plus-addresses as the same person, rate-limit by IP. Do the counting in a server function, never in the browser. Emails: confirm, welcome with position and link, a batched "you moved up" email, and an invite email with a one-time link. Admin page for my account only: total signups, confirmation rate, top referrers, and a button to invite the next N people in position order.
The page itself
Above the fold: what it is, who it is for, one email field and a Join button. Under it, a picture of the product (even an early one), three short points on what people get, and the referral rule in one sentence. A live count of people waiting adds social proof once it is large enough to impress; below a few hundred, hide it. After joining, replace the form with the confirmation message rather than sending people to a new page, and after they confirm, make the referral link the biggest thing on screen, with copy and share buttons for the places your audience actually talks.
Launch day
Decide the waves in advance. A typical plan lets in the top of the queue first (your most engaged people, and the ones who were promised it), watches for problems for a day or two, then opens in larger batches until everyone is in. Each invite email carries a single-use link that creates the account and marks the signup as joined. Track how many invited people actually join; if it is low, your waitlist emails were too sparse or the promise drifted from what you are launching.
Two practical warnings. First, sending thousands of invites at once can hit sending limits and spam filters, so send in batches over hours. Second, everyone you do not let in on day one should get a short note saying when their turn comes. A queue that goes quiet on launch day loses people faster than any other moment.
Keep it simple
Skip prize tiers, badges, social login and a public leaderboard of referrers in the first version. Each adds work and gaming risk, and none is needed to learn whether people want the thing. If you are still testing demand, read how to validate a startup idea in a weekend: a waitlist with a strong confirmation rate is one of the clearest signals you can collect. Publish the page, share it, and check the admin numbers daily for the first week. When the doors open, how to launch on Product Hunt and referral programs for apps pick up where the queue leaves off.
Frequently asked questions
How do referral waitlists decide your position?
Most sort confirmed signups by when they joined, adjusted by how many confirmed friends they referred: each referral moves you ahead by a fixed number of places or a set amount of time. The rule should be written on the page so people know how it works.
How do I stop people faking referrals?
Count a referral only after the friend confirms their email, block disposable email domains, treat plus-addresses as one person, rate-limit signups, and cap how many referrals can move someone up. Do the counting on the server, not in the browser.
Do I need a backend for a waitlist page?
Yes, if you want positions, referral codes and emails. A database stores signups and counts, and a server function confirms addresses and credits referrals safely. On Startbase, Cloud provides both when you enable it for the project.
How many emails should I send to a waitlist?
Confirm and welcome right away, a moved-up email when friends join, one or two real progress updates before launch, then the invite. More than that tends to raise unsubscribes; much less and people forget why they signed up.
