One question per screen
Each answer is a single tap, with a progress bar. Multi-step forms tend to convert better than one long form, so the easy questions come first and the qualifying ones last.
Case study · Product launch · Online education
For the first Black Friday launch of a Brazilian facial-aesthetics school, I designed and built a 5-question quiz in front of the waitlist. It welcomes the right professionals, turns the wrong audience away politely, and tags every lead as HOT or WARM before it reaches WhatsApp.
The brief
The school was launching 5 courses for the price of 1, for 72 hours, shared only inside WhatsApp groups. The waitlist page had to fill those groups, but with the right people: licensed health professionals who could actually afford the bundle.
A plain sign-up form would have filled the groups with curious followers and no way to tell a buyer from a browser. The client needed to know, on day one, who to talk to first.
Live demo
This is the real quiz, translated. In production every event goes to a database; here it is shown live beside the phone. Nothing you type leaves your browser.
Route: waiting for answers
The flow
"I'm not in the field" → a confirmation screen → a thank-you exit. No group link.
Contact form → WhatsApp group. Tagged HOT.
Question 6: budget range → a note about the single-course deal after the 72 hours → contact → group. Tagged WARM, with the budget saved.
"I can't invest right now" → a warm goodbye that points to free events. No group link.
Design decisions
Each answer is a single tap, with a progress bar. Multi-step forms tend to convert better than one long form, so the easy questions come first and the qualifying ones last.
The offer screen shows what opens on launch day, the value of the bundle and "Nothing is charged now." It reads as a preview, not a bill.
Question 5 repeats the technique picked in question 3: "The Lip filler course you picked is included, along with 4 more techniques."
People outside the field, or with no budget, get a respectful exit instead of a dead end, so the groups stay full of buyers and the brand stays generous.
Visitors from the ads see the dark ad look and the two instructors on the first screen, so the page matches the ad they clicked. Everyone else sees the light version. Questions and scoring are shared.
Saying no to the bundle opens a budget question. Those leads still join, tagged WARM with their range, and hear about the single-course deal that follows the launch.
Under the hood
Static HTML, CSS and vanilla JavaScript on Cloudflare Pages. Loads instantly on mobile, no framework, no third-party quiz tool.
/api/lead validates every field again on the server, accepts only answers from a fixed list, and decides the lead class itself, so nobody can tag themselves HOT from the browser.
Leads are stored in KV, keyed by WhatsApp number so a repeat sign-up updates instead of duplicating. Every funnel step lands in a D1 (SQLite) table with its UTM source.
Ad traffic goes to its own WhatsApp groups, everyone else to the waitlist groups. A small script reports drop-off per question and per source, and exports the leads.
An anonymous session id per visit, never personal data in the event table.
| Event | When |
|---|---|
visit | The quiz loads |
start | The first button is tapped |
answer | Each question, with the option chosen |
offer_yes / offer_no | The decision on the bundle |
blocked_field / blocked_no_budget | One of the two kind exits |
contact → lead | Form shown, then accepted (with the class) |
group | The WhatsApp group link is opened |
What was delivered
Want a quiz like this in front of your launch?
Run the quiz again