
If you’re investing in Facebook Ads, you probably want to know one thing: Are they actually driving leads and customers?
While platforms like Facebook Ads Manager can show you clicks and impressions, they often fall short in showing where your leads actually come from. If you’re using Gravity Forms on your website, the good news is—there’s a simple, reliable way to track exactly which Facebook campaigns, ad sets, and creatives are delivering real results.
In this article, we’ll walk you through how to capture Facebook Ads data in Gravity Forms using Attributer, a powerful attribution tool that automatically tracks the source of each lead and passes it into your forms via hidden fields. That means no more guesswork—just clear, actionable data on where your leads are coming from.
How to Capture Facebook Ads Data in Gravity Forms (In 4 Simple Steps)
Let’s dive into how to set it all up.
1: Add UTM Parameters to Your Facebook Ads

To start tracking Facebook ad performance, you need to use UTM parameters—small tags you add to URLs in your ads. These help identify which campaign, ad set, or creative the visitor came from.
Here’s a typical URL structure with UTM tags added:
arduino
attributer.io/integrations/gravity-forms?utm_medium=paidsocial&utm_source=facebook&utm_campaign=brand-campaign
Best Practice for Facebook Ad UTM Parameters:
- UTM Medium = Paid social
- UTM Source = Facebook
- UTM Campaign = The name of your campaign
- UTM Term = The name of the ad set the ad belongs to
- UTM Content = The specific ad
There are plenty of free UTM builders online if you want to generate these URLs easily. Once added, they’ll allow tools like Attributer to recognize the source of your customers and leads.
2: Install Attributer on Your Website

Attributer is a lightweight script you embed on your website. When a visitor lands on your site, it analyzes their referral information and captures data such as UTM parameters, referral source, landing page, and more.
Most importantly, it stores this data in a cookie—so if someone navigates through multiple pages before submitting a form, the data won’t be lost.
Once the visitor completes a form, Attributer passes all that attribution data into hidden fields in your Gravity Forms submission. You’ll now know exactly where that lead came from.
Setup is straightforward—after starting a free trial, you’ll receive a code snippet with instructions on how to embed it on your site.
3: Add Hidden Fields to Your Gravity Forms
Now that Attributer is on your site, it needs a place to put the data. That’s where hidden fields come in.
In your Gravity Forms builder, simply drag and drop the “Hidden” field type into your forms. You’ll want to create fields for the following:
- Channel
- Channel Drilldown 1
- Channel Drilldown 2
- Channel Drilldown 3
- Channel Drilldown 4
- Landing Page
- Landing Page Group
This setup allows Attributer to pass all attribution data directly into each submission.
4: Let Attributer Capture and Write the Data Automatically

When a user visits your site through a Facebook Ad, Attributer recognizes the UTM parameters and stores them. Then, when that user fills out a form, the data is automatically written into the hidden fields and captured along with the lead’s name, email, phone number, etc.
Just like that—you now have a complete picture of where each lead came from, stored within Gravity Forms and ready for use.
What Can You Do With the Captured Data?
Once you’ve collected Facebook Ads data through your forms, you can push it to various platforms and start extracting real insights:
➤ Send to Your CRM
Push attribution data to Salesforce, HubSpot, Pipedrive, and others. This allows you to create pipeline and revenue reports by campaign, track customer sources, and understand which ads drive real ROI.
➤ Export to a Spreadsheet
Use Zapier or Gravity Forms Add-ons to send submission data into Google Sheets or Excel. From there, you can build dashboards or connect to BI tools like Looker Studio (formerly Google Data Studio) or Power BI.
➤ Include in Email Notifications
If you manage leads via email alerts, append UTM and source info to each notification. That way, you’ll instantly know which Facebook campaign or ad set brought in the lead.
➤ Connect to Billing Platforms
Use tools like Stripe or PayPal in conjunction with Gravity Forms to connect marketing attribution with revenue data. This helps measure how much revenue your Facebook Ads are really generating.
Why Use Attributer Instead of Other Tools?
There are alternatives to Attributer, but here’s why it stands out:
✅ Tracks All Channels
Attributer doesn’t just capture Facebook Ads data—it tracks leads from organic search, direct traffic, referrals, and more. This gives you a holistic view of your lead generation sources.
✅ Stores Data Reliably
Since it stores UTM parameters in cookies, Attributer ensures you capture attribution even if users don’t convert on the landing page.
✅ Cleans Inconsistent Data
Marketers often use inconsistent UTM formats. Attributer automatically normalizes these—e.g., whether you use utm_source=facebook or utm_source=facebook.com, it groups them under “Paid Social.”
✅ Captures Landing Page Info
Alongside UTM data, the Attributer records the landing page and page group info—helpful for content performance tracking.
3 Sample Reports You Can Build with This Data
Once you’re capturing the source of customers and leads with UTM parameter tracking, you can generate powerful insights. Here are a few example reports:
1. Leads by Channel

See how Facebook Ads stack up against other traffic sources like Google Ads or organic search.
2. Leads by Facebook Network

Break down leads from Facebook, Instagram, and Messenger individually to see which platforms perform best.
3. Leads by Campaign

Measure which campaigns are generating high-converting leads and which ones are just burning ad spend.
Final Thoughts
If you’re running Facebook Ads and using Gravity Forms to capture leads, using Attributer is the simplest and most effective way to track your results. You’ll get clear visibility into which ads drive real leads, understand the full source of each customer, and make smarter marketing decisions as a result.
Plus, Attributer helps you capture UTM parameters, store them accurately, and send them wherever your data lives—from CRMs to spreadsheets.
Want to see how it works for your business? Start a free trial today and start tracking what truly matters—where your leads come from.
Ready to Transform Your Analytics?
👉 Start your 14-day free trial of Attributer today and finally get the data you need to grow smarter.