How to capture GCLID in Gravity Forms without hidden fields?

Cover image

In this Gravity Forms tutorial, we will show you how to save the Google Click Identifier (GCLID) value into the Gravity Form submission without using any hidden fields or custom PHP code.

So our company have built the AFL UTM Tracker WordPress plugin to store the visitor’s first landing page, first & last touch UTM parameters and GCLID value into the browser cookies.

When a visitor submits your contact form or lead generation form, our plugin will read the browser cookies to create the GCLID conversion attribution report.

But why are digital marketers interested in the GCLID value?

There are 2 reasons why a digital marketer would want to capture the GCLID value when a visitor submits the contact form on the website:

  • Lead generation forms are not confirmed sales. Once the sales is confirmed by the sales team, the digital marketers will use the GCLID value to import the offline conversions into Google Ads.
  • GCLID value can be use as an attribution signal that the visitor had clicked on your Google Ads.

Why are digital marketers using our AFL UTM Tracker plugin to capture the GCLID value?

  • We save digital marketers from hundreds of hours of setup time. One-click install.
  • There’s no need to create any hidden fields in Gravity Forms. Imagine having hundreds of forms.
  • Our plugin captures the full landing page URL of the Google Ad click.
  • Our plugin captures when the Google Ad was clicked.
  • Our plugin captures First & Last Touch UTM parameters.
  • The GCLID value is not lost even after the visitor navigates to a different page since we use cookies.

Installing our AFL UTM Tracker WordPress Plugin

  1. Download our AFL UTM Tracker plugin from our plugin store.
  2. Install and activate our plugin on your WordPress website.
  3. Clear all page cache so that our JavaScript tracking file will load on your website pages.
  4. Simulate a click on your Ad from the Google Search.
  5. Submit the contact form on your website.

Viewing the GCLID Conversion Report

  1. Login to your WordPress Admin.
  2. Browse to the Gravity Forms > Forms page.
  3. Select the Form which you have tested.
  4. Go to the Entries page.
  5. Click into the Entry which you have submitted.
  6. Under our AFL UTM Tracker metabox, look for the Google (gclid) section.
Screenshot of the Gravity Forms > Entry > GCLID Section
Screenshot of the Gravity Forms > Entry > GCLID Section

Exporting the GCLID value into Excel

Here’s how you to can export the GCLID value into the Excel file:

  1. Browse to the Gravity Forms menu > Import / Export.
  2. View the Export Entries tab.
  3. Select a Form.
  4. Under the Select Fields, check the following boxes:
    • AFL UTM | GCLID Visit Date
    • AFL UTM | GCLID Value
  5. Download Export File.
Screenshot of Gravity Forms > Export Entries
Screenshot of Gravity Forms > Export Entries