Skip to content

Capture Facebook Ads Data in Tally Forms

Visitor counts alone do not show whether Facebook advertising produces enquiries or customers. This guide explains how to attach campaign, ad set, ad and landing-page information to every Tally Forms submission, then use those values to compare channels, networks and campaigns.

Why submission-level attribution matters

Facebook advertising can bring in enquiries, but clicks and visits do not reveal which campaign, ad set or individual advertisement produced a lead. Google Analytics may show traffic volume, yet return on advertising spend requires connecting each submission to its originating campaign.

The workflow below solves that gap in four stages: tag the advertisement, detect the visit, store the attribution values, and write them into the form when it is submitted.

1. Tag every Facebook advertisement with UTM parameters

Append tracking values to the destination URL so the campaign, network and advertisement can be identified later.

  • Medium: Paid social
  • Source: Facebook, Instagram or the relevant network
  • Campaign: the campaign name
  • Term: the associated ad set name
  • Content: the specific advertisement

A destination such as a Tally Forms integration page can therefore carry utm_medium, utm_source and utm_campaign values in its query string. Free URL builders can help assemble the final address, and consistent naming makes later reporting much cleaner.

2. Install the attribution snippet and retain the visit data

Install a small attribution snippet on the website. When a visitor arrives, the snippet examines technical visit data to determine the originating channel. It then retains the relevant values for later use.

This persistence matters when the journey crosses pages. For example, a visitor may land on the homepage from an advertisement, select a quote button, and complete the form on a separate page. Without stored attribution, the form page would have no UTM values to record. Storing them in a browser cookie allows the correct values to travel with the visitor.

3. Add hidden fields to Tally Forms

Add these hidden fields to each lead-capture form:

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

On submission, the snippet populates those fields from the stored UTM values. Tally Forms then saves the attribution information alongside the person's name, email address and other answers. The drilldown fields provide progressively more specific detail, while the landing-page fields show which page and site section first received the visitor.

4. Use the captured data in your dashboard, CRM, spreadsheet or inbox

Once submissions contain attribution fields, choose the destination that fits your workflow:

  • Review values beside each entry in the Tally Submissions view.
  • Send the fields to a CRM such as Salesforce, Pipedrive or HubSpot, then report leads, customers and revenue by source.
  • Export to Google Sheets or Excel for charts, or connect a tool such as Microsoft Power BI for deeper analysis.
  • Add the fields to email notifications so the source is visible without opening a CRM.

Before publishing, test one submission from a tagged advertisement and confirm that every hidden field is populated. Then test a multi-page journey to verify that the cookie-stored values survive navigation.

What else the setup captures

The same setup records more than Facebook traffic. Paid Search, Direct, Referral, Organic Social and Organic Search can also be identified, giving a complete view of lead origin.

Attribution cleaning helps when naming varies. For instance, utm_source values of facebook and facebook.com can both be assigned to Paid Social. Landing-page capture adds another useful cut: the full landing URL and its group, such as a blog section, can show which pages and individual posts generate enquiries.

Three reports to run first

Three practical reports turn submission data into budget decisions:

  • Leads by channel: compare Facebook with every other source before reallocating spend.
  • Leads by network: separate Facebook, Instagram and Messenger to see where advertisements convert most efficiently.
  • Leads by campaign: compare monthly lead volume by campaign to distinguish productive advertising from clicks that never become enquiries.

Send the form data to a CRM and reporting tool to extend these views beyond initial leads into customers and revenue.

Setup checklist

Tag the advertisements, install the snippet, add the six hidden fields, and test a complete submission. That sequence connects each Tally Forms lead to its Facebook campaign, ad set, advertisement, network and landing page.

{{OWNER_TRIAL_TERMS: Confirm trial duration, expected setup time and signup destination before publication.}}

Frequently asked questions

Will attribution still be captured if someone lands on one page and submits the form on another?

Yes. The attribution data is stored in a browser cookie, so it can still be populated when the form is completed on a later page than the landing page.

What happens if UTM values are not perfectly consistent?

Use consistent values for medium, source, campaign, term and content. Variations such as facebook and facebook.com can still be grouped into the same Paid Social channel by the attribution tool.

Where can the captured attribution data be used after submission?

You can view the values beside each submission, send them to a CRM, export them to a spreadsheet, or include them in email notifications.