Event Tracking for Gravity Forms - Version 2.0.1

Version Description

  • Released 2016-09-23
  • Bug fix: Google Tag Manager had an extra "s" in the action dataLayer variable.
Download this release

Release Info

Developer ronalfy
Plugin Icon 128x128 Event Tracking for Gravity Forms
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.1

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: nmarks, ronalfy, bigwing
3
  Tags: gravity forms, google analytics, google tag manager, event tracking
4
  Requires at least:4.0
5
  Tested up to: 4.6
6
- Stable tag: 2.0.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -98,6 +98,10 @@ Check out the documentation on [github](https://github.com/ronalfy/wordpress-gra
98
 
99
  == Changelog ==
100
 
 
 
 
 
101
  = 2.0.0 =
102
  * Released 2016-09-22
103
  * Enhancement: Can track pagination events
@@ -187,7 +191,7 @@ Check out the documentation on [github](https://github.com/ronalfy/wordpress-gra
187
 
188
  == Upgrade Notice ==
189
 
190
- = 2.0.0 =
191
  Numerous enhancements, including pagination tracking. See the Changelog for more information.
192
 
193
  = 1.7.3 =
3
  Tags: gravity forms, google analytics, google tag manager, event tracking
4
  Requires at least:4.0
5
  Tested up to: 4.6
6
+ Stable tag: 2.0.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
98
 
99
  == Changelog ==
100
 
101
+ = 2.0.1 =
102
+ * Released 2016-09-23
103
+ * Bug fix: Google Tag Manager had an extra "s" in the action dataLayer variable.
104
+
105
  = 2.0.0 =
106
  * Released 2016-09-22
107
  * Enhancement: Can track pagination events
191
 
192
  == Upgrade Notice ==
193
 
194
+ = 2.0.1 =
195
  Numerous enhancements, including pagination tracking. See the Changelog for more information.
196
 
197
  = 1.7.3 =
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 Google Analytics event tracking to your Gravity Forms with ease.
6
- * Version: 2.0.0
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 Google Analytics event tracking to your Gravity Forms with ease.
6
+ * Version: 2.0.1
7
  * Author: Ronald Huereca
8
  * Author URI: https://mediaron.com
9
  * Text Domain: gravity-forms-google-analytics-event-tracking
includes/GFGAET_Pagination.php CHANGED
@@ -128,7 +128,7 @@ class GFGAET_Pagination {
128
  if ( typeof( window.parent.dataLayer ) != 'undefined' ) {
129
  window.parent.dataLayer.push({'event': 'GFTrackEvent',
130
  'GFTrackCategory':'<?php echo esc_js( $event_category ); ?>',
131
- 'GFTrackAction':'<?php echo esc_js( $event_action ); ?>s',
132
  'GFTrackLabel':'<?php echo esc_js( $event_label ); ?>'
133
  });
134
  }
128
  if ( typeof( window.parent.dataLayer ) != 'undefined' ) {
129
  window.parent.dataLayer.push({'event': 'GFTrackEvent',
130
  'GFTrackCategory':'<?php echo esc_js( $event_category ); ?>',
131
+ 'GFTrackAction':'<?php echo esc_js( $event_action ); ?>',
132
  'GFTrackLabel':'<?php echo esc_js( $event_label ); ?>'
133
  });
134
  }
includes/GFGAET_Submission_Feeds.php CHANGED
@@ -390,7 +390,7 @@ class GFGAET_Submission_Feeds extends GFFeedAddOn {
390
  if ( typeof( window.parent.dataLayer ) != 'undefined' ) {
391
  window.parent.dataLayer.push({'event': 'GFTrackEvent',
392
  'GFTrackCategory':'<?php echo esc_js( $event_category ); ?>',
393
- 'GFTrackAction':'<?php echo esc_js( $event_action ); ?>s',
394
  'GFTrackLabel':'<?php echo esc_js( $event_label ); ?>',
395
  'GFEntryData':<?php echo json_encode( $entry ); ?>
396
  });
390
  if ( typeof( window.parent.dataLayer ) != 'undefined' ) {
391
  window.parent.dataLayer.push({'event': 'GFTrackEvent',
392
  'GFTrackCategory':'<?php echo esc_js( $event_category ); ?>',
393
+ 'GFTrackAction':'<?php echo esc_js( $event_action ); ?>',
394
  'GFTrackLabel':'<?php echo esc_js( $event_label ); ?>',
395
  'GFEntryData':<?php echo json_encode( $entry ); ?>
396
  });