Event Tracking for Gravity Forms

Gravity Forms Event Tracking v2.4.0

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

Event Tracking Screenshot

Get the Event Tracking Guide for Free

35 pages of nothing but Event Tracking goodness.

Name your price. We do ask for a name and email address.

Gravity Forms Measurement Protocol Setup

The Measurement Protocol is the default protocol used when setting up Event Tracking. Please see the video below for how to set that up.


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

Gravity Forms Google Analytics Mode Setup

If you would like to use Google Analytics Mode, please follow the video below.

Setting up Event Tracking for Gravity Forms is easy, but there are advanced options you can use to fine-tune the event tracking.

To find the Advanced settings, simply log into WordPress, go to Forms->Settings and find the Event Tracking tab.

Gravity Forms Google Analytics Mode
Gravity Forms Google Analytics Mode

Google Analytics Mode

With Google Analytics Mode, you’ll receive much more data than just the measurement protocol.

We recommend a plugin called Monster Insights to output Google Analytics to your site.

Just switch to Google Analytics, make your forms Ajax only, and you’re set.

Gravity Forms Google Tag Manager Mode Setup

Set up Tag Manager with the following video below.

Form Tag Data

The event format is similar to the feeds you set up:

  • event – GFTrackEvent
  • GFTrackCategory – {your feed category – Default Forms}
  • GFTrackAction – {your feed action – Default Submission}
  • GFTrackLabel – {your feed label – Default Form: {form_title} ID: {form_id}}
  • GFTrackValue – Your event value
  • GFEntryData – {json object with entry data}

Pagination

  • event – GFTrackEvent
  • GFTrackCategory – form
  • GFTrackAction – pagination
  • GFTrackLabel – {form title}::{previous page}::{current page}} – Contact Us::1::2
  • GFTrackValue – Your event value
  • GFEntryData – {json object with entry data}

Gravity Forms Event Tracking Pagination

Gravity Forms can easily track pagination events with Event Tracking for Gravity Forms.

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: Configure Event Tracking for Gravity Forms Settings

Event Tracking Settings
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 3: Create a Paginated Form

Paginated Form with Gravity Forms

Step 4: Create the Conversion in Google Analytics

  • Event Category: form
  • Event Action: pagination
  • Event Label: {form_title}::{source_page_number}::{current_page_number}
Pagination Goal in Google Analytics
Pagination Goal in Google Analytics

You can also override the pagination settings per-form by heading to your form settings. Just make sure the goal in analytics matches your changes.

Pagination Settings Per Form
Pagination Settings Per Form

Step 5: Confirm the Goal in Real Time

Pagination Conversion in Google Analytics
Pagination Conversion in Google Analytics

Need more help? Get the Event Tracking Guide for Free

35 pages of nothing but Event Tracking goodness.

Name your price. We do ask for a name and email address.

Need more help? Email us at [email protected] and we can set up a support call.

Ronald Huereca
MediaRon - Ronald Huereca

Ronald created MediaRon in 2011 and has more than fifteen years of releasing free and paid WordPress plugins.