How to capture Facebook Ads data in Formidable Forms
When a lead submits a form, you need more than their name and email. This guide shows how to attach campaign, ad set, ad, network and landing-page context to every Formidable Forms submission, so you can compare Facebook Ads with other channels and see which campaigns actually produce leads. You will tag ads with UTM parameters, install the tracking code, add the required hidden fields, and then use the captured data in a CRM, spreadsheet, email notification or billing platform.
1. Tag Facebook Ads with UTM parameters
UTM parameters are text appended to a destination URL. For a page such as /integrations/formidable-forms, a tagged URL can carry medium, source and campaign values that later identify the visit. Use a consistent convention: medium for the channel type, source for the platform, campaign for the campaign name, term for the ad set, and content for the specific ad. Consistency matters because these values become the reporting labels attached to each lead. Free online UTM builders can help you assemble the tagged URL correctly.
2. Install the attribution code and retain UTM data
Install the tracking code on the website. On landing, it examines how the visitor arrived and determines the originating channel, for example Facebook Ads. It also retains UTM parameters in a browser cookie, so they are not lost while the visitor browses. When a form is completed, the attribution values are written into the form's hidden fields and stored alongside the submitted name, email and other answers. The code is added to the site following the installation instructions linked below.
3. Add hidden fields to your forms
Add hidden fields to each lead-capture form, such as a contact or quote-request form. In Formidable Forms, drag a Hidden field onto the form and give it the required name and default value. The fields to add are listed in the checklist table below. Check every form you intend to report on; a missing field means that form will not carry attribution data. Step-by-step hidden-field instructions are linked below.
4. Use the data in CRM, spreadsheets, email and billing
Once captured, the data can be forwarded through Formidable Forms native integrations or a tool such as Zapier. In a CRM you can join leads to customers and revenue. In a spreadsheet you can analyse counts or connect a reporting tool. In email notifications, the origin is visible as soon as a lead arrives. With a linked billing platform, the same fields can support revenue reporting by campaign.
Why this approach covers more than Facebook Ads
Beyond Facebook Ads, the same setup records Organic Social, Organic Search, Direct and Referral visits, giving a complete view of lead origins. It also normalises inconsistent UTM usage, for example treating utm_source=facebook and utm_source=facebook.com as the same Paid Social channel, and it captures the landing page URL and its group. That lets you report on content sections as a whole and on individual pages within them. Because the UTM parameters are kept in a cookie, the data is still sent even when the visitor completes a form on a different page from the one they first landed on.
Three reports to run
Three practical reports follow from the captured fields. Leads by channel compares Facebook Ads with every other channel for budget planning. Leads by network separates placements such as Instagram and Messenger so you can favour the networks producing leads. Leads by campaign, viewed month by month, distinguishes campaigns that generate leads from those that only generate clicks and visits. Use these together: channel for allocation, network for placement, and campaign for creative and targeting decisions. They are easiest to build once the captured data has been sent to a CRM or spreadsheet.
| UTM parameter | Recommended value for Facebook Ads |
|---|---|
| utm_medium | Paid social |
| utm_source | |
| utm_campaign | Campaign name |
| utm_term | Ad set name |
| utm_content | Specific ad |
Recommended convention for Facebook Ads; keep naming consistent across campaigns.
| Hidden field | Purpose |
|---|---|
| Channel | Broad origin channel |
| Channel Drilldown 1 | First level of channel detail |
| Channel Drilldown 2 | Second level of channel detail |
| Channel Drilldown 3 | Third level of channel detail |
| Channel Drilldown 4 | Fourth level of channel detail |
| Landing Page | Page where the visitor first landed |
| Landing Page Group | Group or section of the landing page |
Required field names; add each as a Hidden field type in Formidable Forms and give it the matching name and default value.
Frequently asked questions
What is needed to capture Facebook Ads data in Formidable Forms?
Add UTM parameters to the ad destination URL, install the tracking code on the site, add the named hidden fields to the form, and let the code populate those fields on submission so Formidable Forms stores them with the lead details.
Why does the attribution data survive browsing to another page?
The tracking code stores the UTM parameters in a browser cookie, so they remain available even if the visitor browses other pages before submitting a form.
Which hidden fields are required?
Channel, Channel Drilldown 1 to 4, Landing Page, and Landing Page Group.
Where can the captured data be used after submission?
Send it to a CRM, transfer it to a spreadsheet, include it in email notifications, or pass it to a linked billing platform for reporting.