Sub topic 10
Designing the lead form
This chapter assumes you know basic HTML forms and can work with percentages. It covers how a lead form's design affects the number of visitors who finish it, and how to check whether a shorter form is actually better for your business.
Friction: the cost of each field
Friction is anything that makes a visitor work harder to finish the form. Each field costs the visitor time, effort, and some trust. Each field also gives you information. Design the form by deciding what the first follow-up needs, then ask for only that.
For a free checklist, one email address is usually enough. You can ask for a name, company, or phone number later, once the visitor has a reason to trust you.
| Field | Ask now? | Reason |
|---|---|---|
| Yes | You need it to deliver the offer | |
| First name | Maybe | Helps personalize the follow-up, but adds effort |
| Phone number | Rarely | Visitors read it as a sales call |
| Company size | Only if sales needs it | Helps qualify, but costs conversions |
A minimal form
This form asks for one field, labels it, states what the visitor agrees to, and uses a button that names the offer.
<form action="/subscribe" method="post">
<label for="email">Work email</label>
<input type="email" id="email" name="email" autocomplete="email" required>
<label>
<input type="checkbox" name="consent" value="yes" required>
Send me the checklist and occasional related emails. I can unsubscribe at any time.
</label>
<button type="submit">Get the free checklist</button>
</form>Several details reduce friction:
- A visible
labelstays readable after the visitor starts typing. A placeholder disappears. type="email"shows an email keyboard on phones and catches obvious typos.autocomplete="email"lets the browser fill the field in one tap.- The button text names the outcome. "Submit" says nothing about what the visitor gets.
Measure the form
To judge a form, calculate its conversion rate. The conversion rate is leads divided by visitors.
def conversion_rate(leads, visitors):
if visitors == 0:
return 0.0
return leads / visitors
visitors = 2400
leads = 96
print(f"{conversion_rate(leads, visitors):.1%}") # 4.0%The guard against zero visitors prevents a crash on a page that has had no traffic yet.
More leads is not always better
A shorter form usually raises the number of leads. It can also bring in people who are less likely to buy. A longer form screens people out, so you get fewer leads but a higher share of them may be serious.
Compare both rates for two form variants:
def lead_to_customer_rate(customers, leads):
return customers / leads if leads else 0.0
variants = {
"A: short form": {"visitors": 1000, "leads": 60, "customers": 3},
"B: long form": {"visitors": 1000, "leads": 35, "customers": 4},
}
for name, v in variants.items():
visit_to_lead = v["leads"] / v["visitors"]
lead_to_cust = lead_to_customer_rate(v["customers"], v["leads"])
print(f"{name}: {visit_to_lead:.1%} of visitors become leads, {lead_to_cust:.1%} of leads become customers")The output is:
A: short form: 6.0% of visitors become leads, 5.0% of leads become customers
B: long form: 3.5% of visitors become leads, 11.4% of leads become customersVariant A produces more leads. Variant B produces more customers, 4 against 3. Which is better depends on what a lead costs you to follow up and what a customer is worth. With samples this small, the gap could also be chance, so treat it as a reason to test further and not as proof.
Common errors
- Asking for data you will not use in the first follow-up.
- Using placeholders in place of labels.
- Naming the button "Submit".
- Judging a form only by lead count.
- Pre-checking the consent box.
Exercise
A form has a 5% visit-to-lead rate and a 4% lead-to-customer rate. You add three optional fields. Visit-to-lead falls to 4%, and lead-to-customer rises to 6%. Out of 1,000 visitors, which version produces more customers?
Show answer
The original produces 1,000 x 0.05 x 0.04 = 2 customers. The new version produces 1,000 x 0.04 x 0.06 = 2.4 customers. The new version is slightly ahead, but the difference is under one customer per 1,000 visitors, so you would need much more traffic before trusting it.
Exercise
Why is a label better than a placeholder for the email field?
Show answer
A label stays visible while the visitor types and works with screen readers. A placeholder disappears as soon as typing starts, so the visitor can forget what the field is for.