Skip to content

Capture Facebook Ads Data in Formsite Forms

Knowing that a lead arrived through Facebook is only the starting point. To judge whether advertising is producing enquiries, customers, or revenue, each Formsite submission needs the campaign context that preceded it. A practical setup tags the ad destination, remembers that context while the visitor browses, and attaches it to the form record when the visitor submits.

What attribution adds to a Formsite lead

A Formsite submission can show who contacted you without explaining which advertisement persuaded them to visit. Capturing attribution data closes that gap. Instead of counting only clicks or visits, you can count the leads produced by each campaign, network, ad set, and ad, then compare those results with the leads arriving through other channels.

Use this checklist before testing the setup:

  • Every active Facebook ad destination has consistent UTM parameters.
  • The attribution snippet is installed on the website.
  • The Formsite form contains all seven hidden fields listed below.
  • A test visitor arriving from a tagged URL can submit the form and produce a record containing the expected attribution values.
  • The destination—CRM, spreadsheet, email notification, or billing platform—receives those values alongside the lead details.

Step 1: Tag each Facebook ad destination

UTM parameters are additional values appended to the destination URL. Their job is to describe the campaign context in a form that later systems can read. Decide what each parameter will mean before adding it, and use the same convention across campaigns.

A clear mapping for Facebook advertising is:

  • UTM Medium: paid social
  • UTM Source: Facebook, Instagram, or the specific network used
  • UTM Campaign: the campaign name
  • UTM Term: the ad set name
  • UTM Content: the specific ad

For example, a destination URL can be extended with utm_medium=paidsocial, utm_source=facebook, and utm_campaign=brand-campaign. The important point is consistency: if the same network is sometimes entered as facebook and sometimes as facebook.com, downstream reporting becomes harder to interpret. Free UTM-building tools can help assemble the final URL, but the naming convention still needs to be agreed in advance.

Step 2: Install the attribution snippet and preserve the visit context

Install the attribution snippet on the website. When a visitor arrives, the snippet examines technical signals describing how that visit originated and determines the visitor's source. It then stores the UTM values in a browser cookie.

That cookie is the key distinction between a fragile and a durable setup. Without it, attribution can disappear when a visitor moves from the ad landing page to a separate quote, contact, or signup page. With it, the original campaign values remain available when the form is eventually submitted.

Step 3: Add the hidden fields to Formsite

Add these hidden fields to the Formsite form:

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

In Formsite, each one can be added by dragging a Hidden field type into the form. At submission, the attribution values are written into those fields and captured together with the visitor's name, email, and other lead details.

The landing-page fields add a second layer of context. They record the page where the visit began and the group to which that page belongs, making it possible to see whether particular articles or other content pages are generating enquiries.

Step 4: Send the captured data to a useful destination

Once captured, the attribution data can be routed through Formsite's native integrations or a connector such as Zapier. Common destinations include:

  • A CRM, where lead counts can be compared with conversions, customers, and revenue.
  • A spreadsheet, where the data can be charted or connected to a reporting tool.
  • An email notification, so the origin of each lead is visible when the message arrives.
  • A billing platform, where advertising-attributed revenue can be reviewed.

Three reports are especially useful. Leads by channel show how Facebook compares with referral, social, organic social, and organic search. Leads by network separate results across Facebook properties such as Messenger and Instagram. Leads by campaign show which campaigns generate actual leads rather than only clicks and visits. Together, those views support more deliberate decisions about where to invest time and budget.

Frequently asked questions

What is the shortest setup sequence for Formsite attribution?

Add UTM parameters to the ad destination URL, install the attribution snippet on the website, add the seven hidden fields to the Formsite form, and let the attribution data be written into those fields at submission. The captured values then travel with the lead details to the chosen destination.

What happens if someone lands on one page and submits a form on another?

Yes. The attribution values are stored in a browser cookie when the visitor first arrives, so they can still be passed through if the form is completed on a later page rather than the original landing page.

Which hidden fields are needed?

Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Channel Drilldown 4, Landing Page, and Landing Page Group.