Google Tag Manager with Gravity Forms Event Tracking

Gravity Forms Google Analytics Event Tracking

Google Tag Manager is one of the advanced modes of Gravity Forms Event Tracking.

You’ll want to make sure to set up Google Tag Manager properly in WordPress. We recommend Metronet Tag Manager, although both will require some template modifications.

Step 1: Set up Event Tracking

The first step is to set up event tracking like normal.

Step 2: Enable Google Tag Manager

In Going Advanced, we show you how to enable Google Tag Manager mode.

Step 3: Install Dataslayer

If you are using Chrome, install Dataslayer.

Step 4: Set up Pagination

Using Dataslayer, you can see upon pagination a dataLayer push is triggered assuming you have Google Tag Manager installed correctly.

Google Tag Manager Pagination
Google Tag Manager Pagination

The event format is:

  • event – GFTrackEvent
  • GFTrackCategory – form
  • GFTrackAction – pagination
  • GFTrackLabel – {form title}::{previous page}::{current page}} – Contact Us::1::2

Within tag manager, you can set up a new trigger that will detect pagination. You can set up any number of tags, including submitting your own events to analytics.

Step 5: Set up Form Submission

Using Dataslayer, you can see upon form submission a dataLayer push is triggered assuming you have Google Tag Manager installed correctly.

Google Tag Manager Form Submission
Google Tag Manager Form Submission

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}}
  • GFEntryData – {json object with entry data}

Within tag manager, you can set up a new trigger that will detect submission. You can set up any number of tags, including submitting your own events to analytics.

More Questions? Get Support

[gravityform id=”17″ title=”false” description=”false” ajax=”true”]