How to track Facebook ads data in Typeform

A lead has landed in your Typeform, and you want to track which Facebook campaign, ad set, and ad generated that specific lead.

The problem is that Facebook only provides aggregated lead source data: “X leads came from campaign A.”

As a result, when your sales team closes a lead, they have no way to connect it with a channel, and you can’t properly optimize your Facebook ads.

In this article, I’ll show you how to track Facebook ad data for each lead you generate in Typeform.

What Facebook data can you track for each Typeform lead?

By connecting LeadSources with Typeform, you track a comprehensive report of Facebook ads data for each lead submitted.

LeadSources also track additional data to provide a full lead source report for each lead.

Lead Profile #2847

Converted
Channel: Paid Search
Source: google
Campaign: lead-gen-q4-2024
Term: lead tracking software
Content: ad-variant-b
Page Path: /landing/demo → /pricing → /signup
Device: Desktop
OS: macOS
Browser: Chrome 119
   

Now, imagine a user clicks on your Facebook ad but leaves your site without filling out your Typeform.

Four months later, this user returns to your site from an organic search on Google, and submits your Typeform.

LeadSources remembers all previous visits and provides a complete report of every session that occurred before the form submission.

Tracking the full lead journey helps you understand the role each marketing channel plays in your lead generation strategy.

That Facebook campaign that was not performing (because it didn’t generate leads) might actually be the first touchpoint of your most valuable leads.

Day 1 Facebook Ad
Day 3 Google Search
Day 7 Email Click
Day 10 Direct Visit
   

How to connect LeadSources with Typeform

Step 1: Enter your website URL

Sign up to LeadSources (we offer a 14-day free trial).

Enter the URL of the website you want to track. 

Step 1 Add your website URL

Step 2: Install the tracking code

Copy and paste your LeadSources tracking code into the <head> section of your website.

Step 2 Install the tracking code​

Step 3: Connect Typeform with LeadSources

Enter your Typeform API credentials to connect your account.

Then, select the form you want to track.

LeadSources will start tracking the source and journey of every lead you generate on Typeform.

Step 3 Connect Typeform with LeadSources

Ready to uncover what drives your leads?

Start your free trial today and track the full source of every lead throughout their journey.