Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 1.2.1

Version Description

  • 12/12/2017 =
    • Improvisation for Product Page
    • Minor Bug Fixes
Download this release

Release Info

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

Code changes from version 1.2.0.1 to 1.2.1

includes/aga_premium.gif ADDED
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.1';
22
  public function __construct() {
23
 
24
  //Set Global Variables
@@ -157,7 +157,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
157
  });
158
 
159
  //Pugin Promotion
160
- 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( '/aga_woo_1000_200.png' , __FILE__ ).' title=Actionable Google Analytics Plugin by Tatvic alt=Actionable Google Analytics Plugin by Tatvic></a>");
161
  jQuery("form#mainform").after("<a href=https://www.tatvic.com/contact/?utm_source=woocommerce_ee_plugin&utm_medium=wordpress_admin&utm_campaign=plugin_promotion target=_blank><img src='.plugins_url( '/owox_banner_700_150.png' , __FILE__ ).' title=Owox Banner Ad alt=Owox Banner Ad></a>");
162
  </script>';
163
  }
@@ -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);
@@ -483,7 +483,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
483
  $code = '
484
  ga("require", "ec", "ec.js");
485
  ga("set", "&cu", tvc_lc);
486
- jQuery("button[class*=single_add_to_cart_button]").click(function() {
487
 
488
  // Enhanced E-commerce Add to cart clicks
489
  ga("ec:addProduct", {
18
  * @return void
19
  */
20
  //set plugin version
21
+ public $tvc_eeVer = '1.2.1';
22
  public function __construct() {
23
 
24
  //Set Global Variables
157
  });
158
 
159
  //Pugin Promotion
160
+ 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( '/aga_premium.gif' , __FILE__ ).' title=Actionable Google Analytics Plugin by Tatvic alt=Actionable Google Analytics Plugin by Tatvic></a>");
161
  jQuery("form#mainform").after("<a href=https://www.tatvic.com/contact/?utm_source=woocommerce_ee_plugin&utm_medium=wordpress_admin&utm_campaign=plugin_promotion target=_blank><img src='.plugins_url( '/owox_banner_700_150.png' , __FILE__ ).' title=Owox Banner Ad alt=Owox Banner Ad></a>");
162
  </script>';
163
  }
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);
483
  $code = '
484
  ga("require", "ec", "ec.js");
485
  ga("set", "&cu", tvc_lc);
486
+ jQuery("[class*=single_add_to_cart_button]").click(function() {
487
 
488
  // Enhanced E-commerce Add to cart clicks
489
  ga("ec:addProduct", {
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: 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
 
@@ -58,7 +58,7 @@ We have recently launched an Advanced Google Analytics Plugin for WooCommerce wh
58
  * Product types other than Simple Product
59
  * Store with the Subscription product for Orders.
60
  * Ecommerce Pages with Shortcodes
61
- * For the Child theme support; kindly contact us at analytics2(at)tatvic(dot)com
62
 
63
  == Installation ==
64
  1. Download the plugin file to your computer and unzip it
@@ -111,16 +111,6 @@ Reason :
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.
@@ -151,7 +141,7 @@ Configuring goals are out of the scope of our plugin. Our plugin is designed to
151
 
152
  = Does your Plugin support Product Refund? =
153
 
154
- Our existing plugin does not track product refund data, however you can buy our <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">paid plugin</a> to get access to product Refund data
155
 
156
  = Does your plugin supports Multilingual Wordpress site? =
157
 
@@ -159,7 +149,7 @@ Our plugin does not support Multilingual Wordpress site.
159
 
160
  = Does your plugin supports Child/Custom Theme? =
161
 
162
- For the Child/Custom theme support; kindly contact us at analytics2(at)tatvic(dot)com.
163
 
164
  = How to verify if you have implemented the Plugin well? =
165
 
@@ -255,5 +245,9 @@ Important Note: When you update the plugin, please save your settings again.
255
  * Compatibility with Woocommerce 3.2
256
  * Minor Bug Fixes & Optimization.
257
 
258
- = 1.2.0.1 - 06/11/2017 =
259
- * Quick Bug Fixes.
 
 
 
 
7
  Author: Tatvic
8
  Requires at least: 3.6
9
  Tested up to: 4.9
10
+ Stable tag: 1.2.1
11
+ Version: 1.2.1
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
58
  * Product types other than Simple Product
59
  * Store with the Subscription product for Orders.
60
  * Ecommerce Pages with Shortcodes
61
+ * Not fully compatible with the child/custom Theme
62
 
63
  == Installation ==
64
  1. Download the plugin file to your computer and unzip it
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.
141
 
142
  = Does your Plugin support Product Refund? =
143
 
144
+ Our existing plugin does not track product refund data, however you can buy our <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">premium plugin</a> to get access to product Refund data
145
 
146
  = Does your plugin supports Multilingual Wordpress site? =
147
 
149
 
150
  = Does your plugin supports Child/Custom Theme? =
151
 
152
+ 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. For more information kindly contact us at analytics2(at)tatvic(dot)com.
153
 
154
  = How to verify if you have implemented the Plugin well? =
155
 
245
  * Compatibility with Woocommerce 3.2
246
  * Minor Bug Fixes & Optimization.
247
 
248
+ = 1.2.0.1 - 06/11/2017 =
249
+ * Quick Bug Fixes.
250
+
251
+ = 1.2.1 - 12/12/2017 =
252
+ * Improvisation for Product Page
253
+ * Minor 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.1
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly
@@ -54,7 +54,7 @@ function tvc_ee_plugin_action_links($links) {
54
  $links[] = '<a href="' . get_admin_url(null, $setting_url) . '">Settings</a>';
55
  $links[] = '<a href="https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/faq/" target="_blank">FAQ</a>';
56
  $links[] = '<a href="http://plugins.tatvic.com/downloads/EE-Woocommerce-Plugin-Documentation.pdf" target="_blank">Documentation</a>';
57
- $links[] = '<b><a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">Upgrade to Premium</a></b>';
58
  return $links;
59
  }
60
  ?>
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.1
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly
54
  $links[] = '<a href="' . get_admin_url(null, $setting_url) . '">Settings</a>';
55
  $links[] = '<a href="https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/faq/" target="_blank">FAQ</a>';
56
  $links[] = '<a href="http://plugins.tatvic.com/downloads/EE-Woocommerce-Plugin-Documentation.pdf" target="_blank">Documentation</a>';
57
+ $links[] = '<b><a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">Upgrade to Premium at 25% Off Christmas sale</a></b>';
58
  return $links;
59
  }
60
  ?>