How to capture lead source in Contact Form 7

How to track lead source in Contact Form 7

What's on this page:

Track the source of your leads (free trial)

Are you using Contact Form 7 to generate leads, but can't identify their origin?

This simple method will allow you to trace the source of your leads in Contact Form 7.

You will be able to optimize your marketing strategies based on the sources that yield the highest leads, sales, and revenue.

Let’s get started!

How to track the source of lead in Contact Form 7

1. How LeadSources collects the lead source data

Leadsources is an effective tool designed to monitor the origin of your leads. Once integrated into your website, it captures up to 7 different lead source data points for every lead generated.

Leadsources gathers visitor information through the use of cookies and UTM parameters whenever someone accesses your website.

It captures essential lead source details, including channel, source, campaign, keyword, the content they originated from, as well as the landing page and landing page subfolder.

After a form submission, the lead’s contact details (such as email and name) are sent to Contact Form 7, along with the source data gathered by Leadsources (channel, source, etc.).

2. How LeadSources passes the lead source data into Contact Form 7

Begin your journey in 3 easy steps:

  1. Register for free at Leadsources.io.
  2. Integrate the Leadsources tracking code into your website—refer to the guide for assistance.
  3. Add hidden fields to your Contact Form 7 form to collect lead source data—see this article for guidance.

You are now prepared to monitor the origin of your leads! 🎉

Once a visitor submits a form in Contact Form 7, Leadsources automatically fills the hidden fields with essential lead source data:

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

This information will appear in your submission records alongside the lead’s personal details (name, email, etc.).

This approach enables accurate lead source identification for each individual lead.

How to analyze the lead source data

What data is tracked in Contact Form 7?

LeadSources can monitor 7 types of data for each lead, which are detailed below:

Lead source dataDefinition
ChannelLeadSources categorizes your leads by the type of traffic, sorting them into 10 predefined channels: Paid Search, Organic Search, Email Campaigns, Paid Social, Organic Social, Referrals, Direct Traffic, Affiliates, Display Advertising, and Other.
SourceSpecifies the particular source or platform directing visitors to you. For instance, within "Organic Social," the source could be LinkedIn, Instagram, etc.
CampaignIdentifies the name of the specific marketing activity. For instance, if you're managing multiple Google Ads campaigns, you can detect the exact campaign from which your leads were generated.
TermThe keyword that a campaign focuses on. For example, in a Google Ads campaign titled “Search campaign personal insurance,” LeadSources.io will organize your leads based on the targeted keyword, such as “Personal insurance in Chicago,” “Personal insurance in Denver,” etc.
ContentThe specific section of your advertisement that received engagement.
Landing PageThe URL of the landing page where the lead arrived. For example, domain.com/services/personal-insurance-denver.
Landing Page SubfolderThe specific subfolder of the landing page URL. For example, if a visitor lands on domain.com/services/personal-insurance-denver, the tracked subfolder would be “services.”

Creating your first performance reports

1. Leads source reports

Gain a deeper understanding of the origins of your leads by diving into detailed lead reports that offer actionable insights.

Leads by channel

Begin by identifying the channels that are responsible for generating the majority of your leads through effective categorization.

Leads by campaign

Next, focus on one channel, such as Organic Search, and categorize your organic leads by specific campaigns to gain clarity on which campaign attracts the most leads.

Leads by keyword

The final step in analyzing a particular campaign's performance is to break down the leads based on their keywords and advertising channels in reports on “Number of leads by keyword” and “Number of leads by advertisement.”

2. Sales source reports

You now know which advertisements and keywords are generating the most leads. However, does this insight translate into an increase in your revenue?

Utilizing a CRM to manage your Contact Form 7 leads allows you to identify the leads that converted into paying customers, enabling you to generate sales reports based on channel, source, landing page, etc., so if you don't use any CRM, try GoHighLevel.

Consider the following example:

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

You launched advertising campaigns on Google and Facebook, and from the initial "Leads by Channel" analysis, it was clear that Paid Social ads brought in more leads compared to Paid Search ads.

A few weeks into the analysis, after tracking which leads converted into paying customers, it became evident that the Paid Search channel was more efficient at driving revenue, even with a lower number of leads than the Paid Social channel. This insight led to the decision to boost your investment in the Paid Search strategy.