Easily capture lead source in Contact Form 7 (without coding)

✔️ Capture lead source data on a lead level ✔️ Store lead source data in Contact Form 7
Track lead source Contact Form 7

What's on this page:

Track the source of your leads (free trial)

Is your lead generation in Contact Form 7 not linked to the tracking of specific channels?

Likewise, when a lead becomes a customer, you lose visibility into the source channel or advertisement.

In the absence of tracking, you’ll struggle to measure marketing performance and determine which sources are effectively driving leads, sales, and revenue. This can result in wasted marketing budget on channels that don’t truly support your financial performance.

Thankfully, it’s now possible to identify the exact channel, campaign, keyword, and ad that drove each lead and sale.

Let’s walk through this process step by step!

How to track the source of leads in Contact Form 7

Step 1: Add Leadsources in your website

Leadsources is a simple yet effective tool that helps you identify the origin of your leads. By embedding it on your website, it tracks up to 7 key lead source metrics for every lead captured:

  • Channel
  • Source
  • Campaign
  • Term
  • Content
  • Landing page
  • Landing page subfolder

➡️ Sign up to Leadsources.io for free
➡️ Add the Leadsources tracking code to your site

Step 2: Add the hidden fields in Contact Form 7

add the hidden fields to form

Hidden fields are unseen by users, but they contain data that is collected when a form is submitted.

Leadsources employs hidden fields to record lead source data. Upon form submission, it automatically fills these fields with the appropriate lead source details.

➡️ How to add hidden fields to Contact Form 7

Step 3: Send lead source data to your CRM (optional)

Lead source data Contact Form 7

Lead source data is sent from your form builder to your CRM easily.

You can track the origin of your leads, sales, and revenue right in your CRM.

You can also connect your marketing campaigns to your sales performance.

➡️ Send lead source data to your CRM

How does Leadsources work?

Leadsources fetches the lead source data when a visitor enters your site and fills the hidden fields in your Contact Form 7. After the form submission, this data, along with the name and email of the lead, is transferred to Contact Form 7.

Leadsources collects the lead source details for every lead it tracks:

Lead source dataFetched automatically
Channel
Source
Campaign✅ OR use UTM_campaign
ContentUTM_content parameter is required
TermUTM_term parameter is required
Landing page
Landing page subfolder

Even without the use of UTM parameters—such as with organic traffic from Google search or when your website is mentioned in external articles—Leadsources continues to capture critical lead source data to maintain accurate reporting:

✅Channel
✅Source
✅Campaign
✅Landing page
✅Landing page subfolder

Unlike other tools, Leadsources ensures that lead sources from both paid and organic channels are fully tracked.

Click on a channel to see the lead source data that Leadsources inserts directly into your form.

Performance reports: Lead, sales, and revenue by source

By recording lead source data in your CRM, you can develop reports that assess performance, such as:

  • Leads, sales, and revenue by channel
  • Leads, sales, and revenue by source
  • Leads, sales, and revenue by campaign
  • Leads, sales, and revenue by term (e.g. keyword or adset)
  • Leads, sales, and revenue by content (e.g. ad)
  • Leads, sales, and revenue by landing page
  • Leads, sales, and revenue by landing page subfolder

You can now adjust your marketing budget to focus on the channels, sources, campaigns, terms, content, etc., that generate the greatest number of leads, sales, and revenue.

Let’s examine some of the reports that you can set up.

1. Lead source reports

Generate reports that detail the leads acquired from:

  • Channel
  • Source
  • Campaign
  • Term (e.g. keyword or adset)
  • Content (e.g. ad)
  • Landing page
  • Landing page subfolder

Example #1: Leads by channel

This report shows which marketing channel is driving the most leads.

Leads by channel

Example #2: Leads by campaign

You can now narrow your focus to a specific lead source (e.g., Facebook ads) and track the lead numbers generated by each campaign with the UTM parameter for that campaign.

Leads by campaign

Example #3: Leads by keyword and ad

After identifying the top-performing campaign, you can examine which keyword or ad is producing those leads by utilizing the term or content UTM parameters.

2. Sales source reports

Now that we know the channels, sources, campaigns, terms, and content driving leads, it’s essential to analyze whether these leads are converting into sales and revenue.

To start, transfer your leads to your CRM. This will help you track the origins of your sales and revenue, like the channels, sources, campaigns, terms, content, landing pages, and their subfolders.

Using this data, you can align your marketing strategy to concentrate on the channels, sources, campaigns, keywords, and ads that produce the most sales and revenue.

It’s possible to generate a range of sales and revenue reports, such as:

  • Sales and revenue by channel
  • Sales and revenue by source
  • Sales and revenue by campaign
  • Sales and revenue by term (e.g. Keywords)
  • Sales and revenue by content (e.g. Ads)
  • Sales and revenue by landing page
  • Sales and revenue by landing page subfolder

Refer to this example:

ChannelsSearch PaidSocial Paid
Leads5075
Sales56
Average order value$150$100
Revenue$750$600

Once ads were launched on Google Ads and Facebook Ads Manager, the initial “Leads by Channel” report showed that Facebook’s paid ads generated a higher number of leads than Google’s paid search ads.

Upon reviewing the sales and revenue details in your CRM, you realized that the Search Paid channel generated higher revenue with fewer leads compared to the Social Paid channel. With this valuable insight, you decided to shift your budget toward the Search Paid channel.