Skip to content
Tutorials Center
My learning

Topics

Lesson 11 of 37 ยท Marketing Hub

HubSpot Forms and Landing Pages

Build HubSpot forms and landing pages that capture leads: form fields, progressive profiling, consent, thank-you actions, A/B tests and tracking what converts.

Forms and landing pages are the front door of the marketing funnel. A landing page is a focused page with one goal; a form on it collects the visitor's details and turns an anonymous visit into a CRM contact. HubSpot connects the two so that every submission lands on a record, with the page, campaign and source recorded.

Forms and basic landing pages are available in free and Starter tiers with limits; A/B testing, smart content and advanced form logic need Professional or higher. Menu labels may differ slightly from this text.

How a form works

When someone submits a HubSpot form:

  1. The browser sends the fields to HubSpot.
  2. HubSpot looks up the email value. If a contact with that email exists, it updates the record; otherwise it creates one.
  3. HubSpot logs a form submission activity on the contact timeline, with the page URL and any UTM values.
  4. The thank-you behaviour runs (message or redirect), notification emails are sent, and workflows triggered by "form submitted" start.

Because email is the unique key, repeated submissions from the same person enrich one record rather than making copies.

Building a form

Open Marketing > Lead Capture > Forms (labels vary) and Create form. You choose the type: regular embedded form, pop-up, or a form for a standalone page, then the layout.

Choose fields from properties

Each form field is mapped to a contact property (or company, deal or ticket property in some form types). Mapping to existing properties keeps data in one place. Choose field types that match: a dropdown property gives a dropdown field.

Design rules that raise conversion:

  • Ask only what you need. Every extra field costs conversions. Email alone is often enough for a newsletter; a demo request needs more.
  • Use dropdowns for known values.
  • Mark only essential fields as required.
  • Put the privacy notice and consent checkbox where law requires (GDPR regions).
  • Use hidden fields to pass data the visitor need not type, such as a campaign name.

Progressive profiling

Progressive profiling shows a returning visitor different fields from the ones they already gave. First visit: email and name. Second visit: company and role. This builds a rich record without a long first form. It is configured per field with "Don't show if already known" style rules (available in Professional and higher for most form types).

Dependent fields and smart logic

Dependent (conditional) fields appear only when a previous answer calls for them: choose "Other" and a text box appears. Use sparingly; each rule adds a failure case to test.

What happens after submit

Set the options of the form:

  • Thank-you message shown in place, or redirect to a thank-you page (better for tracking and for offering the next step).
  • Notification emails to the owner or team.
  • Follow-up email to the submitter (for example a download link or a confirmation).
  • Contact owner assignment and lifecycle stage setting, typically through a workflow.

Landing pages

A landing page is built in the page editor (Marketing > Website > Landing pages) from a template (theme module layout). You add modules (a headline, image, text, form, button) and set the page URL, title and meta description, plus the campaign it belongs to.

Principles of a good landing page:

  1. One goal. One call to action. Remove the full site navigation if you can.
  2. A clear headline that echoes the ad or email that led here.
  3. Proof: a short testimonial, logos or numbers.
  4. A short form above the fold.
  5. Fast, mobile friendly layout. Most visits come from phones.

HubSpot hosts the page and handles responsive layout, SSL and form tracking. You can also place a HubSpot form on a page hosted elsewhere using an embed code or the Forms API, and your own forms can post to HubSpot through the API or the tracking-code based "collected forms" feature.

A/B testing

A/B testing (Professional and up) serves two versions of a page and measures which gets more submissions. Change one thing at a time (headline, form length, button text), run until you have enough visits to be confident, and apply the winner. HubSpot reports views, submissions and the conversion rate of each variation.

Measuring forms

Each form shows views, submissions and conversion rate. Compare forms by traffic source in the Sources report, and look for forms with high views but few submissions: the form or the offer is the problem. UTM parameters on the link are stored on the submission so you can attribute leads to campaigns (see campaigns, UTM and attribution).

Form logic in code (stand-in)

HubSpot's form runs on the server and cannot run here. The stand-ins model the same logic: choosing which fields to show (progressive profiling) and what a submission does to a contact.

JS Stand-in: progressive profiling

Press Run (or Ctrl + Enter) to see the console output here.

No output.

JS Stand-in: handle a form submission

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Spam and quality control

Public forms attract bots. Protect them with CAPTCHA, the honeypot and spam filtering HubSpot provides, restrict free-mail domains if your product is B2B (a form setting), and review submissions regularly. Disposable email addresses and fake names reduce list quality and cost marketing contacts.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What does HubSpot do when a form is submitted with an email that already exists?

    Email is the unique identifier, so the submission enriches the existing record.
  2. 2. What is progressive profiling?

    It builds a fuller record over several visits while keeping each form short.
  3. 3. Which is a landing page best practice?

    Focused pages convert better because there is one clear action.
  4. 4. Why redirect to a thank-you page after submission?

    A dedicated thank-you URL is easy to measure and can present the next action.

Summary

  • A form submission creates or updates a contact by email and logs the page and source.
  • Map fields to properties, keep forms short and use progressive profiling.
  • Landing pages need one goal, a clear headline and a short form.
  • Test with A/B tests, measure conversion rate and defend against spam.

Next: Email marketing