Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 2.0.1

Version Description

  • 24/04/2018 =
    • Minor Bug Fixes & Optimization.
Download this release

Release Info

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

Code changes from version 2.0.0 to 2.0.1

includes/aga_woo_1000_200.png DELETED
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 = '2.0.0';
22
  public function __construct() {
23
 
24
  //Set Global Variables
@@ -31,7 +31,10 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
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
 
 
 
35
  $_SESSION['t_npcnt']=0;
36
  $_SESSION['t_fpcnt']=0;
37
  // Load the integration form
@@ -253,7 +256,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
253
  "ga_ST" => array(
254
  "title" => __("Tracking code", "woocommerce"),
255
  "label" => __("Add Global Site Tracking Code 'gtag.js' (Optional)", "woocommerce"),
256
- "description" => sprintf(__("This feature adds New gtag.js Tracking Code to your Store. You don't need to enable this if using a 3rd party analytics plugin.", "woocommerce")),
257
  "type" => "checkbox",
258
  "checkboxgroup" => "start",
259
  "desc_tip" => true,
18
  * @return void
19
  */
20
  //set plugin version
21
+ public $tvc_eeVer = '2.0.1';
22
  public function __construct() {
23
 
24
  //Set Global Variables
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 inserted bcoz it gives warning
35
+ if (session_status() == PHP_SESSION_NONE) {
36
+ session_start();
37
+ }
38
  $_SESSION['t_npcnt']=0;
39
  $_SESSION['t_fpcnt']=0;
40
  // Load the integration form
256
  "ga_ST" => array(
257
  "title" => __("Tracking code", "woocommerce"),
258
  "label" => __("Add Global Site Tracking Code 'gtag.js' (Optional)", "woocommerce"),
259
+ "description" => sprintf(__("This feature adds New gtag.js Tracking Code to your Store. You don't need to enable this if gtag.js implemented via a 3rd party analytics plugin.", "woocommerce")),
260
  "type" => "checkbox",
261
  "checkboxgroup" => "start",
262
  "desc_tip" => true,
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: 4.9
10
- Stable tag: 2.0.0
11
- Version: 2.0.0
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
@@ -110,9 +110,9 @@ Reason :
110
 
111
  Yes our plugin supports new Global Site Tag (gtag.js).
112
 
113
- = Since I have Implemented Old GA Script (UA Script) Manually in my store, I didn't enable Add Global site Tracking Code option, but seems that it is not working. =
114
 
115
- When you have the Old UA script implemented Manually in your store, it is not working with our plugin
116
 
117
  Reason :
118
 
@@ -161,7 +161,7 @@ Our plugin does not support Multilingual Wordpress site.
161
 
162
  = Does your plugin supports Child/Custom Theme? =
163
 
164
- The free version of our plugin is not fully compatible with the child/custom theme. Request you to go through the <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">premium version</a> of our plugin which is fully compatible with the child/custom theme. We are not providing any kind of support for Child/Custom Theme. For more information kindly contact us at analytics2(at)tatvic(dot)com.
165
 
166
  = Have you Provided Full support for the free version plugin? =
167
 
@@ -282,4 +282,7 @@ Important Note: When you update the plugin, please save your settings again.
282
  = 2.0.0 - 07/03/2018 =
283
  * New Implementation with Global Site Tag (gtag.js)
284
  * gtag.js supported
 
 
 
285
  * Minor Bug Fixes & Optimization.
7
  Author: Tatvic
8
  Requires at least: 3.6
9
  Tested up to: 4.9
10
+ Stable tag: 2.0.1
11
+ Version: 2.0.1
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
110
 
111
  Yes our plugin supports new Global Site Tag (gtag.js).
112
 
113
+ = Since I have Implemented Old GA Script (UA Script) Manually in my store, I didn't enable Add Global site Tracking Code option gtag.js, but seems that it is not working. =
114
 
115
+ When you have the Old UA script implemented Manually in your store, it is not working with our plugin.
116
 
117
  Reason :
118
 
161
 
162
  = Does your plugin supports Child/Custom Theme? =
163
 
164
+ The free version of our plugin is not fully compatible with the child/custom theme. Request you to go through the <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">premium version</a> of our plugin which is fully compatible with the child/custom theme. We are not providing any kind of support for Child/Custom Theme in the Free version of our plugin. For more information kindly contact us at analytics2(at)tatvic(dot)com.
165
 
166
  = Have you Provided Full support for the free version plugin? =
167
 
282
  = 2.0.0 - 07/03/2018 =
283
  * New Implementation with Global Site Tag (gtag.js)
284
  * gtag.js supported
285
+ * Minor Bug Fixes & Optimization.
286
+
287
+ = 2.0.1 - 24/04/2018 =
288
  * Minor Bug Fixes & Optimization.
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: 2.0.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: 2.0.1
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly