Event Tracking for Gravity Forms

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

Updated March 11, 2021: Please join our beta program for the next release.


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

Updated March 11, 2021: Please join our beta program for the next release.

29 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?

    • 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,

  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?


    • 100% agree with this, and can confirm it. Seems like a bug. I too was pulling my hair out.
      Love the functionality, but it’s not intuitive that UA code would be required to fire the GFTrackEvent when using GTM.

      Thanks Nico. Your comment is exactly what I needed to move forward.

  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’);

  7. Hey this was perfect! Thanks so much.

    So I was curious if you might know why I am not seeing the conversion in google ads? I am seeing the conversion in Realtime in Google Analytics but I am not seeing it reflected in Google AdWords. I imported the goals and did all that good stuff, but no dice. Any idea?


  8. Hi there!
    I’m getting the GA events for pagination, but not for submission. I have the submission tracking settings configured correctly (I think!).
    When I test the form, my submissions show up as spam. Is that why the submission tracking is not working?
    Thanks for your help!

  9. Hi Ronald,

    Thank you for creating this and also for your really helpful videos. I just implemented this on a redesigned website. In staging, it worked perfectly! On the live site, I see the Events track in real-time, but it doesn’t reflect in Conversions/Goals. It’s been much longer than the 72-hour initial wait time to see data pushed into the Reporting. Do you have any recommendations for troubleshooting?

  10. Maybe an overly specific question –

    I also have been trying to find a good way to fire the FB pixel for a purchase event.

    I tried switching to the GTM protocol and it worked perfectly for ‘normal ajax’ forms – but I process my payments through paypal which take the user off site.

    The GTM protocol did NOT seem to fire the event when the user submitted a paypal form, even though using the normal measurement protocol to fire a GA event, it works just fine.

    Note for GTM I followed all the GFTrack[thing] instructions & fired the FB pixel from GTM with those variables – they just never got there for paypal users

  11. hi Ronald,

    I am using a Plugin called “Gravity Forms Iframe Add-on” to display forms as part of a couple of other sites.

    I’ve been adding these in to pages such as https://www.brenclosures.com.au/products/ddzs/ (click on the green arrows in the table for the form). I noticed that although the tracking works on the site itself, it doesn’t come through as part of the iframe.

    Any ideas on what I can do to solve this one? I’m guessing that there isn’t much, but I just thought I’d ask.


  12. A question from a nontechnical follower. we use active campaign, wp, and gravity form. we need to capture the source of traffic when the forms are initially submitted. You all talk about event tracking here. it is not the same thing; is it?

  13. The plugin only works for Pagination for me. I cannot understand why, i’ve followed all the instructions on the plugin.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.