WP Google Analytics Events - Version 2.5.1

Version Description

Download this release

Release Info

Developer yuvalo
Plugin Icon 128x128 WP Google Analytics Events
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5.0 to 2.5.1

Files changed (3) hide show
  1. ga-scroll-event.php +2 -2
  2. js/ga-scroll-events.js +2 -2
  3. readme.txt +4 -1
ga-scroll-event.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Google Analytics Events
4
  Plugin URI: http://wpflow.com
5
  Description: Adds the Google Analytics code to your website and enables you to send events on scroll or click.
6
- Version: 2.5.0
7
  Author: Yuval Oren
8
  Author URI: http://wpflow.com
9
  License: GPLv2
@@ -84,7 +84,7 @@ add_action('init','ga_events_scripts');
84
 
85
  function ga_events_scripts() {
86
  wp_enqueue_script('jquery');
87
- wp_enqueue_script('scrolldepth',plugins_url( '/js/ga-scroll-events.js', __FILE__) , array('jquery'), '2.5.0', false);
88
  }
89
 
90
  add_action( 'plugins_loaded', 'ga_events_setup');
3
  Plugin Name: WP Google Analytics Events
4
  Plugin URI: http://wpflow.com
5
  Description: Adds the Google Analytics code to your website and enables you to send events on scroll or click.
6
+ Version: 2.5.1
7
  Author: Yuval Oren
8
  Author URI: http://wpflow.com
9
  License: GPLv2
84
 
85
  function ga_events_scripts() {
86
  wp_enqueue_script('jquery');
87
+ wp_enqueue_script('scrolldepth',plugins_url( '/js/ga-scroll-events.js', __FILE__) , array('jquery'), '2.5.1', false);
88
  }
89
 
90
  add_action( 'plugins_loaded', 'ga_events_setup');
js/ga-scroll-events.js CHANGED
@@ -1,5 +1,5 @@
1
  /*!
2
- * WP Googel Analytics Events | v2.5.0
3
  * Copyright (c) 2013 Yuval Oren (@yuvalo)
4
  * License: GPLv2
5
  */
@@ -21,7 +21,7 @@ var scroll_events = (function ($) {
21
  var event_category = !category ? '' : category;
22
  var event_action = !action ? '' : action;
23
  var event_label = !label ? '' : label;
24
- var event_bounce = !bounce ? false : bounce;
25
  var event_value = !evalue ? false : evalue;
26
 
27
  if( typeof ga_element === "undefined" ){
1
  /*!
2
+ * WP Googel Analytics Events | v2.5.1
3
  * Copyright (c) 2013 Yuval Oren (@yuvalo)
4
  * License: GPLv2
5
  */
21
  var event_category = !category ? '' : category;
22
  var event_action = !action ? '' : action;
23
  var event_label = !label ? '' : label;
24
+ var event_bounce = bounce === "true" ? true : false;
25
  var event_value = !evalue ? false : evalue;
26
 
27
  if( typeof ga_element === "undefined" ){
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: yuvalo
3
  Tags: analytics, google, events, ga, google analytics, tracking
4
  Tested up to: 4.8.2
5
- Stable tag: 2.5.0
6
  License: GPLv2
7
  Requires at least: 3.0
8
 
@@ -91,6 +91,9 @@ If you are looking for more in-depth support, we encourage you to check out [WP
91
  2. Google Analytics real time events screenshot-2.png
92
  == Changelog ==
93
 
 
 
 
94
  = Version 2.5.0 =
95
  1. Added support for Global Site Tags - The new tracking code from Google Analytics
96
 
2
  Contributors: yuvalo
3
  Tags: analytics, google, events, ga, google analytics, tracking
4
  Tested up to: 4.8.2
5
+ Stable tag: 2.5.1
6
  License: GPLv2
7
  Requires at least: 3.0
8
 
91
  2. Google Analytics real time events screenshot-2.png
92
  == Changelog ==
93
 
94
+ = Version 2.5.1 =
95
+ 1. Fixed an issue with the none-interaction field
96
+
97
  = Version 2.5.0 =
98
  1. Added support for Global Site Tags - The new tracking code from Google Analytics
99