Implement Gravity Forms UTM tracking (without code)

Gravity Forms UTM tracking

What's on this page:

Track the source of your leads (free trial)

Adding UTM tracking to Gravity Forms can be difficult, especially for those without coding skills.

What if there was a way to capture UTM parameters in Gravity Forms without needing to code?

Meet Leadsources.io!

Leadsources is a lead source tracking tool that connects your UTM parameters with Gravity Forms.

Gravity Forms UTM parameters

When a visitor clicks on your marketing campaign, Leadsources captures the UTM parameters from your URL.

Leadsources automatically inserts these UTM parameters into the hidden fields of your Gravity Forms.

You can then view the UTM parameters along with the lead’s information on the Gravity Forms submission page.

In this guide, you'll learn how to set up UTM tracking in Gravity Forms in 10 minutes using Leadsources, without any coding skills needed.

Implement Gravity Forms UTM tracking in 4 easy steps

Step 1: Add Leadsources in the head tag of your website

Sign up for Leadsources.io and enjoy a 14-day free trial.

Insert the Leadsources code into the head tag of your website. No coding or developers needed.

Just follow our easy step-by-step guide.

Step 2: Add the UTM parameters to your campaigns

Include the UTM parameters you want to track in all your campaigns (PPC, email, social media, etc.).

Leadsources supports the following UTM parameters:

  • UTM_source
  • UTM_campaign
  • UTM_term
  • UTM_content

Leadsources also captures additional information not included in UTM parameters, such as the channel, landing page, and landing page subfolder.

Step 3: Add the hidden fields to your Gravity Forms

When your visitors fill out your Gravity Forms, they add personal data in the visible fields (name, email, etc.).

Meanwhile, Leadsources.io automatically inserts the UTM parameters into the hidden fields of your Gravity Forms (channel, source, etc.).

To do this, add the hidden fields to Gravity Forms that will store your UTM parameters. Follow our guide to set up the hidden fields.

Add Hidden Fields

  • In the form editor, go to the “Advanced Fields” tab.
  • Drag and drop the “Hidden” field type into your form.
  • Add the exact following fields one by one:
    • channel
    • source
    • campaign
    • term
    • content
    • landingpage
    • landingpagesubfolder

Step 4: Track the UTM parameters in Gravity Forms

When someone clicks on your campaign and visits your site, Leadsources captures the UTM parameters in your URL.

The visitor then fills out your Gravity Form.

Leadsources inserts the UTM parameters into the hidden fields of your Gravity Form, which are not visible to the visitor.

Upon form submission, both the UTM parameters and the form responses are submitted together. You can find this information on the Gravity Forms submission page.

How does Leadsources work?

By adding the Leadsources code to your website’s head tag, Leadsources captures UTM parameters from your URL each time someone visits your site.

It then stores these UTM parameters in the hidden fields of your Gravity Forms.

If a visitor lands on your site without UTM parameters, Leadsources still gathers data using the referrer:

  • Channel
  • Source
  • Campaign
  • Landing page
  • Landing page subfolder

This allows you to track lead source data even without UTM parameters, such as:

  • Google Search
  • Instagram bio links
  • Social media posts

While most tools track lead sources only using UTM parameters, Leadsources tracks them regardless of their origin, UTM parameters or not:

  • Organic Search
  • Paid Search
  • Organic Social
  • Paid Social
  • Referral
  • Affiliate
  • Email
  • Display Advertising
  • Direct Traffic

This helps you collect comprehensive lead source data in one place.

How to run performance reports

With lead source data captured in the hidden fields of your Gravity Forms, you can run performance reports such as:

  • Leads per channel
  • Revenue per channel
  • Revenue per keyword

This helps you make informed decisions about your marketing spending.

We’ll review the different reporting features you can use.

Lead performance reports

You can generate reports showing the volume of leads by:

  • Channel
  • Source
  • Campaign
  • Landing page
  • Landing page subfolder

Example #1

Running campaigns on different channels (SEO, PPC, email, etc.), you can export the data to create a "Leads by Channel" report.

Leads by channel

Example #2

If you identify that Google Ads drives the most leads, you can further analyze this channel by the number of leads generated by each ad campaign.

Leads by campaign

Example #3

Knowing which campaign drives the most leads, you can dive deeper to see the keywords generating these leads.

Leads by keyword

Sales performance report

After identifying the ads and keywords driving most leads, you can check if they contribute to your revenue.

By integrating your Gravity Forms submissions with a CRM like GoHighLevel, you can generate similar reports based on sales.

Example:

ChannelsSearch PaidSocial Paid
Leads5075
Sales56
Avg Order Value$150$100
Revenue$750$600

You ran ads on Google and Facebook. The "Leads by Channel" report showed that Social Paid ads generated more leads than Search Paid ads.

After analyzing which leads converted to customers, you found that the Search Paid channel generated more revenue with fewer leads. Therefore, you decide to increase your Search Paid budget.