Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 1.0.21.1

Version Description

  • 13/07/2017 =
    • Minor Changes.
Download this release

Release Info

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

Code changes from version 1.0.21 to 1.0.21.1

includes/class-wc-enhanced-ecommerce-google-analytics-integration.php CHANGED
@@ -18,7 +18,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
18
  * @return void
19
  */
20
  //set plugin version
21
- public $tvc_eeVer = '1.0.21';
22
  public function __construct() {
23
 
24
  //Set Global Variables
@@ -156,7 +156,8 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
156
  });
157
 
158
  //Pugin Promotion
159
- jQuery("form#mainform").after("<a href=https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552 target=_blank><img src='.plugins_url( '/woo_plugin_promotion.png' , __FILE__ ).' title=Actionable Google Analytics Plugin by Tatvic alt=Actionable Google Analytics Plugin by Tatvic></a>");
 
160
  </script>';
161
  }
162
  }
@@ -526,6 +527,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
526
  */
527
  public function product_detail_view() {
528
 
 
529
  if ($this->disable_tracking($this->ga_eeT)) {
530
  return;
531
  }
@@ -567,7 +569,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
567
  $prodpage_detail_json = array();
568
  }
569
  //prod page detail view json
570
- $this->wc_version_compare("tvc_po=" . json_encode($prodpage_detail_json) . ";");
571
  $code = '
572
  ga("require", "ec", "ec.js");
573
  ga("ec:addProduct", {
@@ -734,7 +736,6 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
734
 
735
  );
736
  }
737
-
738
  }
739
  //category page, search page and shop page json
740
  else if (is_product_category() || is_search() || is_shop()) {
18
  * @return void
19
  */
20
  //set plugin version
21
+ public $tvc_eeVer = '1.0.21.1';
22
  public function __construct() {
23
 
24
  //Set Global Variables
156
  });
157
 
158
  //Pugin Promotion
159
+ jQuery("h1.screen-reader-text").before("<a href=https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic target=_blank><img src='.plugins_url( '/woo_plugin_promotion.png' , __FILE__ ).' title=Actionable Google Analytics Plugin by Tatvic alt=Actionable Google Analytics Plugin by Tatvic></a>");
160
+ jQuery("form#mainform").after("<a href=https://www.tatvic.com/contact/?utm_source=mage-uaee-owox&utm_medium=banner&utm_campaign=owox%20banner target=_blank><img src='.plugins_url( '/owox_banner_700_150.png' , __FILE__ ).' title=Owox Banner Ad alt=Owox Banner Ad></a>");
161
  </script>';
162
  }
163
  }
527
  */
528
  public function product_detail_view() {
529
 
530
+
531
  if ($this->disable_tracking($this->ga_eeT)) {
532
  return;
533
  }
569
  $prodpage_detail_json = array();
570
  }
571
  //prod page detail view json
572
+ $this->wc_version_compare("tvc_po=" . json_encode($prodpage_detail_json) . ";");
573
  $code = '
574
  ga("require", "ec", "ec.js");
575
  ga("ec:addProduct", {
736
 
737
  );
738
  }
 
739
  }
740
  //category page, search page and shop page json
741
  else if (is_product_category() || is_search() || is_shop()) {
includes/owox_banner_700_150.png ADDED
Binary file
readme.txt CHANGED
@@ -6,9 +6,9 @@ Tags: Google Analytics, Universal Analytics, Enhanced E-commerce, E-commerce, e-
6
  Author URI: http://www.tatvic.com/
7
  Author: Tatvic
8
  Requires at least: 3.6
9
- Tested up to: 4.7.x
10
- Stable tag: 1.0.21
11
- Version: 1.0.21
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
@@ -50,7 +50,7 @@ Provides integration between Enhanced Ecommerce feature of Google Analytics and
50
  * All the product sections on product page will be fired as Related Product and will be available in product list performance report.
51
 
52
  = Need an Advanced Google Analytics Plugin? =
53
- We have recently launched an Advanced Google Analytics Plugin for WooCommerce which includes tracking of 9 Reports of Enhanced Ecommerce, User ID Tracking, Product Refund, I.P. Anonymization, 15+ Custom Dimenensions & Metrics, Form Field Tracking, Content Grouping & much more. <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552" target="_blank">Learn More</a>
54
 
55
  == Note : ==
56
  == Our plugin does not support the below features out of the box ==
@@ -223,4 +223,7 @@ Important Note: When you update the plugin, please save your settings again.
223
  * Minor Bug Fixes.
224
 
225
  = 1.0.21 - 12/05/2017 =
226
- * Minor Bug Fixes.
 
 
 
6
  Author URI: http://www.tatvic.com/
7
  Author: Tatvic
8
  Requires at least: 3.6
9
+ Tested up to: 4.8
10
+ Stable tag: 1.0.21.1
11
+ Version: 1.0.21.1
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
50
  * All the product sections on product page will be fired as Related Product and will be available in product list performance report.
51
 
52
  = Need an Advanced Google Analytics Plugin? =
53
+ We have recently launched an Advanced Google Analytics Plugin for WooCommerce which includes tracking of 9 Reports of Enhanced Ecommerce, User ID Tracking, Product Refund, I.P. Anonymization, 15+ Custom Dimenensions & Metrics, Form Field Tracking, Content Grouping & much more. <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">Learn More</a>
54
 
55
  == Note : ==
56
  == Our plugin does not support the below features out of the box ==
223
  * Minor Bug Fixes.
224
 
225
  = 1.0.21 - 12/05/2017 =
226
+ * Minor Bug Fixes.
227
+
228
+ = 1.0.21.1 - 13/07/2017 =
229
+ * Minor Changes.
woocommerce-enhanced-ecommerce-google-analytics-integration.php CHANGED
@@ -21,7 +21,7 @@
21
  Description: Allows Enhanced E-commerce Google Analytics tracking code to be inserted into WooCommerce store pages.
22
  Author: Tatvic
23
  Author URI: http://www.tatvic.com
24
- Version: 1.0.21
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly
21
  Description: Allows Enhanced E-commerce Google Analytics tracking code to be inserted into WooCommerce store pages.
22
  Author: Tatvic
23
  Author URI: http://www.tatvic.com
24
+ Version: 1.0.21.1
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly