Skip to content

Track the Source of Leads From Framer Forms

Knowing which campaigns, channels and pages produce enquiries lets you invest in what works and stop funding what does not. The setup below attaches that origin information to every Framer form submission without adding work for the visitor.

Why attach the origin to the form submission?

Visitor analytics can show where traffic came from, yet it usually cannot connect that visit to the person who later completes a form. If channel details are written into the form itself at submission time, the origin travels with the name, email address and other details the visitor entered. That single record then supports reporting in a CRM or spreadsheet.

Three-step setup

First, place the tracking code on the site using the tool's installation guidance. Next, add four hidden fields to each form: Channel, Channel Drilldown 1, Channel Drilldown 2 and Channel Drilldown 3. Once both pieces are in place, the code detects where a visitor came from and fills those fields automatically when the form is submitted. Because the fields stay hidden, the visitor sees no extra questions and does no extra work. Framer then captures the populated values together with the submitted contact information.

Pre-launch checklist

Checklist before testing: tracking code present on the site; all four hidden fields added to every lead form; a test visit made through a tagged campaign link; a test submission confirming that Channel and the three drilldown fields arrive populated; and the destination CRM or spreadsheet receiving the new fields. Test both a paid link and an organic visit so the two patterns below can be distinguished.

What the captured data contains

Channel data describes how the visitor arrived, broken into a main channel and three progressively more specific drilldowns. For a paid search click, an example pattern is Channel = Paid search, Drilldown 1 = Google, Drilldown 2 = the brand campaign name, and Drilldown 3 = the keyword used in that campaign. For an organic Google visit, the pattern might be Channel = Organic search, Drilldown 1 = Google, Drilldown 2 = google.com, and Drilldown 3 = the search phrase, when available. Landing-page data adds the exact first page visited and a broader group such as /blog, so lead volume can be compared across site sections and individual pages.

Three reports to build first

Once the values reach a CRM or spreadsheet, three reports are immediately useful. Leads by channel compares monthly volume across Paid Social, Paid Search and Organic Search so underperforming channels can be refined and strong ones funded. Leads by Google Ads campaign separates campaigns that attract clicks but do not convert from those that genuinely produce leads. Leads by social network shows which platforms, such as Facebook, Twitter or LinkedIn, generate the most leads, informing where to invest further and where to withdraw effort.

Sending the data onward

For onward use, route submissions through an integration tool such as Zapier into a CRM such as Salesforce, Pipedrive, HubSpot or Zoho CRM. Alternatively, use Framer's built-in Google Sheets connection, build charts in the sheet, or connect Looker Studio for more advanced dashboards. Either route turns each form submission into a record that shows exactly which channel, campaign and landing page produced the lead.

Example channel values
Visit typeChannelDrilldown 1Drilldown 2Drilldown 3
Paid search clickPaid searchGoogleBrand campaign nameCampaign keyword
Organic Google searchOrganic searchGooglegoogle.comSearch phrase, if available

Example patterns only; actual values depend on the UTM parameters and search data available for each visit.

Frequently asked questions

Why does website analytics not identify the source of a lead?

Visitor analytics shows how people reached and used the site, but it does not reliably attach that origin to the individual who later submits a form. Writing channel and landing-page values into hidden form fields preserves the origin alongside the submitted contact details.

Which hidden fields are needed on a Framer form?

Add four hidden fields: Channel, Channel Drilldown 1, Channel Drilldown 2 and Channel Drilldown 3. The tracking code then populates them automatically when a visitor submits the form, so the visitor does not need to enter anything extra.

What does the channel data look like in practice?

A paid-search visit might record Channel as Paid search, Drilldown 1 as Google, Drilldown 2 as the brand campaign name, and Drilldown 3 as the keyword used. An organic Google visit might instead record Organic search, Google, google.com and the search phrase when available.

What landing-page information is captured?

It records the exact first page the lead landed on and a broader landing-page group, such as /blog. That makes it possible to compare lead volume by section of the site and by individual page.

Where can the captured data be used after submission?

Send the submitted values onward with an integration tool such as Zapier to a CRM, or use the built-in Google Sheets connection to build charts in a spreadsheet and connect a dashboard tool such as Looker Studio for more advanced reporting.