Capture Facebook Ads data in Framer forms
Website analytics can show visits from Facebook, but visits alone do not reveal which campaign, ad set, or ad produced a submitted lead. The setup below connects ad URL tagging to hidden Framer form fields, so attribution details travel with the visitor's name, email, and other submitted information.
Tag each Facebook ad URL consistently
UTM parameters are extra URL text that identify where a visitor came from. For Facebook advertising, use a consistent mapping so campaign, ad set, and ad can be distinguished later. Set UTM Medium to Paid social, UTM Source to Facebook, UTM Campaign to the campaign name, UTM Term to the ad set name, and UTM Content to the specific ad. A URL builder can help construct the tagged destination, but consistency matters more than the particular builder.
Add the attribution fields before testing
Install the attribution code on the website, then add these hidden fields to each Framer form: Channel; Channel Drilldown 1; Channel Drilldown 2; Channel Drilldown 3; Channel Drilldown 4; Landing Page; and Landing Page Group. Hidden fields remain invisible to visitors while allowing the attribution values to be submitted with the form. After setup, submit a test form from a tagged Facebook URL and check that the channel, campaign-level drilldowns, and landing-page fields contain the expected values.
Put the captured fields to work
Once the fields are populated, choose the destination that fits the workflow. A CRM can support lead counts, customer conversion, and revenue reporting. A spreadsheet can provide a simple starting point for charts. A visualisation tool can support more detailed campaign and ad comparisons. Email notifications can also carry the attribution fields for teams that manage leads directly from email.
Why browser persistence and cleaning matter
The attribution setup is not limited to Facebook. It can also identify organic search, direct, referral, and other sources. Browser storage helps preserve the original UTM values when a visitor submits a form on a different page. Normalisation can also reduce the effect of inconsistent source values, such as facebook versus fb, by assigning both to the intended channel. Landing-page and landing-page-group fields add another view, showing both an individual page and the wider section it belongs to.
Three reports to run first
Three reports provide a practical starting point. Leads by channel compares Facebook activity with sources such as paid search and supports budget decisions. Leads by network separates placements such as Instagram, Messenger, and WhatsApp. Leads by campaign compares campaigns by submitted leads, helping distinguish campaigns that generate conversions from campaigns that generate clicks without conversions.
Final check
Before relying on the reports, verify that every active Facebook ad uses the same UTM conventions, that all relevant Framer forms contain the seven hidden fields, and that test submissions preserve the values through to the CRM, spreadsheet, visualisation tool, or email notification. If you are evaluating a trial, confirm the current duration, included features, and any limits directly with the provider before signing up, since these terms can change.
Frequently asked questions
What is the shortest setup sequence for Framer?
Add UTM parameters to each Facebook ad destination URL, install the attribution code on the site, add the seven hidden fields to the Framer form, and confirm that a test submission contains the expected channel, drilldown, and landing-page values.
Does this only identify Facebook leads?
No. The same attribution data can cover organic search, direct, referral, and other sources, so reports are not limited to Facebook traffic.
Will the data survive if the visitor browses before submitting?
Yes. The attribution values are stored in the browser, so they can still be passed when the visitor submits a form on a later page rather than the landing page.
Where can the captured data be used?
Send the captured fields to a CRM for lead and revenue reporting, export them to a spreadsheet for charts, connect them to a visualisation tool, or include them in email notifications when leads are handled by email.