Event Tracking for Gravity Forms

Setting up Event Tracking for Gravity Forms is easy and we’re going to show you how.

Pre-Requisites

See also:

Step 1: Get your UA code

The first step is finding your Google Analytics UA code.

Once you have it, let’s proceed to step 2.

Step 2: Create a Google Analytics Goal

Gravity Forms Goole Analytics
Google Analytics Admin

Go to your Google Analytics admin tab (shown above) and find your Goals. You’ll want to create a new event based goal as shown in the picture below.

Google Analytics New Goal
Google Analytics New Goal

Once you have created your new goal, it’s now time to fill out the event parameters to complete the conversion. In this example, we’re using the event category called Forms and event action called Submission (you’ll see later you can name these whatever you like).

Google Analytics Goal Creation
Google Analytics Goal Creation

Step 3: Configure Gravity Forms Event Tracking Settings

Simply log into WordPress, go to Forms->Settings and find the Event Tracking tab.

Enter your UA code and hit Update Settings.

Step 4: Create a Feed

Gravity Forms Submission Feed
Gravity Forms Submission Feed
Gravity Forms Add Event Tracking Feed
Gravity Forms Add Event Tracking Feed

Once you add a feed, you’ll be presented with a configurable list of options.

Gravity Forms Feed Settings
Gravity Forms Feed Settings

You can leave the defaults, or configure custom events. It doesn’t matter as long as they match your Google Analytics Goals.

Check Google Analytics Real Time

Google Analytics Real Time
Google Analytics Real Time

12 thoughts on “Event Tracking for Gravity Forms”

  1. We have a contact form in the footer of all the pages of our site. Is it possible to see what page the contact form was submitted from?

    1. Hey Joel, you can easily do that using Google Tag Manager, which allows you to capture the page title, Id, actions etc. A while back, I wrote a post about adding Google Tag Manager to a WordPress website over at WPExplorer. I don’t know if it’s okay to add links here, but here it is: https://www.wpexplorer.com/google-tag-manager-wordpress/

      Great event tracking add-on Robert! I am including it in a “10 Best Gravity Add-ons” post that publishes on Wpexplorer soon 🙂 Please let me know your thoughts. Thanks in advance!

      Best regards,
      Freddy

  2. I just installed this on my site and I can’t get anything to show in Google Analytics. I know I have a form submission on May 1st that should show up, but nothing does. Here are screen shots:

    Settings: https://drive.google.com/file/d/1e3oZECMLIjDGLlzp_LhdEFtBHzEN5LL2/view?usp=sharing
    Gravity Forms Form: https://drive.google.com/file/d/1_oSAHV_8kksxFgUvlxEpNuMnbZjQWaTf/view?usp=sharing
    Goals: https://drive.google.com/file/d/1uY65Oz4GEMP9sq9O-3Ue5SKDtrQr-e_4/view?usp=sharing

    Can you help me figure out what has been done incorrectly?

  3. I am getting duplicated event sends registering in GA every time someone submits a form on our site. Is there a setting I can change to prevent this?

  4. Hi Ronald,

    Is it possible to use your plugin to capture the Landing Page (first page entered to site) and send that data to an email when user submits form on another page.

    Thanks In Advance

  5. Hi Ronald,
    I installed your plugin for a client. We use GTM and the event GFTrackEvent doesn’t appear in the dataLayer.
    After crying and pulling my heir for a couple of hours I realised that if you add the UA in the general settings (even if you use GTM which will send the event to GA) the plugin started working and the event GFTrackEvent started appearing in the dataLayer.
    Is that correct?

    I think is not logic if you need to add a UA in the setting if you are going to use GTM to send the events to GA.
    This condition should be flagged up in the settings page.

    Another question: the events generated in the dataLayer when you click on the fields, how can we set it up to avoid them?

    Thanks
    Nico

  6. Love this plugin thanks! Quick question – would you consider adding support for Facebook pixel? Either built into this plugin or separately.

    There is only one other WordPress plugin I can find for Gravity Forms + Facebook Pixel tracking, and it’s buggy, outdated and isn’t working properly.

    If the Facebook pixel is already setup on a site, adding this as a pixel event is as simple as firing off the event specific code from Facebook.

    fbq(‘track’, ‘Lead’);

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top