Skip to content

Track Facebook Ads in ClickFunnels: capture ad data on every form submission

Clicks and visits alone do not show whether an ad produced a lead or customer. This guide explains how to attach Facebook ad information to each ClickFunnels form submission, so the resulting contact record shows where the lead originated and which campaign, network and landing page were involved.

Why clicks are not enough

Facebook's own reporting and general web analytics can show clicks and visits, but they do not by themselves connect those visits to the leads and customers created afterwards. The missing link is campaign information carried from the ad click, through the visitor's browsing, and onto the form submission.

The approach below creates that link in four stages: label every ad with UTM parameters, detect the visitor's origin on arrival, store that information for later use, and write it into hidden form fields when the visitor submits. Once captured, the same data can be viewed on the ClickFunnels contact record or passed onward for reporting.

Step 1: Label each ad with UTM parameters

Add UTM parameters to the destination URL behind each Facebook ad. These are short text additions to the URL that identify the campaign context.

Use a consistent naming pattern across ads:

  • UTM Medium: paid social
  • UTM Source: Facebook
  • UTM Campaign: the campaign name
  • UTM Term: the ad set name
  • UTM Content: the specific ad

Consistency matters because later reporting groups records by these values. Decide the pattern before launch and apply it to every ad, rather than inventing a new spelling for each campaign.

Step 2: Install the attribution snippet and store the origin

Place a small attribution snippet on the website. When a visitor arrives, it identifies the origin and classifies it using channel categories comparable to those in web analytics, such as Paid Social, Organic Social, Paid Search and Organic Search.

The snippet also stores the UTM information in the visitor's browser. That storage is the key difference from a method that only reads parameters on the landing page: if the visitor browses other pages, leaves and returns later, or submits a form on a different page, the original campaign information can still be passed through.

Step 3: Add hidden fields to the form

Add these hidden fields to each ClickFunnels form:

  • Channel
  • Channel Drilldown 1
  • Channel Drilldown 2
  • Channel Drilldown 3
  • Landing Page
  • Landing Page Group

In ClickFunnels, drag a field into the form and give it the exact name required for the corresponding value. Hidden fields are not meant for the visitor to complete; they carry attribution data alongside the visitor's own entries, such as name, email and company.

The landing-page fields add a second dimension beyond the ad itself. They record the first page the visitor reached and the group that page belongs to, for example a specific blog URL and its /blog group. That makes it possible to compare lead volume across funnel pages and wider site content, not only across campaigns.

Step 4: Let the data flow into the contact record

With the snippet and fields in place, the flow is automatic. A visitor arriving from a Facebook ad has the UTM parameters gathered and stored, then written into the hidden fields. On submission, ClickFunnels captures those values with the contact's own details.

Before relying on the data, run a controlled test:

  • Click through a tagged test ad to a funnel page
  • Browse to a different page before submitting, to confirm the data survives navigation
  • Submit the form and open the contact record
  • Check that channel, drilldown, landing page and landing page group are populated
  • Repeat with an untagged or differently tagged visit to confirm the fields behave as expected

Also check for inconsistent UTM spellings, such as different values used for the same source. A good attribution tool should normalise those variations into the correct channel, so minor naming differences do not fragment the reporting.

What to do with the captured data

Captured data can be used in three places. First, it can be viewed directly on the contact record in ClickFunnels. Second, it can be sent to a spreadsheet through an automation tool such as Make or Zapier, where it can be analysed directly or fed into a reporting tool. Third, it can be sent to a CRM, where built-in charts and dashboards can show lead and customer volume by origin.

Three reports are especially useful for judging Facebook ad performance:

  • Leads by channel: monthly lead volume split by channel, showing which channels are most effective overall
  • Leads by network: lead volume split across the networks where ads appear, such as Facebook, Messenger, Instagram and the Audience Network, showing where to invest further
  • Leads by campaign: monthly lead volume split by campaign, showing which campaigns produce the most leads and which may need budget moved away from them

Because attribution is captured for all leads rather than only Facebook leads, the same reporting can also cover other sources, including paid search, organic social and search initiatives.

Pre-launch checklist

Use this checklist before launching or scaling campaigns:

  • Every ad destination carries the full UTM pattern
  • Campaign, ad set and ad names are spelled consistently
  • The attribution snippet is installed on every relevant page
  • All six hidden fields are present on every form
  • A test submission populates the contact record correctly
  • The data reaches the spreadsheet, CRM or reporting tool intended for analysis
  • Channel, network and campaign reports are reviewed before shifting budget

When these pieces are in place, each form submission carries its own origin story, and ad decisions can be based on leads and customers rather than clicks alone.

Frequently asked questions

What is the shortest setup sequence?

Add UTM parameters to each ad destination, install the attribution snippet on the site, add the six named hidden fields to the form, then test a submission and inspect the contact record for populated values.

Why can UTM data disappear before a form is submitted?

A same-page, same-session method loses the parameters when a visitor browses elsewhere or returns later. Storing the attribution data in the browser lets it carry through to a later form submission.

Which reports become possible after capture?

Use the captured channel, drilldown, campaign and landing-page fields in a CRM, spreadsheet or reporting tool to compare leads by channel, by network and by campaign over time.