Capture Facebook Ads data in Wix forms
When a Wix form submission arrives without campaign context, it is hard to tell whether Facebook advertising produced the lead. This guide explains how UTM-tagged ad visits can be carried through to the form record, so each lead can be reviewed by channel, network, campaign, ad set, and ad.
Tag each ad destination with UTM parameters
Start with the destination URL for each Facebook ad. Append UTM parameters so the campaign structure is encoded before the click happens. A practical convention is: utm_medium identifies paid social, utm_source identifies Facebook, utm_campaign carries the campaign name, utm_term carries the ad set name, and utm_content carries the specific ad. Keep the values readable and consistent across ads; a UTM builder can help avoid malformed links. The key decision is consistency: if two ads for the same campaign use different spellings, later reporting will treat them as different values unless the attribution tool normalises them.
Install the attribution snippet and let it store UTM values
Install the attribution snippet on the Wix site so each visit can be classified. The snippet examines how the visitor arrived, groups the visit into a channel such as Paid Social, Paid Search, Organic Search, or Organic Social, and stores the UTM values in a browser cookie. That cookie matters for visitors who browse first and return days later: the stored values remain available for a later form submission instead of disappearing with the first session.
Add hidden fields to the Wix forms
Add hidden fields to each form that should receive attribution data. Hidden fields are present on the form but not shown to visitors, giving the snippet somewhere to write values without changing what the visitor sees. The field set covers the main channel, four channel drill-down levels, the landing page, and the landing page group. In Wix, these are created as Short Answer fields, named to match the attribution fields, and marked hidden. Check every form separately, because a field added to one form does not automatically appear on another.
How the data reaches the submission
Once the tags, snippet, and fields are in place, the flow is automatic. A visitor arriving from a tagged Facebook ad has the UTM values stored in a cookie. When that visitor later submits a form, the snippet writes the derived attribution values into the hidden fields, and Wix stores them beside the name, email, and other answers. The result is a lead record that shows not only who contacted you, but which campaign, ad set, and ad brought them in.
Beyond Facebook: all channels, cleaned values, and landing pages
The same setup covers more than Facebook. Because every form submission is classified, leads from Google Ads, SEO, and other channels are captured in the same fields, making cross-channel comparison possible. The tool also normalises inconsistent UTM usage — for example, utm_source=facebook and utm_source=facebook.com can both be assigned to Paid Social — and records the landing page URL and its group, such as a blog section, so content-level reporting is possible alongside campaign reporting.
Three reports to judge Facebook Ads performance
Three reports are especially useful. Leads by channel shows monthly volume per channel, which helps judge whether Facebook deserves more budget than, say, Google Ads. Leads by network separates the social apps served through the same ad platform — Facebook, Instagram, Messenger, and WhatsApp — so you can see which app produces leads most efficiently. Leads by campaign breaks Facebook results down by the exact campaign, showing which campaigns generate leads and where budget should shift. Together they move the conversation from total clicks to lead quality by source.
Put the captured data to work — and verify it first
Use the captured fields where your team already works. Send them to a CRM to connect leads to customers and revenue. Export Wix submissions as CSV and chart them in a spreadsheet or a dashboard tool such as Google Data Studio or Microsoft Power BI. Or append the attribution values to lead notification emails so anyone responding to a new lead can see its origin immediately. Before publishing, run a test: click a tagged ad, submit a form, and confirm the hidden fields are populated in the submission record.
| UTM parameter | Value to record | Reporting use |
|---|---|---|
| utm_medium | Paid social | Channel grouping |
| utm_source | Platform identification | |
| utm_campaign | Campaign name | Campaign-level lead counts |
| utm_term | Ad set name | Ad set-level drill-down |
| utm_content | Specific ad | Individual ad drill-down |
Recommended convention from the captured guide; values should be kept consistent across ads.
| Hidden field | What it stores |
|---|---|
| Channel | Main channel, such as Paid Social |
| 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 | URL of the page the visitor landed on |
| Landing Page Group | Section of the site, such as the blog |
Field list as captured; the source text also describes adding six Short Answer fields, a count discrepancy flagged privately.
| Report | Question it answers |
|---|---|
| Leads by channel | How does Facebook compare with other channels each month? |
| Leads by network | Which social app — Facebook, Instagram, Messenger, WhatsApp — produces the most leads? |
| Leads by campaign | Which Facebook campaigns generate the most leads? |
Example reports described in the captured guide.
Frequently asked questions
What is needed to capture Facebook Ads data in Wix forms?
Add consistent UTM values to each ad destination, install the attribution snippet on the site, and add hidden fields to the form so the values can be stored with the submission. The snippet reads the visit, keeps the UTM values in a browser cookie, and writes the derived channel information into those fields when the form is completed.
How should UTM parameters map to Facebook campaign structure?
Use utm_medium for the paid-social category, utm_source for the platform, utm_campaign for the campaign name, utm_term for the ad set, and utm_content for the individual ad. That mapping lets a report separate campaign, ad set, and ad without relying on the destination page alone.
Will attribution data survive a later return visit?
Yes. Because the UTM values are stored in a cookie, they can still be available when the visitor returns later and submits a form, rather than only during the first landing session.
Where can the captured data be used after submission?
The captured fields can be reviewed in Wix submissions, exported as CSV for spreadsheet or dashboard reporting, added to lead notification emails, or sent onward to a CRM for lead, customer, and revenue reporting.