Event Tracking for Gravity Forms

Description

This plugin provides an easy way to add event tracking to your Gravity Forms using Google Analytics, Google Tag Manager, or Matomo (formerly Piwik).

Also supports:

  • Pagination events
  • JS only events
  • Google Tag Manager
  • Matomo (formerly Piwik)

Setup Guide

Looking for help setting things up? Read Our Setup Guide

Minimum Requirements

  • Gravity Forms 2.0+
  • Google Analytics Universal Analytics
  • Google Tag Manager (optional)
  • Matomo (formerly Piwik) account (optional)

Features

  • Submit events to Google Analytics using the Measurement Protocol, JavaScript, or using Google Tag Manager
  • Submit events using Matomo (formerly Piwik)
  • Add multiple event feeds with conditionals
  • Custom event categories, actions, labels and even values
  • Track form pagination events
  • Dynamic event value on payment forms (integration with the payment add-ons including Paypal Standard, PayPal Pro, Stripe, etc…)

For payment based forms, you can leave the value blank to convert using the total payment amount.

Help Contribute

Screenshots

  • The Gravity Forms setting screen where you setup your event tracking.
  • The form settings feed list.
  • The feed settings page

Installation

Minimum Requirements

  • Gravity Forms 2.0+

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for gravity-forms-google-analytics-event-tracking
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select gravity-forms-event-tracking.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download gravity-forms-event-tracking.zip
  2. Extract the gravity-forms-event-tracking directory to your computer
  3. Upload the gravity-forms-event-tracking directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

FAQ

Installation Instructions

Minimum Requirements

  • Gravity Forms 2.0+

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for gravity-forms-google-analytics-event-tracking
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select gravity-forms-event-tracking.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download gravity-forms-event-tracking.zip
  2. Extract the gravity-forms-event-tracking directory to your computer
  3. Upload the gravity-forms-event-tracking directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard
How do I track pagination?

Read our Guide on Pagination.

How do I track using JavaScript only?

See Going Advanced.

Does this work with Google Tag Manager

Yes. Read our Guide on Google Tag Manager.

Are there any filters/hooks?

Check out the documentation on github

Reviews

Great plugin with very helpful support

I needed a way to connect gravity forms with Google Analytics and this plugin does exactly what I needed to.
I had some trouble setting it up but the plugin developer was very helpful and fast in assisting me to work out where I was going wrong.
Thank you!!

Excellent plugin, excellent support

I was struggling for 2 days to get the Event and Goal conversions tracked correctly using GTM and Google Analytics, without success. Using this plugin straight away would have saved me so much time!! Does exactly what it should and the support on an issue I was having setting it up was very fast and helpful. Highly recommended!

Excellent!

I use this plugin for a free self assessment for potential clients to see where they might want coaching. It is easy to configure and looks very professional. The report is generated almost instantly and emailed to users. Very nice add on.

Best plugin with best support!

Wanted to track conversions (form submits) coming from social media etc with utm_ parameters. Had problems initially but contacted the plugin author who went out of his way to help me. Extremely helpful!! Found out the problems were was caused by a custom javascript on my site and once that was cleared (and ajax enabled for my Gravity Forms), it worked beautifully. Cannot recommend enough!!

Impressive customer service

This plugin is easy to use and does exactly what you would expect given its name. However, what sets it apart from most other WordPress plugins is the support that is offered. I was having an issue with a specific form and Ronald got on a Google Hangout with me and helped me fix the problem. Pretty impressive for a free plugin.

Read all 22 reviews

Contributors & Developers

“Event Tracking for Gravity Forms” is open source software. The following people have contributed to this plugin.

Contributors

“Event Tracking for Gravity Forms” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Event Tracking for Gravity Forms” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.1.1

  • Released 2018-06-22
  • Documentation update

2.1.0

  • Released 2018-01-10
  • Enhancement: Added Matomo (formerly Piwik) support

2.0.9

  • Released 2017-11-29
  • Bug fix: added host name to measurement protocol due to filters blocking the conversion.
  • Bug fix: fixed document location using the measurement protocol
  • Bug fix: changed measurement protocol server-to-server call to something less strict to prevent inadvertent blocking on some servers.

2.0.7

  • Released 2017-11-03
  • Bug fix: events were not being sent using the measurement protocol on some installations

2.0.5

  • Released 2017-10-17
  • Bug fix: events were not being sent using the measurement protocol
  • Bug fix: fixing various conflicts with PHP7.

2.0.3

  • Released 2016-09-24
  • Bug fix: Conflict with role management plugins

2.0.1

  • Released 2016-09-23
  • Bug fix: Google Tag Manager had an extra “s” in the action dataLayer variable.

2.0.0

  • Released 2016-09-22
  • Enhancement: Can track pagination events
  • Enhancement: Can track events using JavaScript only (a highly requested feature)
  • Enhancement: Can use Google Tag Manager

1.7.3

  • Bugfix – Some users were experiencing PHP fatal errors upon form submission. Reverting to previously used library.

1.7.1

  • Released 2016-03-28
  • Hotfix – Removing SSL requirement. Needs more testing.

1.7.0

  • Released 2016-03-28
  • Plugin will now display an error if an incompatible version of PHP is installed.
  • Bug Fix: Plugin no longer shows a notice if a UA code isn’t set
  • Bug Fix: Plugin will now trigger events if a UA code is set in the feed but not in the settings
  • Enhancement: Document Path will now be set as part of event creation
  • Enhancement: Measurement protocol updated
  • Enhancement: Measurement protocol will not detect SSL and use the appropriate protocol

1.6.5

  • Released 2015-12-11
  • Ability to add multiple UA codes in the feed settings.

1.6.4

  • Released 2015-09-22
  • Testing with WordPress 4.3.
  • Better internationalization

1.6.3

  • Released 2015-02-10
  • Integration with members plugin

1.6.2

  • Released 2015-02-06
  • Fixed bug where manual event values were not sent properly.

1.6.1

  • Released 2015-01-28
  • Hotfix to remove echo’d text bug

1.6.0

  • Released 2015-01-25
  • Refactored the plugin to use feeds. Now you can have multiple feeds with conditions!

1.5.5

  • Released 2015-01-19
  • Hotfix for issue with paypal standard converting early

1.5.3

  • Released 2014-12-20
  • Ensured page title and location are properly being sent to Google

1.5.2

  • Released 2014-12-16
  • Hotfix for PHP strict standards warning

1.5.0

  • Released 2014-12-15
  • Moved the form specific settings to their own tab.
  • Re-structured the plugin code to fall in line with the official Gravity Forms plugins.
  • Added a disable option to prevent a form from tracking any events.
  • Added merge tag (choose a form field dropdown) to the settings fields for more dynamic tracking capabilities.

1.4.5

  • Released 2014-12-04
  • Fixed a bug where the source/medium was not being tracked correctly for PayPal Standard IPN Notification based conversions.

1.4.4

  • Released 2014-12-03
  • Added some information to the event settings section

1.4.3

  • Released 2014-12-02
  • Fixed backwards-compat issue

1.4

  • Released 2014-12-01-
  • Added value for events
  • Properly integrated with payment based forms

1.3

  • Properly integrated with Gravity Forms settings API (thanks ronalfy!)
  • Enabled custom category/action/label on a per form basis.