Event Tracking for Gravity Forms
Quick Links
Gravity Forms Event Tracking v2.4.14
Setting up Event Tracking for Gravity Forms is easy and we’re going to show you how.
Quick Links
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.
Gravity Forms Google Analytics Mode Setup
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.
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
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
Step 4: Create the Conversion in Google Analytics
- Event Category: form
- Event Action: pagination
- Event Label: {form_title}::{source_page_number}::{current_page_number}
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.