WooCommerce Google Analytics Integration - Version 1.4.11

Version Description

  • 2019-08-02 =
  • Add - Filter to bypass "send pageview" for users whom want to use separate standard GA. wc_goole_analytics_send_pageview.
  • Fix - Revert last release due to it causing ecommerce tracking to be disabled when standard tracking is disabled.
Download this release

Release Info

Developer royho
Plugin Icon 128x128 WooCommerce Google Analytics Integration
Version 1.4.11
Comparing to
See all releases

Code changes from version 1.4.10 to 1.4.11

changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
*** Changelog ***
2
3
= 1.4.10 - 2019-07-10 =
4
* Fix - Ensure universal analytics pageview doesn’t occur if standard tracking is disabled.
5
1
*** Changelog ***
2
3
+ = 1.4.11 - 2019-08-02 =
4
+ * Add - Filter to bypass "send pageview" for users whom want to use separate standard GA. `wc_goole_analytics_send_pageview`.
5
+ * Fix - Revert last release due to it causing ecommerce tracking to be disabled when standard tracking is disabled.
6
+
7
= 1.4.10 - 2019-07-10 =
8
* Fix - Ensure universal analytics pageview doesn’t occur if standard tracking is disabled.
9
includes/class-wc-google-analytics-js.php CHANGED
@@ -197,7 +197,7 @@ class WC_Google_Analytics_JS {
197
* Sends the pageview last thing (needed for things like addImpression)
198
*/
199
public static function universal_analytics_footer() {
200
- if ( 'yes' === self::get( 'ga_standard_tracking_enabled' ) ) {
201
wc_enqueue_js( "" . self::tracker_var() . "( 'send', 'pageview' ); " );
202
}
203
}
197
* Sends the pageview last thing (needed for things like addImpression)
198
*/
199
public static function universal_analytics_footer() {
200
+ if ( apply_filters( 'wc_goole_analytics_send_pageview', true ) ) {
201
wc_enqueue_js( "" . self::tracker_var() . "( 'send', 'pageview' ); " );
202
}
203
}
languages/woocommerce-google-analytics-integration.pot CHANGED
@@ -2,11 +2,11 @@
2
# This file is distributed under the GPLv2 or later.
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: WooCommerce Google Analytics Integration 1.4.10\n"
6
"Report-Msgid-Bugs-To: "
7
"https://github.com/woocommerce/woocommerce-google-analytics-integration/"
8
"issues\n"
9
- "POT-Creation-Date: 2019-07-10 20:15:32+00:00\n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=utf-8\n"
12
"Content-Transfer-Encoding: 8bit\n"
2
# This file is distributed under the GPLv2 or later.
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: WooCommerce Google Analytics Integration 1.4.11\n"
6
"Report-Msgid-Bugs-To: "
7
"https://github.com/woocommerce/woocommerce-google-analytics-integration/"
8
"issues\n"
9
+ "POT-Creation-Date: 2019-08-01 16:09:33+00:00\n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=utf-8\n"
12
"Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
Contributors: woocommerce, claudiosanches, bor0, royho, laurendavissmith001, c-shultz
3
Tags: woocommerce, google analytics
4
Requires at least: 3.8
5
- Tested up to: 5.1
6
- Stable tag: 1.4.10
7
License: GPLv3
8
License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
@@ -68,6 +68,10 @@ Exact wording depends on the national data privacy laws and should be adjusted.
68
69
== Changelog ==
70
71
= 1.4.10 - 2019-07-10 =
72
* Fix - Ensure universal analytics pageview doesn’t occur if standard tracking is disabled.
73
2
Contributors: woocommerce, claudiosanches, bor0, royho, laurendavissmith001, c-shultz
3
Tags: woocommerce, google analytics
4
Requires at least: 3.8
5
+ Tested up to: 5.2
6
+ Stable tag: 1.4.11
7
License: GPLv3
8
License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
68
69
== Changelog ==
70
71
+ = 1.4.11 - 2019-08-02 =
72
+ * Add - Filter to bypass "send pageview" for users whom want to use separate standard GA. `wc_goole_analytics_send_pageview`.
73
+ * Fix - Revert last release due to it causing ecommerce tracking to be disabled when standard tracking is disabled.
74
+
75
= 1.4.10 - 2019-07-10 =
76
* Fix - Ensure universal analytics pageview doesn’t occur if standard tracking is disabled.
77
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.10
9
* WC requires at least: 2.1
10
* WC tested up to: 3.6
11
* License: GPLv2 or later
@@ -29,7 +29,7 @@ if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
29
*
30
* @var string
31
*/
32
- const VERSION = '1.4.10';
33
34
/**
35
* 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.11
9
* WC requires at least: 2.1
10
* WC tested up to: 3.6
11
* License: GPLv2 or later
29
*
30
* @var string
31
*/
32
+ const VERSION = '1.4.11';
33
34
/**
35
* Instance of this class.