Event Tracking for Gravity Forms - Version 2.4.8

Version Description

  • Released 2021-07-29
  • When a feed is successful, it'll show up under the Form entry notes.
Download this release

Release Info

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

Code changes from version 2.4.6 to 2.4.8

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: 5.5
5
  Tested up to: 5.8
6
- Stable tag: 2.4.6
7
  Requires PHP: 5.6
8
  Donate link: https://github.com/mediaron
9
  License: GPLv2 or later
@@ -129,6 +129,10 @@ Check out the documentation on [github](https://github.com/ronalfy/wordpress-gra
129
 
130
  == Changelog ==
131
 
 
 
 
 
132
  = 2.4.6 =
133
  * Released 2021-07-26
134
  * Fixing SVG width/height in Safari.
@@ -329,5 +333,5 @@ Check out the documentation on [github](https://github.com/ronalfy/wordpress-gra
329
 
330
  == Upgrade Notice ==
331
 
332
- = 2.4.6 =
333
- Safari style fixes. Adding payment deferred to payment gateways.
3
  Tags: gravity forms, google analytics, google tag manager, matomo, piwik, event tracking
4
  Requires at least: 5.5
5
  Tested up to: 5.8
6
+ Stable tag: 2.4.8
7
  Requires PHP: 5.6
8
  Donate link: https://github.com/mediaron
9
  License: GPLv2 or later
129
 
130
  == Changelog ==
131
 
132
+ = 2.4.8 =
133
+ * Released 2021-07-29
134
+ * When a feed is successful, it'll show up under the Form entry notes.
135
+
136
  = 2.4.6 =
137
  * Released 2021-07-26
138
  * Fixing SVG width/height in Safari.
333
 
334
  == Upgrade Notice ==
335
 
336
+ = 2.4.8 =
337
+ When a feed is successful, it'll show up under the Form entry notes.
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
6
- * Version: 2.4.6
7
  * Author: Ronald Huereca
8
  * Author URI: https://mediaron.com
9
  * Text Domain: gravity-forms-google-analytics-event-tracking
@@ -19,7 +19,7 @@ if ( ! defined( 'WPINC' ) ) {
19
  }
20
 
21
  define( 'GFGAET_MIN_GFORMS_VERSION', '2.2.0' );
22
- define( 'GFGAET_VERSION', '2.4.6' );
23
  define( 'GFGAET_FILE', __FILE__ );
24
 
25
  class GFGAET {
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
6
+ * Version: 2.4.8
7
  * Author: Ronald Huereca
8
  * Author URI: https://mediaron.com
9
  * Text Domain: gravity-forms-google-analytics-event-tracking
19
  }
20
 
21
  define( 'GFGAET_MIN_GFORMS_VERSION', '2.2.0' );
22
+ define( 'GFGAET_VERSION', '2.4.8' );
23
  define( 'GFGAET_FILE', __FILE__ );
24
 
25
  class GFGAET {
includes/GFGAET_Submission_Feeds.php CHANGED
@@ -852,6 +852,7 @@ gtag('config', '<?php echo esc_js( $ga_code ); ?>');
852
  ?>
853
  </script>
854
  <?php
 
855
  return;
856
  } elseif ( GFGAET::is_gtm_only() ) {
857
  ?>
@@ -886,6 +887,7 @@ gtag('config', '<?php echo esc_js( $ga_code ); ?>');
886
  }
887
  </script>
888
  <?php
 
889
  return;
890
  } else {
891
  // Push out the event to each UA code
@@ -893,6 +895,7 @@ gtag('config', '<?php echo esc_js( $ga_code ); ?>');
893
  // Submit the event
894
  $event->send( $ua_code );
895
  }
 
896
  }
897
 
898
  }
852
  ?>
853
  </script>
854
  <?php
855
+ $this->add_note( $entry['id'], __( 'An event has been sent using Google Analytics.', 'gravity-forms-google-analytics-event-tracking' ), 'success' );
856
  return;
857
  } elseif ( GFGAET::is_gtm_only() ) {
858
  ?>
887
  }
888
  </script>
889
  <?php
890
+ $this->add_note( $entry['id'], __( 'An event has been sent using Google Google Tag Manager.', 'gravity-forms-google-analytics-event-tracking' ), 'success' );
891
  return;
892
  } else {
893
  // Push out the event to each UA code
895
  // Submit the event
896
  $event->send( $ua_code );
897
  }
898
+ $this->add_note( $entry['id'], __( 'An event has been sent using the Google Analytics Measurement Protocol.', 'gravity-forms-google-analytics-event-tracking' ), 'success' );
899
  }
900
 
901
  }