Guides / SaaS
A waitlist is your earliest demand signal. Logging signups lets you see which traffic sources drive the most interest, when you hit momentum milestones, and whether a launch post is converting.
// app/api/waitlist/route.ts
export async function POST(req: Request) {
const { email, source } = await req.json() as { email: string; source?: string };
await db.waitlist.create({ data: { email, source: source ?? "direct" } });
const totalCount = await db.waitlist.count();
await logit.now("waitlist", {
event: "Waitlist signup",
description: `${email} joined — #${totalCount} on the list`,
icon: "⏳",
notify: false,
tags: { source: source ?? "direct" },
metadata: { email, totalCount, source: source ?? "direct" },
});
return Response.json({ ok: true, position: totalCount });
}
| Rule name | Threshold | Window | Cooldown |
|---|---|---|---|
| 100 waitlist signups | 100 | 30 days | 30 days |
| 500 waitlist signups | 500 | 30 days | 30 days |
| 1,000 waitlist signups | 1000 | 30 days | 30 days |
| Field | Value |
|---|---|
| Name | Waitlist surge |
| Channel | waitlist |
| Event name | Waitlist signup |
| Threshold | 50 |
| Window | 1 hour |
| Cooldown | 2 hours |
| Action | Push notification |
| Push title | 🚀 Waitlist surge! |
| Push body | 50+ signups in 1 hour |
source in tags (utm_source, referrer, "twitter", "hn", "ph") to see which channels drive signups.description so each event in the dashboard shows the list size at that moment.Try LogIt free
7-day trial. No credit card required.