Add Google Analytics Event Tracking to your Gravity Forms in less than 5 minutes!
|Author:||Ronald Huereca (profile at wordpress.org)|
|WordPress version required:||5.5|
|WordPress version tested:||5.8|
|Added to WordPress repository:||01-12-2014|
|Total downloads:||411 878|
|Active installs:||30 000+|
Click to start download
This plugin provides an easy way to add event tracking to your Gravity Forms using Google Analytics and Google Tag Manager.
This plugin support Google Analytics 3 and Google Analytics 4.
- Pagination events
- JS only events
- Google Tag Manager
Looking for help setting things up? Read Our Setup Guide
- Gravity Forms 2.5
- Google Analytics Universal Analytics v3
- Google Tag Manager (optional)
- 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.
Development happens on GitHub.
The Gravity Forms setting screen where you setup your event tracking.
The form settings feed list.
The feed settings page
Partial entries add-on section
Check out this post and YouTube Playlist for how to integrate with Google Analytics 4.
See Going Advanced.
Yes, the video above shows you how. Please note that values can be integers only, so the result may be rounded up or down.
Yes, check out our filters on GitHub.
You may use the Partial Entries add-on, but it is not recommended. Use pagination events instead.
Check out the video below for an explanation:
Check out the documentation on github
* Released 2021-08-23
* Fixing a bug caused another. Fixing GTM not sending any events.
- Released 2021=08-22
- Prevent GTM from sending events more than once (props @zahadum).
- Released 2021-07-29
- When a feed is successful, it’ll show up under the Form entry notes.
- Released 2021-07-26
- Fixing SVG width/height in Safari.
- Fixing height of labels in Safari.
- Adding payment deferred option for feed settings (Stripe, PayPal, etc).
- Released 2021-07-26
- Cleaning up settings page.
- Released 2021-06-22
- Fixing preview and ajax-only forms.
- Released 2021-05-12
- Fixing index errors in PHP logs related to GTM.
- Released 2021-05-01
- Requires: Gravity Forms 2.5 and above.
- Feature: Options to install gtag and Tag Manager are available.
- Bug Fix: Google Tag Manager no longer requires a UA code.
- Feature: Improved interface inline with Gravity Forms 2.5.
- Feature: Track UTM variables using Google Tag Manager.
- Miscelleanous bug fixes and code cleanup.
- Released 2021-03-11
- Testing Matomo to ensure it is tracked correctly.
- Testing compatibility with WordPress 5.7.
- Testing with Gravity Forms 2.5 RC-1.
- Released 2019-06-17
- Prevent empty values to be sent to analytics when using partial entries.
- Released 2019-05-16
- Fixing pagination settings for the form with correct default values
- Fixed PHP 7.3 error with partial entries add-on showing incorrect offset
- Released 2019-03-24
- Added support for noninteractive hits
- Released 2018-11-14
- Added pagination settings to Gravity Forms form settings screen for per-form override
- Released 2018-11-07
- Removed some checks for better event tracking
- Updating filter for partial entries
- Tested successfully with WordPress 5.0 Beta 3
- Tested successfully with Gravity Forms 2.4 Beta 2
- Released 2018-10-03
- Added support for the Partial Entries add-on.
- Released 2018-10-02
- Adding support for custom trackers
- Released 2018-08-27
- Adding support for gtag
- Released 2018-08-23
- Bug fix: Blank event values were being sent in Google Analytics mode, which resulted in failed conversions
- Released 2018-08-19
- Bug fix: Non-integer values being sent to Google Analytics weren’t tracking as conversions
- Enhancement: Event values are now sent using the Measurement Protocol, Google Tag Manager, Matamo, and Google Analytics
- Enhancement: Can now set event values to pagination using filters
- Note: Google only accepts integer values, so total fields and such will be rounded up or down when viewing your conversion reports
- Released 2018-06-22
- Documentation update
- Released 2018-01-10
- Enhancement: Added Matomo (formerly Piwik) support
- 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.
- Released 2017-11-03
- Bug fix: events were not being sent using the measurement protocol on some installations
- Released 2017-10-17
- Bug fix: events were not being sent using the measurement protocol
- Bug fix: fixing various conflicts with PHP7.
- Released 2016-09-24
- Bug fix: Conflict with role management plugins
- Released 2016-09-23
- Bug fix: Google Tag Manager had an extra “s” in the action dataLayer variable.
- Released 2016-09-22
- Enhancement: Can track pagination events
- Enhancement: Can use Google Tag Manager
- Bugfix – Some users were experiencing PHP fatal errors upon form submission. Reverting to previously used library.
- Released 2016-03-28
- Hotfix – Removing SSL requirement. Needs more testing.
- 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
- Released 2015-12-11
- Ability to add multiple UA codes in the feed settings.
- Released 2015-09-22
- Testing with WordPress 4.3.
- Better internationalization
- Released 2015-02-10
- Integration with members plugin
- Released 2015-02-06
- Fixed bug where manual event values were not sent properly.
- Released 2015-01-28
- Hotfix to remove echo’d text bug
- Released 2015-01-25
- Refactored the plugin to use feeds. Now you can have multiple feeds with conditions!
- Released 2015-01-19
- Hotfix for issue with paypal standard converting early
- Released 2014-12-20
- Ensured page title and location are properly being sent to Google
- Released 2014-12-16
- Hotfix for PHP strict standards warning
- 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.
- Released 2014-12-04
- Fixed a bug where the source/medium was not being tracked correctly for PayPal Standard IPN Notification based conversions.
- Released 2014-12-03
- Added some information to the event settings section
- Released 2014-12-02
- Fixed backwards-compat issue
- Released 2014-12-01-
- Added value for events
- Properly integrated with payment based forms
- Properly integrated with Gravity Forms settings API (thanks ronalfy!)
- Enabled custom category/action/label on a per form basis.