WooCommerce Google Analytics Integration - Version 1.4.2

Version Description

  • 09/05/2017 =
  • Fix - Missing Google Analytics ID.
Download this release

Release Info

Developer bor0
Plugin Icon 128x128 WooCommerce Google Analytics Integration
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

includes/class-wc-google-analytics-js.php CHANGED
@@ -230,7 +230,8 @@ class WC_Google_Analytics_JS {
230
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
231
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
232
  })(window,document,'script','//www.google-analytics.com/analytics.js','" . self::tracker_var() . "');";
233
-
 
234
  $ga_snippet_create = self::tracker_var() . "( 'create', '" . esc_js( $ga_id ) . "', '" . $set_domain_name . "' );";
235
 
236
  $ga_snippet_require =
230
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
231
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
232
  })(window,document,'script','//www.google-analytics.com/analytics.js','" . self::tracker_var() . "');";
233
+
234
+ $ga_id = self::get( 'ga_id' );
235
  $ga_snippet_create = self::tracker_var() . "( 'create', '" . esc_js( $ga_id ) . "', '" . $set_domain_name . "' );";
236
 
237
  $ga_snippet_require =
package.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "name": "woocommerce-google-analytics-integration",
3
  "title": "WooCommerce Google Analytics Integration",
4
- "version": "1.4.1",
5
  "homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
6
  "repository": {
7
  "type": "git",
1
  {
2
  "name": "woocommerce-google-analytics-integration",
3
  "title": "WooCommerce Google Analytics Integration",
4
+ "version": "1.4.2",
5
  "homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
6
  "repository": {
7
  "type": "git",
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: woothemes, claudiosanches, bor0
3
  Tags: woocommerce, google analytics
4
  Requires at least: 3.8
5
  Tested up to: 4.5.2
6
- Stable tag: 1.4.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -64,6 +64,9 @@ Exact wording depends on the national data privacy laws and should be adjusted.
64
 
65
  == Changelog ==
66
 
 
 
 
67
  = 1.4.1 - 01/05/2017 =
68
 
69
  * Add - Filters for GA snippet (woocommerce_ga_snippet_head, woocommerce_ga_snippet_create, woocommerce_ga_snippet_require, woocommerce_ga_snippet_output)
3
  Tags: woocommerce, google analytics
4
  Requires at least: 3.8
5
  Tested up to: 4.5.2
6
+ Stable tag: 1.4.2
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
64
 
65
  == Changelog ==
66
 
67
+ = 1.4.2 - 09/05/2017 =
68
+ * Fix - Missing Google Analytics ID.
69
+
70
  = 1.4.1 - 01/05/2017 =
71
 
72
  * Add - Filters for GA snippet (woocommerce_ga_snippet_head, woocommerce_ga_snippet_create, woocommerce_ga_snippet_require, woocommerce_ga_snippet_output)
woocommerce-google-analytics-integration.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com
8
- * Version: 1.4.1
9
  * License: GPLv2 or later
10
  * Text Domain: woocommerce-google-analytics-integration
11
  * Domain Path: languages/
@@ -27,7 +27,7 @@ class WC_Google_Analytics_Integration {
27
  *
28
  * @var string
29
  */
30
- const VERSION = '1.4.1';
31
 
32
  /**
33
  * Instance of this class.
5
  * Description: Allows Google Analytics tracking code to be inserted into WooCommerce store pages.
6
  * Author: WooCommerce
7
  * Author URI: https://woocommerce.com
8
+ * Version: 1.4.2
9
  * License: GPLv2 or later
10
  * Text Domain: woocommerce-google-analytics-integration
11
  * Domain Path: languages/
27
  *
28
  * @var string
29
  */
30
+ const VERSION = '1.4.2';
31
 
32
  /**
33
  * Instance of this class.