How to track UTM parameters in Gravity Forms

You use UTM parameters to track traffic to your website, but they are lost when visitors fill out your Gravity Forms.

In addition, if visitors arrive via a link containing UTM parameters and then navigate to other pages on your site, those parameters are lost and cannot be collected by Gravity Forms.

In this article, I will show you how to collect UTM parameters when a user submits your Gravity Forms (even if they have visited multiple pages on your site or even months earlier before submitting the form).

Capture UTM parameters in Gravity Forms

By connecting LeadSources with Gravity Forms, you can track UTM parameters for each lead submitted.

When you connect LeadSources with Gravity Forms, every lead comes with a rich profile of 9 data points.

UTM parameters such as campaign, term, and content are also tracked.

UTM parameters remain tracked even if the visitor navigates multiple pages on your site before submitting your Gravity Forms.

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 visits your site from a URL containing UTM parameters but leaves without filling out your Gravity Forms.

Four months later, this user returns to your site from a Google search and completes your form.

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 ad that seemed ineffective because it didn’t generate leads might actually be the first touchpoint of your most valuable leads. The full lead journey simply wasn’t visible before.

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

How to set up LeadSources

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 Gravity Forms with LeadSources

Select Gravity Forms to connect your account.

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

Connect Gravity Forms 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.