Skip to content

How to track lead source in HubSpot

Knowing which campaigns create enquiries, deals, and customers is essential for deciding where to invest. When source information is stored on each HubSpot contact, teams can move beyond website traffic and see which activity actually produces pipeline and revenue.

Four-step setup and pre-launch checklist

A practical setup follows four stages. First, install the tracking snippet on the website and add hidden fields to each form. Second, allow the tool to classify the visit and remember it in a browser cookie, including when the visitor returns after a few days. Third, submit the form so the hidden values are saved as properties on the HubSpot contact. Fourth, build reports from those properties.

Use this checklist before relying on the data:

  • Confirm the snippet is present on every page where enquiries can begin.
  • Add hidden fields for Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, and Channel Drilldown 4.
  • Test each form builder you use, such as HubSpot Forms, Gravity Forms, Jotform, Wix Forms, or Webflow Forms.
  • Submit a test enquiry from a tagged campaign link and check the resulting contact record.
  • Repeat the test for an organic visit so paid and unpaid sources are not confused.
  • Build a report only after test contacts show the expected channel, drilldown, and landing page values.

What the captured data means

Channel data gives the broad origin of a lead. Drilldown fields then add progressively more specific detail. For a paid Google Ads visit, the channel may be Paid Search, the first drilldown may be Google, the second may name the campaign, and the third may record the keyword used. For an organic Google visit, the channel may be Organic Search, followed by Google, the Google domain, and the search term when available.

Landing page data answers a different question: where did the visitor first enter the site? Recording both the exact page and its group makes it possible to compare sections such as a blog with individual articles inside that section. That distinction helps teams separate the value of a content area from the performance of a single page.

Three reports to build first

Start with leads by channel each month. This view separates sources that generate enquiries from sources that mainly generate visits. Next, examine deals by Google Ads campaign to see which campaigns create sales opportunities, then compare lead-to-deal conversion between campaigns. Finally, review customers by Facebook ad network to see whether Facebook, Instagram, Messenger, or WhatsApp is producing new customers.

Together, these reports connect spend to enquiries, enquiries to opportunities, and opportunities to customers. That progression is more useful than judging a channel by traffic alone because it reveals where budget should be increased, reduced, or investigated further.

Frequently asked questions

What setup is needed before lead source data appears in HubSpot?

Add the tracking snippet to your website, create hidden fields on your forms for channel and drilldown values, and let the tool populate those fields when a visitor submits. The values then arrive in HubSpot as contact properties for reporting.

What is the difference between channel, drilldown, and landing page data?

Channel data identifies the broad source, such as Paid Search or Organic Search. Drilldown fields add detail such as the platform, campaign, and keyword or domain. Landing page fields show where the visitor first arrived and which site section that page belongs to.

Which reports are most useful once the data is in HubSpot?

Monthly leads by channel show which sources produce enquiries. Deals by campaign show which campaigns create sales opportunities and allow lead-to-deal comparison. Customers by ad network show which networks, such as Facebook, Instagram, Messenger, or WhatsApp, produce new customers.