Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 1.2.0.1

Version Description

  • 06/11/2017 =
    • Quick Bug Fixes.
Download this release

Release Info

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

Code changes from version 1.2.0 to 1.2.0.1

includes/aga_woo_1000_200.png CHANGED
Binary file
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.2.0';
22
  public function __construct() {
23
 
24
  //Set Global Variables
@@ -28,7 +28,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
28
  //define plugin ID
29
  $this->id = "enhanced_ecommerce_google_analytics";
30
  $this->method_title = __("Enhanced Ecommerce Google Analytics", "enhanced-e-commerce-for-woocommerce-store");
31
- $this->method_description = __("Enhanced Ecommerce is a new feature of Universal Analytics that generates detailed statistics about the users journey from product page to thank you page on your e-store. <br/><a href='http://www.tatvic.com/blog/enhanced-ecommerce/' target='_blank'>Know more about Enhanced Ecommerce.</a><br/><br/><b>Quick Tip:</b> We recently launched an Advanced Google Analytics Plugin for WooCommerce! The plugin offers tracking of 9 Reports of Enhanced Ecommerce, User ID Tracking, 15+ Custom Dimenensions & Metrics, Content Grouping & much more. <a href='https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic' target='_blank'>Learn More</a>", "woocommerce");
32
 
33
  //session for product position count
34
  //session_start removed bcoz it gives warning
@@ -423,7 +423,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
423
  //make json for trans data on order page
424
  $this->wc_version_compare("tvc_td=" . json_encode($orderpage_trans_Array) . ";");
425
 
426
- $code ='
427
  ga("require", "ec", "ec.js");
428
  //set local currencies
429
  ga("set", "&cu", tvc_lc);
18
  * @return void
19
  */
20
  //set plugin version
21
+ public $tvc_eeVer = '1.2.0.1';
22
  public function __construct() {
23
 
24
  //Set Global Variables
28
  //define plugin ID
29
  $this->id = "enhanced_ecommerce_google_analytics";
30
  $this->method_title = __("Enhanced Ecommerce Google Analytics", "enhanced-e-commerce-for-woocommerce-store");
31
+ $this->method_description = __("Enhanced Ecommerce is a new feature of Universal Analytics that generates detailed statistics about the users journey from product page to thank you page on your e-store. <br/><a href='http://www.tatvic.com/blog/enhanced-ecommerce/' target='_blank'>Know more about Enhanced Ecommerce.</a><br/><br/><b>Quick Tip:</b> We also have an Advanced Google Analytics Plugin for WooCommerce! The plugin offers tracking of 9 Reports of Enhanced Ecommerce, User ID Tracking, Add Google Optimize Snippet, 15+ Custom Dimenensions & Metrics, Content Grouping & much more. <a href='https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic' target='_blank'>Learn More</a>", "woocommerce");
32
 
33
  //session for product position count
34
  //session_start removed bcoz it gives warning
423
  //make json for trans data on order page
424
  $this->wc_version_compare("tvc_td=" . json_encode($orderpage_trans_Array) . ";");
425
 
426
+ $code='
427
  ga("require", "ec", "ec.js");
428
  //set local currencies
429
  ga("set", "&cu", tvc_lc);
includes/woo_plugin_promotion.png DELETED
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.8
10
- Stable tag: 1.2.0
11
- Version: 1.2.0
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
@@ -111,6 +111,16 @@ Reason :
111
 
112
  You can Find all The Enhanced Ecommerce Reports in your Analytics Account under Conversions --> Ecommerce.
113
 
 
 
 
 
 
 
 
 
 
 
114
  = Products with variant not getting recorded in GA =
115
 
116
  Currently our plugin does not support products with variant & hence you may not see their transaction data in GA. This feature is only available with the <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">premium version</a> of our plugin.
@@ -243,4 +253,7 @@ Important Note: When you update the plugin, please save your settings again.
243
 
244
  = 1.2.0 - 17/10/2017 =
245
  * Compatibility with Woocommerce 3.2
246
- * Minor Bug Fixes & Optimization.
 
 
 
6
  Author URI: http://www.tatvic.com/
7
  Author: Tatvic
8
  Requires at least: 3.6
9
+ Tested up to: 4.9
10
+ Stable tag: 1.2.0.1
11
+ Version: 1.2.0.1
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
111
 
112
  You can Find all The Enhanced Ecommerce Reports in your Analytics Account under Conversions --> Ecommerce.
113
 
114
+ = Since I have Implemented "gtag.js", I didn't enable Add Universal Analytics Tracking Code option, but seems that it is not working. =
115
+
116
+ Reason :
117
+
118
+ * Our Plugin’s script works/fetches the data based on the GA’s default tracker (‘ga’ in the case of Universal Analytics script used in our plugin). While you implement the UA tracking script from gtag.js, the script in your store may not be able to initialize the tracker, which in turn will hinder the plugin from populating insights in your Analytics account.
119
+
120
+ Solution:
121
+
122
+ * Remove "gtag.js" since some functionality of analytics.js is still not available in it (we’ll include it soon).
123
+
124
  = Products with variant not getting recorded in GA =
125
 
126
  Currently our plugin does not support products with variant & hence you may not see their transaction data in GA. This feature is only available with the <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">premium version</a> of our plugin.
253
 
254
  = 1.2.0 - 17/10/2017 =
255
  * Compatibility with Woocommerce 3.2
256
+ * Minor Bug Fixes & Optimization.
257
+
258
+ = 1.2.0.1 - 06/11/2017 =
259
+ * Quick Bug Fixes.
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.2.0
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.2.0.1
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly