Version Description
- Released 2019-06-17
- Prevent empty values to be sent to analytics when using partial entries.
Download this release
Release Info
Developer | ronalfy |
Plugin | Event Tracking for Gravity Forms |
Version | 2.3.10 |
Comparing to | |
See all releases |
Code changes from version 2.3.9 to 2.3.10
- README.txt +8 -1
- gravity-forms-event-tracking.php +1 -1
- includes/GFGAET_Partial_Entries.php +3 -0
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: ronalfy, bigwing, nmarks, kzeni
|
|
3 |
Tags: gravity forms, google analytics, google tag manager, matomo, piwik, event tracking
|
4 |
Requires at least:4.9
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 2.3.
|
7 |
Requires PHP: 5.6
|
8 |
Donate link: https://mediaron.com/give/
|
9 |
License: GPLv2 or later
|
@@ -126,6 +126,10 @@ Check out the documentation on [github](https://github.com/ronalfy/wordpress-gra
|
|
126 |
|
127 |
== Changelog ==
|
128 |
|
|
|
|
|
|
|
|
|
129 |
= 2.3.9 =
|
130 |
* Released 2019-05-16
|
131 |
* Fixing pagination settings for the form with correct default values
|
@@ -289,5 +293,8 @@ Check out the documentation on [github](https://github.com/ronalfy/wordpress-gra
|
|
289 |
|
290 |
== Upgrade Notice ==
|
291 |
|
|
|
|
|
|
|
292 |
= 2.3.9 =
|
293 |
Fixing pagination settings for the form with correct default values. Fixed PHP 7.3 error with partial entries add-on showing incorrect offset.
|
3 |
Tags: gravity forms, google analytics, google tag manager, matomo, piwik, event tracking
|
4 |
Requires at least:4.9
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 2.3.10
|
7 |
Requires PHP: 5.6
|
8 |
Donate link: https://mediaron.com/give/
|
9 |
License: GPLv2 or later
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 2.3.10 =
|
130 |
+
* Released 2019-06-17
|
131 |
+
* Prevent empty values to be sent to analytics when using partial entries.
|
132 |
+
|
133 |
= 2.3.9 =
|
134 |
* Released 2019-05-16
|
135 |
* Fixing pagination settings for the form with correct default values
|
293 |
|
294 |
== Upgrade Notice ==
|
295 |
|
296 |
+
= 2.3.10 =
|
297 |
+
Prevent empty values to be sent to analytics when using partial entries.
|
298 |
+
|
299 |
= 2.3.9 =
|
300 |
Fixing pagination settings for the form with correct default values. Fixed PHP 7.3 error with partial entries add-on showing incorrect offset.
|
gravity-forms-event-tracking.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Gravity Forms Event Tracking
|
4 |
* Plugin URI: https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/
|
5 |
* Description: Add event tracking to your Gravity Forms with ease using Google Analytics, Tag Manager, or Matomo (formerly Piwik).
|
6 |
-
* Version: 2.3.
|
7 |
* Author: Ronald Huereca
|
8 |
* Author URI: https://mediaron.com
|
9 |
* Text Domain: gravity-forms-google-analytics-event-tracking
|
3 |
* Plugin Name: Gravity Forms Event Tracking
|
4 |
* Plugin URI: https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/
|
5 |
* Description: Add event tracking to your Gravity Forms with ease using Google Analytics, Tag Manager, or Matomo (formerly Piwik).
|
6 |
+
* Version: 2.3.10
|
7 |
* Author: Ronald Huereca
|
8 |
* Author URI: https://mediaron.com
|
9 |
* Text Domain: gravity-forms-google-analytics-event-tracking
|
includes/GFGAET_Partial_Entries.php
CHANGED
@@ -63,6 +63,9 @@ class GFGAET_Partial_Entries extends GFAddOn {
|
|
63 |
|
64 |
// Get defaults
|
65 |
$value = $gform_values['value'];
|
|
|
|
|
|
|
66 |
$label = strtolower( 'label: ' . $gform_values['label'] ) . " EntryID: {$partial_entry['id']}";
|
67 |
|
68 |
// Get category/action/label
|
63 |
|
64 |
// Get defaults
|
65 |
$value = $gform_values['value'];
|
66 |
+
if ( empty( $value ) ) {
|
67 |
+
continue;
|
68 |
+
}
|
69 |
$label = strtolower( 'label: ' . $gform_values['label'] ) . " EntryID: {$partial_entry['id']}";
|
70 |
|
71 |
// Get category/action/label
|