If you're integrating with Salesforce or Zoho CRM, this article may not apply because you're most likely using GA Connector API-based integration.

GA Connector has a WordPress plugin, which allows to skip several steps and integrate Gravity Forms without writing a single line of code.

Here is how to install and configure this plugin:

1. Download the plugin here.

2. Go to your WordPress admin panel – Plugins – Add New.

Add new plugin

3. Click “Upload Plugin”

Gravity forms plugin

4. Choose file ga-connector-wordpress-plugin.zip (downloaded during step #1) and click “Install now”.

GA Connector plugin

5. Click “Activate Plugin”.

Gravity forms Activate plugin

6. Click Forms – Forms in your WordPress admin panel menu.

Gravity form forms 1

7. Find and click on the form that you want to start tracking.

Gravity form forms

8. Now we need to add hidden fields that will store the tracking information about your leads.

To add a hidden field, click “Hidden” on the top right:

Gravity forms hidden fields

And give it a name (Field Label):

Gravity forms field label

Add these new hidden fields with the following field labels (or only the ones you need the most):

LabelInput IDLabelInput ID
All Traffic Sources all_traffic_sourcesLast Click Campaignlc_campaign
BrowserbrowserLast Click Channellc_channel
City (from IP address)cityLast Click Contentlc_content
Country (from IP address)countryLast Click Landing Pagelc_landing
First Click Campaignfc_campaignLast Click Mediumlc_medium
First Click Channelfc_channelLast Click Referrerlc_referrer
First Click Contentfc_contentLast Click Sourcelc_source
First Click Landing Pagefc_landingLast Click Termlc_term
First Click Medium fc_mediumLatitudelatitude
First Click Referrerfc_referrerLongitudelongitude
First Click Sourcefc_sourceNumber of Website Visitspage_visits
First Click Termfc_termOperating SystemOS
Google Analytics CIDGA_Client_IDPages Visited pages_visited_list
Google Click IdentifiergclidTime Spent on Website time_passed
IP Addressip_addressTime Zone time_zone

The end result should look something like this:

Gravity forms end result

Viola! Now your form is being tracked! Your Gravity Forms entries should contain the tracking information about your visitors inside the fields you just created:

Gravity forms hidden fields

Here is how you can use these fields:

  • Send them to your CRM as a part of the form submission (see this instruction for Zoho CRM)
  • Send them to your email marketing software.
  • Add them to the email that is being sent after each form submission.