Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 1.0.4

Version Description

Download this release

Release Info

Developer Tatvic
Plugin Icon 128x128 Enhanced Ecommerce Google Analytics Plugin for WooCommerce
Version 1.0.4
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.4

includes/class-wc-enhanced-ecommerce-google-analytics-integration.php CHANGED
@@ -535,13 +535,13 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
535
  * @access public
536
  * @return void
537
  */
538
- public function default_pageview() {
539
  global $woocommerce;
540
- if ($this->disable_tracking($this->ga_enhanced_ecommerce_tracking_enabled) || $this->disable_tracking($this->ga_standard_tracking_enabled)) {
541
  return;
542
  }
543
 
544
- if ($this->disable_tracking($this->ga_standard_tracking_enabled) && $this->disable_tracking($this->ga_enhanced_ecommerce_tracking_enabled)) {
545
  $inline_js = "ga('send', 'event', 'Enhanced-Ecommerce', 'pageview', 'footer',{'nonInteraction': 1})";
546
  } else {
547
  $inline_js = "ga('send','pageview');";
535
  * @access public
536
  * @return void
537
  */
538
+ public function default_pageview() {
539
  global $woocommerce;
540
+ if ($this->disable_tracking($this->ga_enhanced_ecommerce_tracking_enabled)) {
541
  return;
542
  }
543
 
544
+ if (!$this->disable_tracking($this->ga_standard_tracking_enabled)) {
545
  $inline_js = "ga('send', 'event', 'Enhanced-Ecommerce', 'pageview', 'footer',{'nonInteraction': 1})";
546
  } else {
547
  $inline_js = "ga('send','pageview');";
readme.txt CHANGED
@@ -7,8 +7,8 @@ Author URI: http://www.tatvic.com/
7
  Author: Tatvic
8
  Requires at least: 3.6
9
  Tested up to: 3.8
10
- Stable tag: 1.0.3
11
- Version: 1.0
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
7
  Author: Tatvic
8
  Requires at least: 3.6
9
  Tested up to: 3.8
10
+ Stable tag: 1.0.4
11
+ Version: 1.0.4
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14