How to track lead source in Gravity Forms

Track lead source in Gravity Forms

What's on this page:

Track the source of your leads (free trial)

Youa re generating leads with Gravity Forms and would like to know where they came from?

This simple method allows you to track the source of your leads in Gravity Forms.

This allows you to refine your marketing strategy based on the best-performing sources and create performance reports, including leads by channel, source, and campaign.

Let’s get started.

How to track the source of leads in Gravity Forms

1. How does LeadSources track the source of your leads?

Leadsources is a simple tool that tracks the source of your leads. Once added to your website, it tracks up to 7 lead source data for each lead you generate.

Leadsources tracks your visitors’ information using cookies and UTM parameters whenever someone visits your website.

It captures key lead source details such as channel, source, campaign, keyword, the content they came from, as well as the landing page, and landing page subfolder.

Once a form is submitted, the lead’s contact details (like email and name) are transferred to Gravity Forms, alongside the source data collected by Leadsources (channel, source, etc.).

2. How to track the source of your leads in Gravity Forms?

Get started in just 3 simple steps:

  • Sign up for free at Leadsources.io.
  • Add the Leadsources tracking code to your website—follow this guide for instructions.
  • Include hidden fields in your Gravity form to capture lead source data—check this article for instructions.

… and you’re all set to track where your leads are coming from! 🎉

After a form is submitted, Leadsources automatically fills the hidden fields with the corresponding lead source data:

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

You can find this data in the submission records, alongside the lead’s personal information (such as name and email).

This method enables precise lead source identification at the lead level.

How to analyze the lead source data

What data is tracked in Gravity Forms?

Up to 7 data points are inserted into your form by Leadsources:

Lead source dataDefinition
ChannelLeadsources automatically segments your leads into 10 distinct channels: Paid Search, Organic Search, Email Marketing, Paid Social, Organic Social, Referral, Direct Traffic, Affiliates, Display Advertising, and Other UTM-tagged campaigns.
SourceIdentifies the exact source or platform that directed the visitors to you. For instance, under “Organic Social”, the source might be Facebook, Instagram, and so on.
CampaignThe 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.
TermRefers to the keyword targeted by a particular campaign. For example, a campaign on Google Ads named “Search campaign corporate lawyers” would have leads sorted by the targeted keyword like “Corporate lawyer in New York”, “Corporate lawyer in Miami”, etc.
ContentThe exact element of your ad that was clicked.
Landing pageThe URL of the initial page where the lead made their first visit. For example, domain.com/services/corporate-lawyer-miami.
Landing page subfolderThe subfolder of the landing page visited. For instance, if a visitor lands on domain.com/services/corporate-lawyer-miami, the monitored subfolder would be “services”.

Creating your first performance reports

1. Lead source reports

Discover more about your lead sources with the help of lead reports.

Leads by channel

Initially, categorize your leads by Channel to see which channels produced the most leads.

Leads by campaign

Next, focus on a specific channel, such as Search Paid (aka Google Ads), and categorize your Google Ads leads by campaigns to discern which campaigns generate the most leads.

Leads by keyword

For an in-depth analysis of a particular campaign’s performance, further segment the leads with the “Volume of leads by keyword” and the “Volume of leads by ad” reports.

2. Sales and revenue source reports

While we know which sources are generating the most leads, the crucial question remains: are these leads converting into sales and revenue?

By sending your leads to a CRM, you can evaluate sales performance based on channel, source, landing page, and more. If you don’t use a CRM yet, GoHighLevel is a good starting point.

This helps you refine your marketing strategy by focusing on the channels that drive the highest revenue.

Let’s consider the following example:

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

After running ads on Google and Facebook, the initial “Leads by Channel” report reveals that Social Paid ads brought in more leads than “Search Paid” ads.

Upon analyzing which leads converted into paying customers weeks later, you discover that the Search Paid channel not only generated more revenue with fewer leads compared to the Social Paid channel but also suggests reallocating your budget towards Search Paid for better returns.