Sub topic 3
Designing the Lead Form
Assume you know basic HTML forms, landing pages, and simple percentages. This chapter focuses on the handoff from form submission to a useful, measurable lead.
Design a low-friction form
A lead form should ask only for information needed now. Every extra field increases effort and may reduce completion. Start with the visitor’s email address. Ask for a name, company, or job role only when it supports a clear follow-up decision.
Use a label, an appropriate input type, autocomplete, and a button that names the result.
<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>Common errors include hiding the purpose of the form, using “Submit” as the button text, and requesting data that the sales or follow-up process never uses.
Collect consent and protect privacy
Consent is permission for a specific use of personal data. State what the visitor will receive, who will use the data, and how they can stop future messages. Do not preselect optional marketing consent. Link to the relevant privacy information, protect stored data, and avoid putting email addresses in URLs or analytics labels.
Continue after submission
The thank-you page should confirm success, provide the promised resource, and explain the next step. Send the first follow-up promptly. Keep it consistent with the consent statement and include an unsubscribe option where required.
Measure conversion and lead quality
Conversion rate is leads divided by visitors. The example below returns 4% for 96 leads from 2,400 visitors.
def conversion_rate(leads, visitors):
if visitors == 0:
return 0.0
return leads / visitors
print(f"{conversion_rate(96, 2400):.1%}")Lead volume alone can mislead. Compare the percentage of leads that become qualified opportunities or customers. A shorter form may produce more leads but fewer suitable buyers.
Test one change at a time
An A/B test compares two versions using the same success measure. Change one variable, such as a button label or one form field. Run both versions long enough to collect comparable traffic, then judge downstream quality as well as form completion.
Exercise
A form receives 1,000 visitors and 50 leads. What is its conversion rate, and what additional measure should you check?
Show answer
The conversion rate is 5%. Check how many leads become qualified opportunities or customers.