Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 2.1.3

Version Description

  • 17/10/2018 =
    • Fixed: Product name issue on Order Received Page
    • Fixed: Session Isssue
    • Minor Bug Fixes
Download this release

Release Info

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

Code changes from version 2.1.2 to 2.1.3

admin/class-enhanced-ecommerce-google-analytics-admin.php CHANGED
@@ -168,7 +168,7 @@ class Enhanced_Ecommerce_Google_Analytics_Admin {
168
  $setting_url = 'admin.php?page=enhanced-ecommerce-google-analytics-admin-display';
169
  ?>
170
  <div class="notice notice-warning is-dismissible">
171
- <p>It's Advisable to verify the <a href="<?php echo $setting_url; ?>" >Settings</a> after updating the plugin, </p>
172
  </div>
173
  <?php
174
  delete_transient( 'ee-admin-notice-activation' );
168
  $setting_url = 'admin.php?page=enhanced-ecommerce-google-analytics-admin-display';
169
  ?>
170
  <div class="notice notice-warning is-dismissible">
171
+ <p>Due to the major updates with the latest version, Kindly verify all the <a href="<?php echo $setting_url; ?>" >Settings</a> again.</p>
172
  </div>
173
  <?php
174
  delete_transient( 'ee-admin-notice-activation' );
enhanced-ecommerce-google-analytics.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Enhanced E-commerce for Woocommerce store
17
  * Plugin URI: https://www.tatvic.com/tatvic-labs/woocommerce-extension/
18
  * Description: Allows Enhanced E-commerce Google Analytics tracking code to be inserted into WooCommerce store pages.
19
- * Version: 2.1.2
20
  * Author: Tatvic
21
  * Author URI: tatvic.com
22
  * License: GPL-2.0+
@@ -37,7 +37,7 @@ if ( ! defined( 'WPINC' ) ) {
37
  * Start at version 1.0.0 and use SemVer - https://semver.org
38
  * Rename this for your plugin and update it as you release new versions.
39
  */
40
- define( 'PLUGIN_NAME_VERSION', '2.1.2' );
41
  /**
42
  * The code that runs during plugin activation.
43
  * This action is documented in includes/class-enhanced-ecommerce-google-analytics-activator.php
16
  * Plugin Name: Enhanced E-commerce for Woocommerce store
17
  * Plugin URI: https://www.tatvic.com/tatvic-labs/woocommerce-extension/
18
  * Description: Allows Enhanced E-commerce Google Analytics tracking code to be inserted into WooCommerce store pages.
19
+ * Version: 2.1.3
20
  * Author: Tatvic
21
  * Author URI: tatvic.com
22
  * License: GPL-2.0+
37
  * Start at version 1.0.0 and use SemVer - https://semver.org
38
  * Rename this for your plugin and update it as you release new versions.
39
  */
40
+ define( 'PLUGIN_NAME_VERSION', '2.1.3' );
41
  /**
42
  * The code that runs during plugin activation.
43
  * This action is documented in includes/class-enhanced-ecommerce-google-analytics-activator.php
includes/class-enhanced-ecommerce-google-analytics-i18n.php CHANGED
@@ -22,7 +22,7 @@
22
  * @since 1.0.0
23
  * @package Enhanced_Ecommerce_Google_Analytics
24
  * @subpackage Enhanced_Ecommerce_Google_Analytics/includes
25
- * @author Chiranjiv Pathak <chiranijv@tatvic.com>
26
  */
27
  class Enhanced_Ecommerce_Google_Analytics_i18n {
28
 
22
  * @since 1.0.0
23
  * @package Enhanced_Ecommerce_Google_Analytics
24
  * @subpackage Enhanced_Ecommerce_Google_Analytics/includes
25
+ * @author Chiranjiv Pathak <chiranjiv@tatvic.com>
26
  */
27
  class Enhanced_Ecommerce_Google_Analytics_i18n {
28
 
includes/class-enhanced-ecommerce-google-analytics-loader.php CHANGED
@@ -19,7 +19,7 @@
19
  *
20
  * @package Enhanced_Ecommerce_Google_Analytics
21
  * @subpackage Enhanced_Ecommerce_Google_Analytics/includes
22
- * @author Chiranjiv Pathak <chiranijv@tatvic.com>
23
  */
24
  class Enhanced_Ecommerce_Google_Analytics_Loader {
25
 
19
  *
20
  * @package Enhanced_Ecommerce_Google_Analytics
21
  * @subpackage Enhanced_Ecommerce_Google_Analytics/includes
22
+ * @author Chiranjiv Pathak <chiranjiv@tatvic.com>
23
  */
24
  class Enhanced_Ecommerce_Google_Analytics_Loader {
25
 
includes/class-enhanced-ecommerce-google-analytics.php CHANGED
@@ -25,7 +25,7 @@
25
  * @since 1.0.0
26
  * @package Enhanced_Ecommerce_Google_Analytics
27
  * @subpackage Enhanced_Ecommerce_Google_Analytics/includes
28
- * @author Chiranjiv Pathak <chiranijv@tatvic.com>
29
  */
30
  class Enhanced_Ecommerce_Google_Analytics {
31
 
@@ -70,7 +70,7 @@ class Enhanced_Ecommerce_Google_Analytics {
70
  if ( defined( 'PLUGIN_NAME_VERSION' ) ) {
71
  $this->version = PLUGIN_NAME_VERSION;
72
  } else {
73
- $this->version = '2.1.2';
74
  }
75
  $this->plugin_name = 'enhanced-ecommerce-google-analytics';
76
  $this->load_dependencies();
@@ -247,7 +247,7 @@ class Enhanced_Ecommerce_Google_Analytics {
247
  $links[] = '<a href="' . get_admin_url(null, $setting_url) . '">Settings</a>';
248
  $links[] = '<a href="https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/#faq" target="_blank">FAQ</a>';
249
  $links[] = '<a href="http://plugins.tatvic.com/downloads/EE-Woocommerce-Plugin-Documentation.pdf" target="_blank">Documentation</a>';
250
- $links[] = '<a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank"><b>Upgrade to Premium</b></a>';
251
  return $links;
252
  }
253
 
25
  * @since 1.0.0
26
  * @package Enhanced_Ecommerce_Google_Analytics
27
  * @subpackage Enhanced_Ecommerce_Google_Analytics/includes
28
+ * @author Chiranjiv Pathak <chiranjiv@tatvic.com>
29
  */
30
  class Enhanced_Ecommerce_Google_Analytics {
31
 
70
  if ( defined( 'PLUGIN_NAME_VERSION' ) ) {
71
  $this->version = PLUGIN_NAME_VERSION;
72
  } else {
73
+ $this->version = '2.1.3';
74
  }
75
  $this->plugin_name = 'enhanced-ecommerce-google-analytics';
76
  $this->load_dependencies();
247
  $links[] = '<a href="' . get_admin_url(null, $setting_url) . '">Settings</a>';
248
  $links[] = '<a href="https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/#faq" target="_blank">FAQ</a>';
249
  $links[] = '<a href="http://plugins.tatvic.com/downloads/EE-Woocommerce-Plugin-Documentation.pdf" target="_blank">Documentation</a>';
250
+ $links[] = '<a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank"><b>Upgrade to Premium</b></a>';
251
  return $links;
252
  }
253
 
public/class-enhanced-ecommerce-google-analytics-public.php CHANGED
@@ -18,7 +18,7 @@
18
  *
19
  * @package Enhanced_Ecommerce_Google_Analytics
20
  * @subpackage Enhanced_Ecommerce_Google_Analytics/public
21
- * @author Chiranjiv Pathak <chiranijv@tatvic.com>
22
  */
23
  class Enhanced_Ecommerce_Google_Analytics_Public {
24
  /**
@@ -28,7 +28,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
28
  * @return void
29
  */
30
  //set plugin version
31
- public $tvc_eeVer = '2.1.2';
32
 
33
  protected $tvc_aga;
34
 
@@ -58,7 +58,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
58
  //session for product position count
59
  //session_start inserted bcoz it gives warning
60
  if (session_status() == PHP_SESSION_NONE) {
61
- session_start();
62
  }
63
  $_SESSION['t_npcnt']=0;
64
  $_SESSION['t_fpcnt']=0;
@@ -273,7 +273,6 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
273
  if ($order->get_items()) {
274
  foreach ($order->get_items() as $item) {
275
  $_product = $order->get_product_from_item($item);
276
- $tvc_prnm = get_the_title($item['product_id']);
277
  if (isset($_product->variation_data)) {
278
  $categories=esc_js(wc_get_formatted_variation($_product->get_variation_attributes(), true));
279
 
@@ -306,7 +305,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
306
  $orderpage_prod_Array[get_permalink($_product->get_id())]=array(
307
  "tvc_id" => esc_html($_product->get_id()),
308
  "tvc_i" => esc_js($_product->get_sku() ? $_product->get_sku() : $_product->get_id()),
309
- "tvc_n" => html_entity_decode($tvc_prnm),
310
  "tvc_p" => esc_js($order->get_item_total($item)),
311
  "tvc_c" => $categories,
312
  "tvc_q"=>esc_js($item["qty"])
18
  *
19
  * @package Enhanced_Ecommerce_Google_Analytics
20
  * @subpackage Enhanced_Ecommerce_Google_Analytics/public
21
+ * @author Chiranjiv Pathak <chiranjiv@tatvic.com>
22
  */
23
  class Enhanced_Ecommerce_Google_Analytics_Public {
24
  /**
28
  * @return void
29
  */
30
  //set plugin version
31
+ public $tvc_eeVer = '2.1.3';
32
 
33
  protected $tvc_aga;
34
 
58
  //session for product position count
59
  //session_start inserted bcoz it gives warning
60
  if (session_status() == PHP_SESSION_NONE) {
61
+ session_start();
62
  }
63
  $_SESSION['t_npcnt']=0;
64
  $_SESSION['t_fpcnt']=0;
273
  if ($order->get_items()) {
274
  foreach ($order->get_items() as $item) {
275
  $_product = $order->get_product_from_item($item);
 
276
  if (isset($_product->variation_data)) {
277
  $categories=esc_js(wc_get_formatted_variation($_product->get_variation_attributes(), true));
278
 
305
  $orderpage_prod_Array[get_permalink($_product->get_id())]=array(
306
  "tvc_id" => esc_html($_product->get_id()),
307
  "tvc_i" => esc_js($_product->get_sku() ? $_product->get_sku() : $_product->get_id()),
308
+ "tvc_n" => html_entity_decode($_product->get_title()),
309
  "tvc_p" => esc_js($order->get_item_total($item)),
310
  "tvc_c" => $categories,
311
  "tvc_q"=>esc_js($item["qty"])
readme.txt CHANGED
@@ -8,8 +8,8 @@ Author: Tatvic
8
  Requires at least: 3.6
9
  Tested up to: 4.9
10
  Requires PHP: 5.6
11
- Stable tag: 2.1.2
12
- Version: 2.1.2
13
  License: GPLv3
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
 
@@ -49,7 +49,7 @@ Provides integration between Enhanced Ecommerce feature of Google Analytics and
49
 
50
 
51
  = Need an Advanced Google Analytics Plugin? =
52
- We have an Advanced Google Analytics Plugin for WooCommerce which includes tracking of 9 Reports of Enhanced Ecommerce, User ID Tracking, Product Refund, I.P. Anonymization, Adwords Conversion Tracking, Facebook Pixel Tracking, 15+ Custom Dimenensions & Metrics & much more. <a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank">Learn More</a>
53
 
54
  == Note : ==
55
  == Our plugin does not support the below features out of the box ==
@@ -132,23 +132,19 @@ You can Find all The Enhanced Ecommerce Reports in your Analytics Account under
132
 
133
  = Products with variant not getting recorded in GA =
134
 
135
- 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://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank">premium version</a> of our plugin.
136
-
137
- = Does your plugin supports Bundled Product Tracking? =
138
-
139
- The free version of our plugin does not support Bundled Product Tracking feature. This feature is only available with the <a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank">premium version</a> of our plugin.
140
 
141
  = Does this plugin provide Adwords Conversion Tracking? =
142
 
143
- The free version of our plugin does not provide Adwords Conversion Tracking feature. This feature is only available with the <a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank">premium version</a> of our plugin.
144
 
145
  = Does this plugin provide Facebook Pixel Tracking? =
146
 
147
- The free version of our plugin does not provide Facebook Pixel Tracking feature. This feature is only available with the <a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank">premium version</a> of our plugin.
148
 
149
  = Does this plugin provide Google Optimize Snippet Adding Support? =
150
 
151
- The free version of our plugin does not provide Google Optimize Snippet Adding Support. This feature is only available with the <a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank">premium version</a> of our plugin.
152
 
153
  = I have noticed that some transactions are missing in my GA account, compared to my Woocmmerce backend (Orders) =
154
 
@@ -163,7 +159,7 @@ Possible reasons for not getting the accurate Transactions (in sales performance
163
 
164
  * The user has left the page before the transaction has had a chance to send to Google Analytics.
165
 
166
- Additionally, GA is a trend analysis tool, and as such cannot be expected to be 100% accurate. However, if the variance is greater than 12%, we request you to contact us!
167
 
168
  = My Ecommerce transaction data are not getting recorded in GA =
169
 
@@ -177,7 +173,7 @@ Configuring goals are out of the scope of our plugin. Our plugin is designed to
177
 
178
  = Does your Plugin support Product Refund? =
179
 
180
- Our existing plugin does not track product refund data, however you can buy our <a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank">premium plugin</a> to get access to product Refund data
181
 
182
  = Does your plugin supports Multilingual Wordpress site? =
183
 
@@ -185,11 +181,11 @@ Our plugin does not support Multilingual Wordpress site.
185
 
186
  = Does your plugin supports Child/Custom Theme? =
187
 
188
- The free version of our plugin is not fully compatible with the child/custom theme. Request you to go through the <a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" 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.
189
 
190
  = Have you Provided Full support for the free version plugin? =
191
 
192
- We have a limited support policy for the free version of our plugin. Kindly go through the <a href="https://1.envato.market/c/1291997/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Factionable-google-analytics-for-woocommerce%2F9899552" target="_blank">premium version</a> of our plugin to get full support for the product or you can also contact us at analytics2(at)tatvic(dot)com.
193
 
194
  = How to verify if you have implemented the Plugin well? =
195
 
@@ -328,7 +324,12 @@ Important Note: When you update the plugin, please save your settings again.
328
  * Fatal Error Resolved
329
  * Minor Bug Fixes
330
 
331
- = 2.1.2 - 14/09/2018 =
332
  * Multisite admin sidebar Issue resolved
333
- * Optimization in Product Impression Call
 
 
 
 
 
334
  * Minor Bug Fixes
8
  Requires at least: 3.6
9
  Tested up to: 4.9
10
  Requires PHP: 5.6
11
+ Stable tag: 2.1.3
12
+ Version: 2.1.3
13
  License: GPLv3
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
 
49
 
50
 
51
  = Need an Advanced Google Analytics Plugin? =
52
+ We have an Advanced Google Analytics Plugin for WooCommerce which includes tracking of 9 Reports of Enhanced Ecommerce, User ID Tracking, Product Refund, I.P. Anonymization, Adwords Conversion Tracking, Facebook Pixel Tracking, 15+ Custom Dimenensions & Metrics & much more. <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?ref=tatvic" target="_blank">Learn More</a>
53
 
54
  == Note : ==
55
  == Our plugin does not support the below features out of the box ==
132
 
133
  = Products with variant not getting recorded in GA =
134
 
135
+ 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.
 
 
 
 
136
 
137
  = Does this plugin provide Adwords Conversion Tracking? =
138
 
139
+ The free version of our plugin does not provide Adwords Conversion Tracking feature. 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.
140
 
141
  = Does this plugin provide Facebook Pixel Tracking? =
142
 
143
+ The free version of our plugin does not provide Facebook Pixel Tracking feature. 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.
144
 
145
  = Does this plugin provide Google Optimize Snippet Adding Support? =
146
 
147
+ The free version of our plugin does not provide Google Optimize Snippet Adding Support. 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.
148
 
149
  = I have noticed that some transactions are missing in my GA account, compared to my Woocmmerce backend (Orders) =
150
 
159
 
160
  * The user has left the page before the transaction has had a chance to send to Google Analytics.
161
 
162
+ Additionally, GA is a trend analysis tool, and as such cannot be expected to be 100% accurate. However, if the variance is greater than 10-12%, there might be an issue with the coding!
163
 
164
  = My Ecommerce transaction data are not getting recorded in GA =
165
 
173
 
174
  = Does your Plugin support Product Refund? =
175
 
176
+ 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
177
 
178
  = Does your plugin supports Multilingual Wordpress site? =
179
 
181
 
182
  = Does your plugin supports Child/Custom Theme? =
183
 
184
+ 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.
185
 
186
  = Have you Provided Full support for the free version plugin? =
187
 
188
+ We have a limited support policy for the free version of our plugin. Kindly 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 to get full support for the product or you can also contact us at analytics2(at)tatvic(dot)com.
189
 
190
  = How to verify if you have implemented the Plugin well? =
191
 
324
  * Fatal Error Resolved
325
  * Minor Bug Fixes
326
 
327
+ = 2.1.2 - 14/09/2018 =
328
  * Multisite admin sidebar Issue resolved
329
+ * Optimization in Impression Call
330
+ * Minor Bug Fixes
331
+
332
+ = 2.1.3 - 17/10/2018 =
333
+ * Fixed: Product name issue on Order Received Page
334
+ * Fixed: Session Isssue
335
  * Minor Bug Fixes