How to capture lead source in Perfex

What's on this page:

Track the source of your leads (free trial)

Are you sending your leads on Perfex, but have no idea where they are coming from?

The method below shows you how to track the lead source in Perfex (organic search, social paid, email marketing, referral, etc.), along with your lead details.

This approach allows you to optimize your marketing strategy by focusing on the best-performing sources and generating performance reports, including leads by channel, source, campaign, and more.

Let’s dive into it.

How to track the source of leads in Perfex

How leadsources collects lead source data

When visitors enter your website, their browser stores information about them in a cookie: which site they came from, on which landing page they landed, which keyword they clicked, etc.

LeadSources collects this data, organizes it, and passes it into your form as hidden fields.

When your visitors fill out your form, they are entering data in the visible fields of the form (name, email, etc.). Meanwhile, leadsources.io automatically inserts lead source data into the form, as hidden fields (channel, source, etc.).

When a visitor submits the form, the lead source data is sent along with their answers in Perfex. You can find the lead source along with the lead name, email, etc. on the same Perfex entry.

How leadsources passes lead source data into Perfex

Start by signing up for a leadsources.io account. We’ll provide you with a small code snippet to add to your website. You’ll find easy-to-follow instructions for the installation process in our detailed guide.

Next, add hidden fields to your form. Leadsources is compatible with any form builder. We’ve created a tutorial to guide you through these fields within your form builder.

When a visitor fills out and submits a form on your website, LeadSources populates those hidden fields with lead source information:

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

With a successful form submission, the lead source details from the hidden fields are transferred to Perfex. You’ll now find this information within your leads dashboard on Perfex.

This gives you powerful insights into where each lead comes from!

How to analyze the lead source data

What data is tracked in Perfex?

As we saw briefly, you can track not only the source of your lead but also various pieces of information related to that source.

LeadSources can track 7 different data points for each lead. They are defined as follows:

  • Channel: The type of traffic. LeadSources categorizes your leads into 10 different channels: Paid Search, Organic Search, Email Marketing, Paid Social, Organic Social, Referral, Direct Traffic, Affiliates, Display Advertising, Other UTM-tagged campaigns.
  • Source: The specific source or platform that sends the visitors. For example, in the case of “Organic Social,” the source could be Facebook, Instagram, etc.
  • Campaign: The name of the specific marketing campaign. For example, when running several campaigns on Google Ads, you can track which exact campaign your leads came from.
  • Term: The keyword targeted by a specific campaign. Example: you run a Google Ads campaign called “Search campaign corporate lawyers.” LeadSources categorizes your leads by keyword targeted: “Corporate lawyer in New York,” “Corporate lawyer in Miami,” etc.
  • Content: The exact element of your ad that was clicked.
  • Landing Page: The URL of the landing page where the lead landed. Examples: domain.com/services/corporate-lawyer-miami.
  • Landing Page Subfolder: This isolates the subfolder of the landing page. Example: a visitor lands on the page domain.com/services/corporate-lawyer-miami. The subfolder tracked is “services.”

How to create performance reports?

Leads source reports

Understand better where your leads are coming from with the leads reports.

Leads by channel report

First, segment your leads by channel to visualize which channels generated the most leads.

Second, choose one specific channel, for example, search paid (aka Google Ads), and segment your Google Ads leads into campaigns to get insights on which campaign is driving most of your leads.

Third, when you want to explore into the performance of one specific campaign, you can segment the leads further with the “volume of leads by keyword” and the “volume of leads by ad” reports.

Leads by keyword report

Sales source reports

You’ve identified which ads and keywords are generating the most leads. But do these ads and keywords actually contribute to your revenue?

By sending your leads into Perfex, you can generate the same reports by sales.

Imagine the following example:

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

You ran ads on Google and Facebook, and with the initial “leads by channel” report, you found that social paid ads generated more leads than search paid ads.

After a few weeks, you analyze which leads transformed into paying customers, and discover that the search paid channel generated more revenue with fewer leads than the social paid channel. You conclude that you should increase your search paid budget.