Track lead source in Freshsales: fields, setup and reports
Knowing which channel produced a lead is only useful if that information survives the journey from first visit to CRM record. This guide explains how website tracking, hidden form fields and Freshsales reporting can work together so each lead carries its channel, campaign detail and landing page with it.
Why source context matters in Freshsales
A lead record without source context forces guesswork. With source context, the same record can support a channel comparison, a campaign review or a landing-page analysis. The workflow has four stages: install website tracking, populate hidden fields at submission, send those fields to Freshsales with the form data, and build reports from the stored values.
Step 1: Install tracking and prepare the form
Start by placing the supplied website snippet so visits can be observed from arrival onward. Then add hidden fields to each relevant form. The named channel fields are Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3 and Channel Drilldown 4. The exact placement method depends on the website builder and form tool in use, so follow the instructions for your specific combination rather than assuming one generic procedure.
Step 2: Capture and store the source before submission
After installation, the tool categorises visits using channel concepts familiar from analytics tools, including Organic Search, Paid Search and Paid Social. It stores the source information in a browser cookie while the visitor browses. When a form is completed, that stored information is written into the hidden fields. This separation matters: the cookie preserves the source across pages, while the hidden fields make it available to the form submission.
Step 3: Send the captured values with the lead
On submission, the form builder sends the hidden-field values to Freshsales alongside ordinary lead details such as name and email. Supported form tools named in the source include Contact Form 7, Gravity Forms, Jotform, Typeform and Wix Forms. Before launch, test a submission and inspect the resulting Freshsales record to confirm every expected field arrived and was mapped correctly.
Step 4: Report by channel, campaign and landing page
Once source values are stored on leads, Freshsales reports can group results by channel, drilldown, campaign or landing page. Useful checks include leads by channel over time, opportunities by Google Ads campaign, and customers by Facebook Ads network. Compare the report definitions before acting: a lead count, an opportunity count and a customer count answer different questions and should not be treated as interchangeable.
What the captured data can describe
Channel data gives the broad source, while drilldowns add progressively specific detail. A paid-search example uses Paid Search as the channel, Google as Drilldown 1, Brand Campaign as Drilldown 2 and Free Trial ad as Drilldown 3. An organic-search example uses Organic Search, Google, the specific Google domain and either a keyword or a brand term where available. Landing-page data adds the first page visited and its page group, making it possible to compare sections such as a blog with individual pages inside that section.
Pre-launch checklist
Use this checklist before relying on reports: confirm the snippet loads on the pages containing target forms; confirm all channel and landing-page hidden fields exist; submit test forms from paid and organic visits; verify the values in Freshsales; check that drilldown levels are not swapped; and confirm report filters use the intended lead, opportunity or customer object. If a value is missing, inspect the form mapping first, because the CRM can only report data that reached it.
Bottom line
Source tracking becomes valuable when it is complete enough to support a decision. Capture the channel and its drilldowns, retain the landing page, test the full submission path and then review reports at the level matching the decision: channel for budget direction, campaign for media optimisation and landing page for content or page improvement.
| Field group | What it records | Use it to answer |
|---|---|---|
| Channel | Broad source category, such as Paid Search or Organic Search | Which channels produce leads? |
| Channel Drilldown 1-4 | Progressively more specific source, platform, campaign or ad detail | Which source or campaign produced the result? |
| Landing page | First page the lead visited | Which individual page produced the lead? |
| Landing page group | Section containing that page, such as a blog path | Which site section produced the lead? |
Field names are taken from the source workflow; confirm the owner's Freshsales mapping before implementation.
| Report | Primary measure | Decision it supports |
|---|---|---|
| Leads by channel | Monthly lead volume by channel | Where to invest or reduce effort |
| Opportunities by Google Ads campaign | Monthly opportunities by campaign | Which campaigns create sales opportunities |
| Customers by Facebook Ads network | Customers by Facebook, Instagram, Messenger or WhatsApp network | Where paid social budget performs best |
Keep lead, opportunity and customer measures separate when comparing results.
Frequently asked questions
What is the basic setup sequence?
Add the tracking snippet to the website, add Channel and Channel Drilldown hidden fields to the form, let the tool store source data in a browser cookie and write it into those fields on submission, then let the form builder send the fields with the lead details to Freshsales.
Which fields should the form capture?
Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3 and Channel Drilldown 4, plus landing page and landing page group data.
Which reports illustrate the value of the captured data?
Leads by channel for a high-level monthly view, opportunities by Google Ads campaign to compare campaign contribution, and customers by Facebook Ads network to compare Facebook, Instagram, Messenger and WhatsApp performance.