Title: Event Tracking for Gravity Forms
Author: Ronald Huereca
Published: <strong>كانونی یه‌كه‌م 1, 2014</strong>
Last modified: تشرینی دووه‌م 3, 2024

---

گەڕان لە پێوەکراوەکان

![](https://ps.w.org/gravity-forms-google-analytics-event-tracking/assets/banner-
772x250.png?rev=2524750)

![](https://ps.w.org/gravity-forms-google-analytics-event-tracking/assets/icon-256x256.
png?rev=2524751)

# Event Tracking for Gravity Forms

 لەلایەن [Ronald Huereca](https://profiles.wordpress.org/ronalfy/)

[داگرتن](https://downloads.wordpress.org/plugin/gravity-forms-google-analytics-event-tracking.2.5.0.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/)

## وەسف

> Gravity Forms has launched [an official Google Analytics Add-on](https://www.gravityforms.com/add-ons/google-analytics/).
> It is the successor to this plugin.

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](https://mediaron.com/event-tracking-with-gravity-forms-and-google-analytics-4/).

Also supports:

 * Pagination events
 * JS only events
 * Google Tag Manager

#### Setup Guide

Looking for help setting things up? [Read Our Setup Guide](https://mediaron.com/event-tracking-for-gravity-forms/?utm_source=wordpress_org&utm_medium=documentation&utm_campaign=event_tracking)

#### Minimum Requirements

 * Gravity Forms 2.5
 * Google Analytics Universal Analytics v3
 * Google Tag Manager (optional)

#### تایبەتمەندییەکان

 * Submit events to Google Analytics using the Measurement Protocol, JavaScript,
   or using Google Tag Manager
 * 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](https://github.com/ronalfy/wordpress-gravity-forms-event-tracking/).

> Please [Rate the Plugin](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/#new-post)
> or [Give Back](https://mediaron.com/give/) to show support.

Get the official Gravity Forms Google Analytics Add-on

The official Gravity Forms add-on is here and is the successor to this plugin.

Find out more details about the [Gravity Forms Google Analytics Add-on](https://www.gravityforms.com/add-ons/google-analytics/).

## سکرین شۆتەکان

 * [[
 * 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

## دامەزراندن

#### Minimum Requirements

 * Gravity Forms 2.5+

#### Using The WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for Event Tracking for Gravity Forms
 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

## پهد

### What are the plans for this plugin now that an official Add-on is out?

This plugin will continue to be maintained. No new features are planned, however.
Users are encouraged to use the official [Gravity Forms Google Analytics Add-on](https://www.gravityforms.com/add-ons/google-analytics/)
for more up-to-date features and support.

### Do this plugin support Google Analytics 4?

Check out [this post](https://mediaron.com/event-tracking-with-gravity-forms-and-google-analytics-4/)
and YouTube Playlist for how to integrate with Google Analytics 4.

### How do I track pagination?

[Read our Guide on Pagination](https://mediaron.com/event-tracking-for-gravity-forms/pagination/).

### How do I track using JavaScript only?

See [Going Advanced](https://mediaron.com/event-tracking-for-gravity-forms/google-analytics-mode/).

### Does this work with Google Tag Manager?

Yes. [Read our Guide on Google Tag Manager](https://mediaron.com/event-tracking-for-gravity-forms/google-tag-manager/).

### Can I set values for my form conversions?

Yes, the video above shows you how. Please note that values can be integers only,
so the result may be rounded up or down.

### Can I set a value for pagination?

Yes, check out [our filters on GitHub](https://github.com/ronalfy/wordpress-gravity-forms-event-tracking#gform_pagination_event_action).

### Can I track when a user has filled out a form field, but not submitted?

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:

### Are there any filters/hooks?

Check out the documentation on [github](https://github.com/ronalfy/wordpress-gravity-forms-event-tracking)

## پێداچوونەوەکان

![](https://secure.gravatar.com/avatar/232e404f97e7b62e2ac69ce9f524c42285e7763c1e532d0a0f53073d6042f680?
s=60&d=retro&r=g)

### 󠀁[Unbelieveable customer support](https://wordpress.org/support/topic/unbelieveable-customer-support/)󠁿

 [rtnetworks](https://profiles.wordpress.org/rtnetworks/) كانونی یه‌كه‌م 23, 2022

I don’t often leave reviews, because I find most products and customer service average
at best. Not this time. I ended up having some configuration problems with GTM in
my child theme that prevented the plugin from working. Ron graciously offered to
get on a Zoom call with me and debug my problem. Wow. I don’t expect such level 
of support for a free plugin. I don’t even get that level with most of my paid plugins.
The plugin works as advertised. I’d definitely encourage new users to get the installation
guide as well as it has some useful tips. Thank you Ron. You’re the best.

![](https://secure.gravatar.com/avatar/ec5000748e0d0651c7656a6c2b85c21e35efd37853ad55c8aa01b47415ad0133?
s=60&d=retro&r=g)

### 󠀁[Great Product with Outstanding Support](https://wordpress.org/support/topic/great-product-with-outstanding-support-3/)󠁿

 [Trevormonk](https://profiles.wordpress.org/trevormonk/) نیسان 1, 2022

Easy to install and set up, works perfectly and Ronald is there for you if you have
a problem.

![](https://secure.gravatar.com/avatar/b7a012092ab8958977998298ca9567475f87efbaf0ad57256943390ca05812c3?
s=60&d=retro&r=g)

### 󠀁[It just works!](https://wordpress.org/support/topic/it-just-works-682/)󠁿

 [Aurélien Denis](https://profiles.wordpress.org/maigret/) تەممووز 27, 2021

Nothing to tell more.

![](https://secure.gravatar.com/avatar/f38b8d9ae90f4defbf4d933a6eb8e49f466efc4d0a81c5b4b5eccd1534547ab5?
s=60&d=retro&r=g)

### 󠀁[Fantastic!](https://wordpress.org/support/topic/fantastic-2770/)󠁿

 [strom84](https://profiles.wordpress.org/strom84/) ئازار 31, 2021

Works really well with Google Tag Manager easy to setup good, easy instruction both
in a guide but also with a video so you can follow the steps with ease. Really recommend
this plugin for using Google Tag Manager to track Gravity Forms. Thanks for this
plugin, much appreciated!

![](https://secure.gravatar.com/avatar/26c2841cd18ab340f870518a063bd15851f49691d0b4326f3cf35180e094a9a7?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-8090/)󠁿

 [tye](https://profiles.wordpress.org/tye/) ئه‌یلول 1, 2020

Thanks 🙂

![](https://secure.gravatar.com/avatar/134e38844d90521a7cb7adae34ff286310f9e9a26087b4f30dd6916e274bb9d9?
s=60&d=retro&r=g)

### 󠀁[Top-Notch Plugin and Service](https://wordpress.org/support/topic/top-notch-plugin-and-service/)󠁿

 [lakeozark80](https://profiles.wordpress.org/lakeozark80/) ئازار 11, 2020

Ron took out the time to help me even make sure it was installed correctly. The 
man is brilliant.

 [ خوێندنەوەی 37 پێداچوونەوە ](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/)

## بەشداربووان و گەشەپێدەران

“Event Tracking for Gravity Forms” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە
بەشدارییان تێدا کردووە.

بەشداربووان

 *   [ Ronald Huereca ](https://profiles.wordpress.org/ronalfy/)
 *   [ BigWing ](https://profiles.wordpress.org/bigwing/)
 *   [ Nathan Marks ](https://profiles.wordpress.org/nmarks/)
 *   [ KZeni ](https://profiles.wordpress.org/kzeni/)

“Event Tracking for Gravity Forms” وەرگێڕدراوە بۆ 4 زمان. سوپاسی [وەرگێڕەکان](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-google-analytics-event-tracking/contributors)
دەکەین بۆ بەشداریکردنیان.

[“Event Tracking for Gravity Forms” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-google-analytics-event-tracking)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/gravity-forms-google-analytics-event-tracking/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/gravity-forms-google-analytics-event-tracking/)
بکە، یان بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/gravity-forms-google-analytics-event-tracking/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/gravity-forms-google-analytics-event-tracking/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

#### 2.5.0

 * Released 2024-11-03
 * Deprecating GA3 options (Measurement Protocol and GA3 Analytics).
 * Deprecating Matomo support.
 * Removing form information from datalayer for privacy reasons.

#### 2.4.14

 * Released 2022-12-02
 * Minifying UTM script for performance.
 * Only load UTM script when UTM variables are present or a form is present.

#### 2.4.12

 * Released 2022-11-09
 * Updating Google Analytics Add-on banners.
 * Cleaning up documentation.
 * Testing with latest Gravity Forms and WordPress 6.1.

#### 2.4.11

 * Released 2022-01-28
 * WordPress 5.9 testing/compatibility
 * Testing with Gravity Forms 2.6 beta
 * Add option to disable beta banner under Advanced settings.

#### 2.4.10

 * Released 2021-08-23
 * Fixing a bug caused another. Fixing GTM not sending any events.

#### 2.4.9

 * Released 2021=08-22
 * Prevent GTM from sending events more than once (props @zahadum).

#### 2.4.8

 * Released 2021-07-29
 * When a feed is successful, it’ll show up under the Form entry notes.

#### 2.4.6

 * 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).

#### 2.4.5

 * Released 2021-07-26
 * Cleaning up settings page.

#### 2.4.2

 * Released 2021-06-22
 * Fixing preview and ajax-only forms.

#### 2.4.1

 * Released 2021-05-12
 * Fixing index errors in PHP logs related to GTM.

#### 2.4.0

 * 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.

#### 2.3.12

 * 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.

#### 2.3.10

 * Released 2019-06-17
 * Prevent empty values to be sent to analytics when using partial entries.

#### 2.3.9

 * 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

#### 2.3.8

 * Released 2019-03-24
 * Added support for noninteractive hits

#### 2.3.5

 * Released 2018-11-14
 * Added pagination settings to Gravity Forms form settings screen for per-form 
   override

#### 2.3.2

 * 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

#### 2.3.0

 * Released 2018-10-03
 * Added support for the Partial Entries add-on.

#### 2.2.4

 * Released 2018-10-02
 * Adding support for custom trackers

#### 2.2.2

 * Released 2018-08-27
 * Adding support for gtag

#### 2.2.1

 * Released 2018-08-23
 * Bug fix: Blank event values were being sent in Google Analytics mode, which resulted
   in failed conversions

#### 2.2.0

 * 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](https://github.com/ronalfy/wordpress-gravity-forms-event-tracking#gform_pagination_event_value)
 * Note: Google only accepts integer values, so total fields and such will be rounded
   up or down when viewing your conversion reports

#### 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.

## پێوەکراوی بازرگانی

ئەم پێوەکراوە بێبەرانبەرە، بەڵام بەڕۆژکردنەوە و پشتگیریی بەپارە پێشکەش دەکات. [View support](https://mediaron.com/event-tracking-for-gravity-forms/)

## مێتا

 *  وەشان **2.5.0**
 *  دوایین بەڕۆژکردنەوە **1 ساڵ لەمەوبەر**
 *  دامەزراندنی چالاک **20,000+**
 *  وەشانی وۆردپرێس ** 5.5 یان بەرزتر **
 *  تاقیکراوەتەوە تا **6.7.5**
 *  وەشانی PHP ** 5.6 یان بەرزتر **
 *  زمانەکان
 * [English (Canada)](https://en-ca.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/)،
   [English (US)](https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/)،
   [French (France)](https://fr.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/)،
   [Spanish (Chile)](https://cl.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/)،
   و [Spanish (Spain)](https://es.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/).
 *  [وەریبگێڕە بۆ زمانەکەی خۆت](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-google-analytics-event-tracking)
 * تاگەکان
 * [google analytics](https://ku.wordpress.org/plugins/tags/google-analytics/)[google tag manager](https://ku.wordpress.org/plugins/tags/google-tag-manager/)
   [gravity forms](https://ku.wordpress.org/plugins/tags/gravity-forms/)[matomo](https://ku.wordpress.org/plugins/tags/matomo/)
   [piwik](https://ku.wordpress.org/plugins/tags/piwik/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/advanced/)

## هەڵسەنگاندنەکان

 5 out of 5 stars.

 *  [  37 5-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/)

## بەشداربووان

 *   [ Ronald Huereca ](https://profiles.wordpress.org/ronalfy/)
 *   [ BigWing ](https://profiles.wordpress.org/bigwing/)
 *   [ Nathan Marks ](https://profiles.wordpress.org/nmarks/)
 *   [ KZeni ](https://profiles.wordpress.org/kzeni/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/)

## ببەخشە

دەتەوێت پشتگیریی بەرەوپێشچوونی ئەم پێوەکراوە بکەیت؟

 [ ببەخشە بەم پێوەکراوە ](https://github.com/mediaron)