Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 1.0.21

Version Description

  • 12/05/2017 =
    • Minor Bug Fixes.
Download this release

Release Info

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

Code changes from version 1.0.20 to 1.0.21

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.20';
22
  public function __construct() {
23
 
24
  //Set Global Variables
@@ -30,11 +30,8 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
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' target='_blank'>Learn More</a>", "woocommerce");
32
 
33
- if(!isset($_SESSION) )
34
- {
35
- session_start();
36
- }
37
- //session for product position count //session_start removed bcoz it gives warning
38
  $_SESSION['t_npcnt']=0;
39
  $_SESSION['t_fpcnt']=0;
40
  // Load the integration form
@@ -159,7 +156,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
159
  });
160
 
161
  //Pugin Promotion
162
- jQuery("form#mainform").after("<a href=http://bit.ly/1yFqA04 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>");
163
  </script>';
164
  }
165
  }
@@ -385,7 +382,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
385
  $categories=esc_js(woocommerce_get_formatted_variation($_product->variation_data, true));
386
  } else {
387
  $out = array();
388
- if(version_compare($woocommerce->version, "2.4", "<=")){
389
  $categories = get_the_terms($_product->id, "product_cat");
390
  }else{
391
  $categories = get_the_terms($_product->get_id(), "product_cat");
@@ -400,7 +397,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
400
  }
401
 
402
  //orderpage Prod json
403
- if(version_compare($woocommerce->version, "2.4", "<=")){
404
  $orderpage_prod_Array[get_permalink($_product->id)]=array(
405
  "tvc_id" => esc_html($_product->id),
406
  "tvc_i" => esc_js($_product->get_sku() ? $_product->get_sku() : $_product->id),
@@ -486,7 +483,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
486
  if (!is_single())
487
  return;
488
  global $product,$woocommerce;
489
- if(version_compare($woocommerce->version, "2.4", "<=")){
490
  $category = get_the_terms($product->ID, "product_cat");
491
  }else{
492
  $category = get_the_terms($product->get_id(), "product_cat");
@@ -534,7 +531,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
534
  }
535
 
536
  global $product,$woocommerce;
537
- if(version_compare($woocommerce->version, "2.4", "<=")){
538
  $category = get_the_terms($product->ID, "product_cat");
539
  }else{
540
  $category = get_the_terms($product->get_id(), "product_cat");
@@ -548,7 +545,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
548
  //remove last comma(,) if multiple categories are there
549
  $categories = rtrim($categories, ",");
550
  //product detail view json
551
- if(version_compare($woocommerce->version, "2.4", "<=")){
552
  $prodpage_detail_json = array(
553
  "tvc_id" => esc_html($product->id),
554
  "tvc_i" => $product->get_sku() ? $product->get_sku() : $product->id,
@@ -602,7 +599,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
602
  }
603
 
604
  global $product,$woocommerce;
605
- if (version_compare($woocommerce->version, "2.4", "<=")) {
606
  $category = get_the_terms($product->Id, "product_cat");
607
  } else {
608
  $category = get_the_terms($product->get_id(), "product_cat");
@@ -628,7 +625,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
628
  }
629
 
630
  // ATC link Array
631
- if(version_compare($woocommerce->version, "2.4", "<=")){
632
  $homepage_json_ATC_link[$product->add_to_cart_url()]=array("ATC-link"=>get_permalink($product->id));
633
  }else{
634
  $homepage_json_ATC_link[$product->add_to_cart_url()]=array("ATC-link"=>get_permalink($product->get_id()));
@@ -636,7 +633,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
636
  //check if product is featured product or not
637
  if ($product->is_featured()) {
638
  //check if product is already exists in homepage featured json
639
- if(version_compare($woocommerce->version, "2.4", "<=")){
640
  if(!array_key_exists(get_permalink($product->id),$homepage_json_fp)){
641
  $homepage_json_fp[get_permalink($product->id)] = array(
642
  "tvc_id" => esc_html($product->id),
@@ -684,7 +681,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
684
 
685
  } else {
686
  //else prod add in homepage recent json
687
- if(version_compare($woocommerce->version, "2.4", "<=")){
688
  $homepage_json_rp[get_permalink($product->id)] =array(
689
  "tvc_id" => esc_html($product->id),
690
  "tvc_i" => esc_html($product->get_sku() ? $product->get_sku() : $product->id),
@@ -713,7 +710,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
713
  $prodpage_json_ATC_link = array();
714
  }
715
  // ATC link Array
716
- if(version_compare($woocommerce->version, "2.4", "<=")){
717
  $prodpage_json_ATC_link[$product->add_to_cart_url()]=array("ATC-link"=>get_permalink($product->id));
718
 
719
  $prodpage_json_relProd[get_permalink($product->id)] = array(
@@ -746,7 +743,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
746
  $catpage_json_ATC_link=array();
747
  }
748
  //cat page ATC array
749
- if(version_compare($woocommerce->version, "2.4", "<=")){
750
  $catpage_json_ATC_link[$product->add_to_cart_url()]=array("ATC-link"=>get_permalink($product->id));
751
 
752
  $catpage_json[get_permalink($product->id)] =array(
@@ -1038,7 +1035,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
1038
  //echo "<pre>".print_r($woocommerce->cart->cart_contents,TRUE)."</pre>";
1039
  foreach ($woocommerce->cart->cart_contents as $key => $item) {
1040
  //Version compare
1041
- if (version_compare($woocommerce->version, "2.1", ">=") && version_compare($woocommerce->version, "2.7", "<=") ) {
1042
  $prod_meta = get_product($item["product_id"]);
1043
  } else {
1044
  $prod_meta = wc_get_product($item["product_id"]);
@@ -1055,7 +1052,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
1055
  }
1056
  //remove last comma(,) if multiple categories are there
1057
  $categories = rtrim($categories, ",");
1058
- if(version_compare($woocommerce->version, "2.4", "<=")){
1059
  $cartpage_prod_array_main[$cart_remove_link] =array(
1060
  "tvc_id" => esc_html($prod_meta->id),
1061
  "tvc_i" => esc_html($prod_meta->get_sku() ? $prod_meta->get_sku() : $prod_meta->id),
@@ -1219,7 +1216,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
1219
  //get all items added into the cart
1220
  foreach ($woocommerce->cart->cart_contents as $item) {
1221
  //Version Compare
1222
- if (version_compare($woocommerce->version, "2.1", ">=") && version_compare($woocommerce->version, "2.7", "<=") ) {
1223
  $p = get_product($item["product_id"]);
1224
  } else {
1225
  $p = wc_get_product($item["product_id"]);
@@ -1234,7 +1231,7 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
1234
  }
1235
  //remove last comma(,) if multiple categories are there
1236
  $categories = rtrim($categories, ",");
1237
- if(version_compare($woocommerce->version, "2.4", "<=")){
1238
  $chkout_json[get_permalink($p->id)] = array(
1239
  "tvc_id" => esc_html($p->id),
1240
  "tvc_i" => esc_js($p->get_sku() ? $p->get_sku() : $p->id),
@@ -1261,8 +1258,5 @@ class WC_Enhanced_Ecommerce_Google_Analytics extends WC_Integration {
1261
  //make product data json on check out page
1262
  $this->wc_version_compare("tvc_ch=" . json_encode($chkout_json) . ";");
1263
  }
1264
-
1265
-
1266
  }
1267
-
1268
  ?>
18
  * @return void
19
  */
20
  //set plugin version
21
+ public $tvc_eeVer = '1.0.21';
22
  public function __construct() {
23
 
24
  //Set Global Variables
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' 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
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
  }
382
  $categories=esc_js(woocommerce_get_formatted_variation($_product->variation_data, true));
383
  } else {
384
  $out = array();
385
+ if(version_compare($woocommerce->version, "2.7", "<")){
386
  $categories = get_the_terms($_product->id, "product_cat");
387
  }else{
388
  $categories = get_the_terms($_product->get_id(), "product_cat");
397
  }
398
 
399
  //orderpage Prod json
400
+ if(version_compare($woocommerce->version, "2.7", "<")){
401
  $orderpage_prod_Array[get_permalink($_product->id)]=array(
402
  "tvc_id" => esc_html($_product->id),
403
  "tvc_i" => esc_js($_product->get_sku() ? $_product->get_sku() : $_product->id),
483
  if (!is_single())
484
  return;
485
  global $product,$woocommerce;
486
+ if(version_compare($woocommerce->version, "2.7", "<")){
487
  $category = get_the_terms($product->ID, "product_cat");
488
  }else{
489
  $category = get_the_terms($product->get_id(), "product_cat");
531
  }
532
 
533
  global $product,$woocommerce;
534
+ if(version_compare($woocommerce->version, "2.7", "<")){
535
  $category = get_the_terms($product->ID, "product_cat");
536
  }else{
537
  $category = get_the_terms($product->get_id(), "product_cat");
545
  //remove last comma(,) if multiple categories are there
546
  $categories = rtrim($categories, ",");
547
  //product detail view json
548
+ if(version_compare($woocommerce->version, "2.7", "<")){
549
  $prodpage_detail_json = array(
550
  "tvc_id" => esc_html($product->id),
551
  "tvc_i" => $product->get_sku() ? $product->get_sku() : $product->id,
599
  }
600
 
601
  global $product,$woocommerce;
602
+ if (version_compare($woocommerce->version, "2.7", "<")) {
603
  $category = get_the_terms($product->Id, "product_cat");
604
  } else {
605
  $category = get_the_terms($product->get_id(), "product_cat");
625
  }
626
 
627
  // ATC link Array
628
+ if(version_compare($woocommerce->version, "2.7", "<")){
629
  $homepage_json_ATC_link[$product->add_to_cart_url()]=array("ATC-link"=>get_permalink($product->id));
630
  }else{
631
  $homepage_json_ATC_link[$product->add_to_cart_url()]=array("ATC-link"=>get_permalink($product->get_id()));
633
  //check if product is featured product or not
634
  if ($product->is_featured()) {
635
  //check if product is already exists in homepage featured json
636
+ if(version_compare($woocommerce->version, "2.7", "<")){
637
  if(!array_key_exists(get_permalink($product->id),$homepage_json_fp)){
638
  $homepage_json_fp[get_permalink($product->id)] = array(
639
  "tvc_id" => esc_html($product->id),
681
 
682
  } else {
683
  //else prod add in homepage recent json
684
+ if(version_compare($woocommerce->version, "2.7", "<")){
685
  $homepage_json_rp[get_permalink($product->id)] =array(
686
  "tvc_id" => esc_html($product->id),
687
  "tvc_i" => esc_html($product->get_sku() ? $product->get_sku() : $product->id),
710
  $prodpage_json_ATC_link = array();
711
  }
712
  // ATC link Array
713
+ if(version_compare($woocommerce->version, "2.7", "<")){
714
  $prodpage_json_ATC_link[$product->add_to_cart_url()]=array("ATC-link"=>get_permalink($product->id));
715
 
716
  $prodpage_json_relProd[get_permalink($product->id)] = array(
743
  $catpage_json_ATC_link=array();
744
  }
745
  //cat page ATC array
746
+ if(version_compare($woocommerce->version, "2.7", "<")){
747
  $catpage_json_ATC_link[$product->add_to_cart_url()]=array("ATC-link"=>get_permalink($product->id));
748
 
749
  $catpage_json[get_permalink($product->id)] =array(
1035
  //echo "<pre>".print_r($woocommerce->cart->cart_contents,TRUE)."</pre>";
1036
  foreach ($woocommerce->cart->cart_contents as $key => $item) {
1037
  //Version compare
1038
+ if (version_compare($woocommerce->version, "2.7", "<")) {
1039
  $prod_meta = get_product($item["product_id"]);
1040
  } else {
1041
  $prod_meta = wc_get_product($item["product_id"]);
1052
  }
1053
  //remove last comma(,) if multiple categories are there
1054
  $categories = rtrim($categories, ",");
1055
+ if(version_compare($woocommerce->version, "2.7", "<")){
1056
  $cartpage_prod_array_main[$cart_remove_link] =array(
1057
  "tvc_id" => esc_html($prod_meta->id),
1058
  "tvc_i" => esc_html($prod_meta->get_sku() ? $prod_meta->get_sku() : $prod_meta->id),
1216
  //get all items added into the cart
1217
  foreach ($woocommerce->cart->cart_contents as $item) {
1218
  //Version Compare
1219
+ if ( version_compare($woocommerce->version, "2.7", "<")) {
1220
  $p = get_product($item["product_id"]);
1221
  } else {
1222
  $p = wc_get_product($item["product_id"]);
1231
  }
1232
  //remove last comma(,) if multiple categories are there
1233
  $categories = rtrim($categories, ",");
1234
+ if(version_compare($woocommerce->version, "2.7", "<")){
1235
  $chkout_json[get_permalink($p->id)] = array(
1236
  "tvc_id" => esc_html($p->id),
1237
  "tvc_i" => esc_js($p->get_sku() ? $p->get_sku() : $p->id),
1258
  //make product data json on check out page
1259
  $this->wc_version_compare("tvc_ch=" . json_encode($chkout_json) . ";");
1260
  }
 
 
1261
  }
 
1262
  ?>
readme.txt CHANGED
@@ -7,15 +7,15 @@ 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.20
11
- Version: 1.0.20
12
  License: GPLv3
13
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
14
 
15
  Provides integration between Enhanced Ecommerce feature of Google Analytics and WooCommerce.
16
 
17
  == Description ==
18
- <a href="http://www.tatvic.com/enhanced-ecommerce-google-analytics-plugin-woocommerce/">Enhanced Ecommerce Google Analytics</a> is a Free WooCommerce Plugin which allows you to use the newly launched feature of Google Analytics – Enhanced Ecommerce.You can track the user behavior across your e-commerce store starting from product views to thank you page. Enhanced Ecommerce supports only Universal Analytics.
19
 
20
  = Features of Plugin =
21
  1. Quick & Easy installation from the wordpress interface
@@ -50,14 +50,15 @@ 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="http://bit.ly/1yFqA04" target="_blank">Learn More</a>
54
 
55
  == Note : ==
56
- = Our plugin does not support the below features out of the box =
57
  * Highly Customized store
58
- * Not fully compatible with Child/Custom Themes.
59
- * Variable Product
60
  * Store with the Subscription product for Orders.
 
61
 
62
  == Installation ==
63
  1. Download the plugin file to your computer and unzip it
@@ -82,7 +83,7 @@ Starting the WooCommerce 2.1 release there are no conflicts. However for earlier
82
 
83
  = Do I Need to add any custom code for it? =
84
 
85
- As our plugin automatically tracks all the Enhanced Ecommerce data ( including product name, price, etc dynamically) for your store, you don't need to add any custom code to track Ecommerce events on your store from your end.
86
 
87
  = Why are my PayPal transaction data not getting recorded in GA? =
88
 
@@ -135,6 +136,9 @@ Please check if you have auto return configured in your payment gateway settings
135
 
136
  Hence, this may result into missing transaction data in your GA. You can resolve this issue by configuring auto return in your payment gateway settings.
137
 
 
 
 
138
  = Does your Plugin support Product Refund? =
139
 
140
  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" target="_blank">paid plugin</a> to get access to product Refund data
@@ -214,6 +218,9 @@ Important Note: When you update the plugin, please save your settings again.
214
  * Fixed - Compatibility with Wordpress 4.7 & Woocommerce 2.6.x
215
  * Minor Bug Fixes.
216
 
217
- = 1.0.20 - 13/04/2017 =
218
  * Fixed - Compatibility with Woocommerce 3.x
219
  * Minor Bug Fixes.
 
 
 
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
 
15
  Provides integration between Enhanced Ecommerce feature of Google Analytics and WooCommerce.
16
 
17
  == Description ==
18
+ <a href="http://www.tatvic.com/enhanced-ecommerce-google-analytics-plugin-woocommerce/">Enhanced Ecommerce Google Analytics</a> is a Free Plugin for Woocommerce stores which allows you to use the newly launched feature of Google Analytics – Enhanced Ecommerce.You can track the user behavior across your e-commerce store starting from product views to thank you page. Enhanced Ecommerce is only supported by Universal Analytics.
19
 
20
  = Features of Plugin =
21
  1. Quick & Easy installation from the wordpress interface
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 ==
57
  * Highly Customized store
58
+ * Child/Custom Themes
59
+ * Product types other than Simple Product
60
  * Store with the Subscription product for Orders.
61
+ * Ecommerce Pages with Shortcodes
62
 
63
  == Installation ==
64
  1. Download the plugin file to your computer and unzip it
83
 
84
  = Do I Need to add any custom code for it? =
85
 
86
+ As our plugin automatically tracks all the Enhanced Ecommerce data ( including product name, price, etc dynamically) for your store, you don't need to add any custom/manual code to trackEcommerce events on your store from your end.
87
 
88
  = Why are my PayPal transaction data not getting recorded in GA? =
89
 
136
 
137
  Hence, this may result into missing transaction data in your GA. You can resolve this issue by configuring auto return in your payment gateway settings.
138
 
139
+ = Does this plugin help me create/configure goals/funnels in my GA account? =
140
+ Configuring goals are out of the scope of our plugin. Our plugin is designed to track checkout funnels only.
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" target="_blank">paid plugin</a> to get access to product Refund data
218
  * Fixed - Compatibility with Wordpress 4.7 & Woocommerce 2.6.x
219
  * Minor Bug Fixes.
220
 
221
+ = 1.0.20 - 14/04/2017 =
222
  * Fixed - Compatibility with Woocommerce 3.x
223
  * Minor Bug Fixes.
224
+
225
+ = 1.0.21 - 12/05/2017 =
226
+ * 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.0.20
25
  */
26
  if (!defined('ABSPATH')) {
27
  exit; // Exit if accessed directly
@@ -56,6 +56,4 @@ function tvc_ee_plugin_action_links($links) {
56
  $links[] = '<a href="http://plugins.tatvic.com/downloads/EE-Woocommerce-Plugin-Documentation.pdf" target="_blank">Documentation</a>';
57
  return $links;
58
  }
59
-
60
-
61
- ?>
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
56
  $links[] = '<a href="http://plugins.tatvic.com/downloads/EE-Woocommerce-Plugin-Documentation.pdf" target="_blank">Documentation</a>';
57
  return $links;
58
  }
59
+ ?>