Capture Facebook Ads data in Jotform submissions
If you run Facebook Ads to a Jotform form, clicks alone do not tell you which campaign, ad set, or ad produced a lead. This guide explains how UTM tagging, a site attribution script, and hidden Jotform fields can carry that source information through to the submission, so you can report leads and revenue by campaign instead of guessing.
1. Tag each Facebook ad URL with UTM parameters
UTM parameters are extra query text appended to a destination URL. For a Facebook campaign, a consistent convention helps later reporting: use paid social for medium, Facebook for source, the campaign name for campaign, the ad set name for term, and the specific ad for content. You can build these URLs with a free UTM builder. The exact naming is flexible, but consistency matters more than the particular words, because downstream fields will inherit whatever values you send.
2. Install the attribution script on your website
An attribution script installed on your website inspects how a visitor arrived, determines the originating channel, and stores the UTM values in a browser cookie. That cookie is the key distinction: without it, UTM values present on the landing page can disappear by the time the visitor reaches a form on another page. With it, the values persist across pages until form submission.
3. Add hidden fields to the Jotform form
In Jotform, add seven Short Text fields and switch Hide Field on for each one. Label them to match the attribution outputs you expect: Channel, Channel Drilldown 1, Channel Drilldown 2, Channel Drilldown 3, Channel Drilldown 4, Landing Page, and Landing Page Group. Hidden fields keep the form clean for visitors while still allowing the values to be submitted with the visible answers. When the visitor submits, the script writes the stored attribution values into those fields, and Jotform captures them alongside name, email, and other lead details.
4. Send the captured data where you will use it
Once captured, the data can be routed onward through Jotform's native integrations or a tool such as Zapier. Common destinations include a CRM such as Pipedrive, Salesforce, or HubSpot for lead-to-customer and revenue reporting; a spreadsheet for analysis in tools such as Microsoft Power BI or Looker Studio; email notifications so each new lead shows its origin; and a billing platform such as PayPal or Stripe when revenue attribution is needed. Choose the destination based on the decision you want to make: pipeline and revenue questions belong in a CRM, exploratory analysis belongs in a spreadsheet or BI tool, and quick triage belongs in the notification email.
What else the setup captures
Beyond Facebook Ads, the same setup can classify visits from Organic Social, Organic Search, Direct, and Referral traffic, giving a complete picture of lead origins. It also normalizes inconsistent UTM values, so variants such as utm_source=facebook and utm_source=facebook.com can still map to the same Paid Social channel. Landing page URL and landing page group add content-level insight: you can see which individual pages and which page groups, such as a blog section, generate leads and customers.
Three reports to build from the captured data
Three reports illustrate the value. Leads by channel compares Facebook Ads against other channels to guide budget allocation. Leads by network shows which Facebook placement, such as Messenger, Instagram, or Facebook itself, produces the most leads. Leads by campaign shows monthly lead volume per campaign, separating campaigns that generate converting leads from those that only generate clicks. Build these in your CRM or spreadsheet from the hidden-field values captured at submission.
Pre-launch checklist
Checklist before you rely on the data: every active ad URL carries UTM parameters; the attribution script is installed on all pages that host forms; all seven hidden fields are present and hidden; a test submission from a tagged URL shows the expected channel and campaign values; and the downstream destination, whether CRM, spreadsheet, email, or billing platform, receives the fields correctly. If a test lead shows blank attribution fields, check the UTM tagging and script installation first, since those are the two places where the chain breaks.
Getting started
Before choosing a plan, check the current trial terms and signup details on the provider's own pricing or signup page, since offers can change. For installation, follow the provider's current setup documentation for adding the tracking script to your site. For Jotform, the provider's help materials should cover creating the seven hidden Short Text fields and confirming that submitted values arrive correctly.