Version Description
Download this release
Release Info
Developer | Tatvic |
Plugin | Enhanced Ecommerce Google Analytics Plugin for WooCommerce |
Version | 2.2.2 |
Comparing to | |
See all releases |
Code changes from version 2.3.4 to 2.2.2
- admin/class-enhanced-ecommerce-google-analytics-admin.php +1 -5
- admin/class-enhanced-ecommerce-google-analytics-settings.php +0 -7
- admin/css/enhanced-ecommerce-google-analytics-admin.css +1 -48
- admin/images.zip +0 -0
- admin/images/new-2.gif +0 -0
- admin/images/new-img.gif +0 -0
- admin/images/rating.png +0 -0
- admin/images/ratings.png +0 -0
- admin/js/enhanced-ecommerce-google-analytics-admin.js +1 -10
- admin/partials/about-plugin.php +3 -8
- admin/partials/enhanced-ecommerce-google-analytics-admin-display.php +2 -4
- admin/partials/general-fields.php +10 -23
- admin/partials/sidebar.php +4 -9
- enhanced-ecommerce-google-analytics.php +3 -4
- includes/class-enhanced-ecommerce-google-analytics.php +1 -20
- public/class-enhanced-ecommerce-google-analytics-public.php +15 -27
- readme.txt +39 -106
admin/class-enhanced-ecommerce-google-analytics-admin.php
CHANGED
@@ -73,8 +73,6 @@ class Enhanced_Ecommerce_Google_Analytics_Admin {
|
|
73 |
wp_enqueue_style('font_awesome');
|
74 |
wp_register_style('aga_bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css');
|
75 |
wp_enqueue_style('aga_bootstrap');
|
76 |
-
wp_register_style('aga_confirm', '//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css');
|
77 |
-
wp_enqueue_style('aga_confirm');
|
78 |
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/enhanced-ecommerce-google-analytics-admin.css', array(), $this->version, 'all' );
|
79 |
}
|
80 |
|
@@ -93,10 +91,9 @@ class Enhanced_Ecommerce_Google_Analytics_Admin {
|
|
93 |
wp_enqueue_script('popper_bootstrap');
|
94 |
wp_register_script('aga_bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js');
|
95 |
wp_enqueue_script('aga_bootstrap');
|
96 |
-
wp_register_script('aga_confirm_js', '//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js');
|
97 |
-
wp_enqueue_script('aga_confirm_js');
|
98 |
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/enhanced-ecommerce-google-analytics-admin.js', array( 'jquery' ), $this->version, false );
|
99 |
}
|
|
|
100 |
}
|
101 |
|
102 |
/**
|
@@ -150,5 +147,4 @@ class Enhanced_Ecommerce_Google_Analytics_Admin {
|
|
150 |
public function about_plugin() {
|
151 |
require_once( 'partials/about-plugin.php');
|
152 |
}
|
153 |
-
|
154 |
}
|
73 |
wp_enqueue_style('font_awesome');
|
74 |
wp_register_style('aga_bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css');
|
75 |
wp_enqueue_style('aga_bootstrap');
|
|
|
|
|
76 |
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/enhanced-ecommerce-google-analytics-admin.css', array(), $this->version, 'all' );
|
77 |
}
|
78 |
|
91 |
wp_enqueue_script('popper_bootstrap');
|
92 |
wp_register_script('aga_bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js');
|
93 |
wp_enqueue_script('aga_bootstrap');
|
|
|
|
|
94 |
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/enhanced-ecommerce-google-analytics-admin.js', array( 'jquery' ), $this->version, false );
|
95 |
}
|
96 |
+
|
97 |
}
|
98 |
|
99 |
/**
|
147 |
public function about_plugin() {
|
148 |
require_once( 'partials/about-plugin.php');
|
149 |
}
|
|
|
150 |
}
|
admin/class-enhanced-ecommerce-google-analytics-settings.php
CHANGED
@@ -70,11 +70,4 @@ class Enhanced_Ecommerce_Google_Settings {
|
|
70 |
printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $message ) );
|
71 |
|
72 |
}
|
73 |
-
public function show_message(){
|
74 |
-
echo '
|
75 |
-
<div class="notice notice-warning is-dismissible">
|
76 |
-
<strong><p>Get all the 9 GA - Enhanced Ecommerce reports, 20+ custom dimensions and metrics, google ads conversion tracking, FB pixel tracking, Google Optimize integration and many more advanced features in the <a href="https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?utm_source=TatvicEE&utm_medium=DashboardMsgText&utm_campaign=WPlisting" target="_blank">Premium Version</a>.</p></strong>
|
77 |
-
</div>
|
78 |
-
';
|
79 |
-
}
|
80 |
}
|
70 |
printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $message ) );
|
71 |
|
72 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
}
|
admin/css/enhanced-ecommerce-google-analytics-admin.css
CHANGED
@@ -43,9 +43,6 @@ input[type=checkbox]{
|
|
43 |
-ms-transition: all 1.5s ease;
|
44 |
transition: all 1.5s ease;
|
45 |
}
|
46 |
-
.align-middle{
|
47 |
-
font-size: 15px;
|
48 |
-
}
|
49 |
input[type=checkbox]:checked::before {
|
50 |
height:16px;
|
51 |
width:16px;
|
@@ -71,48 +68,4 @@ h5{
|
|
71 |
margin-left: 6% !important;
|
72 |
width:auto;
|
73 |
}
|
74 |
-
}
|
75 |
-
.try-btn{
|
76 |
-
width: auto;
|
77 |
-
border: black;
|
78 |
-
text-align: center;
|
79 |
-
padding: 8px 10px 10px 10px;
|
80 |
-
font-size: 18px;
|
81 |
-
background-color: #00a32a;
|
82 |
-
float: right;
|
83 |
-
top: 60px;
|
84 |
-
height: 38px;
|
85 |
-
color: antiquewhite;
|
86 |
-
font-weight: bold;
|
87 |
-
border-radius: 4px;
|
88 |
-
-moz-box-shadow: 3px 3px 5px 6px #ccc;
|
89 |
-
-webkit-box-shadow: 3px 3px 5px 6px #ccc;
|
90 |
-
box-shadow: 0px 0px 7px 7px #ccc;
|
91 |
-
}
|
92 |
-
.top-btn{
|
93 |
-
float: right;
|
94 |
-
}
|
95 |
-
.new-img-blink{
|
96 |
-
width: 40px;
|
97 |
-
height: 25px;
|
98 |
-
}
|
99 |
-
.new-img-blink-side{
|
100 |
-
width: 40px;
|
101 |
-
height: 20px;
|
102 |
-
}
|
103 |
-
|
104 |
-
.rating {
|
105 |
-
unicode-bidi: bidi-override;
|
106 |
-
direction: rtl;
|
107 |
-
}
|
108 |
-
.rating > span {
|
109 |
-
display: inline-block;
|
110 |
-
position: relative;
|
111 |
-
width: 1.1em;
|
112 |
-
color: #2D73C5;
|
113 |
-
}
|
114 |
-
.rating > span:hover:before,
|
115 |
-
.rating > span:hover ~ span:before {
|
116 |
-
content: "\2605";
|
117 |
-
position: absolute;
|
118 |
-
}
|
43 |
-ms-transition: all 1.5s ease;
|
44 |
transition: all 1.5s ease;
|
45 |
}
|
|
|
|
|
|
|
46 |
input[type=checkbox]:checked::before {
|
47 |
height:16px;
|
48 |
width:16px;
|
68 |
margin-left: 6% !important;
|
69 |
width:auto;
|
70 |
}
|
71 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/images.zip
DELETED
Binary file
|
admin/images/new-2.gif
DELETED
Binary file
|
admin/images/new-img.gif
DELETED
Binary file
|
admin/images/rating.png
DELETED
Binary file
|
admin/images/ratings.png
DELETED
Binary file
|
admin/js/enhanced-ecommerce-google-analytics-admin.js
CHANGED
@@ -29,14 +29,5 @@
|
|
29 |
* practising this, we should strive to set a better example in our own work.
|
30 |
*/
|
31 |
|
32 |
-
|
33 |
-
jQuery('.download').click(function(){
|
34 |
-
jQuery.confirm({
|
35 |
-
theme : 'supervan',
|
36 |
-
type: 'red',
|
37 |
-
title: 'Note !',
|
38 |
-
content: 'Deactivate the Enhanced Ecommerce Google analytics (Tatvic EE Plugin) before activating the free trial.',
|
39 |
-
});
|
40 |
-
});
|
41 |
-
});
|
42 |
})( jQuery );
|
29 |
* practising this, we should strive to set a better example in our own work.
|
30 |
*/
|
31 |
|
32 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
})( jQuery );
|
admin/partials/about-plugin.php
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
-
<?php
|
2 |
-
$message = new Enhanced_Ecommerce_Google_Settings();
|
3 |
-
?>
|
4 |
-
|
5 |
<style>
|
6 |
td{
|
7 |
text-align: center !important;
|
@@ -20,7 +16,6 @@ $message = new Enhanced_Ecommerce_Google_Settings();
|
|
20 |
<div class="row" style="margin-left:-11%; !important;">
|
21 |
<div class= "col col-9">
|
22 |
<div class="card mw-100" style="padding:0;">
|
23 |
-
<?php $message->show_message();?>
|
24 |
<div class="card-header">
|
25 |
<h5>Feature difference between <span style="font-weight: 800;">Free & Premium</span> Plugin</h5>
|
26 |
</div>
|
@@ -149,12 +144,12 @@ $message = new Enhanced_Ecommerce_Google_Settings();
|
|
149 |
<tfoot class="thead-inverse">
|
150 |
<tr>
|
151 |
<th class="w-25"></th>
|
152 |
-
<th class="
|
153 |
-
<th class=""><a href="https://
|
154 |
</tr>
|
155 |
</tfoot>
|
156 |
</table>
|
157 |
-
<p class="description" style="font-size: 15px;"><strong>Feel free to contact us regarding premium version inquiry at <span style="color:blue;font-size:15px;">analytics2@tatvic.com<span></strong>.<br/>
|
158 |
</div>
|
159 |
</div>
|
160 |
</div>
|
|
|
|
|
|
|
|
|
1 |
<style>
|
2 |
td{
|
3 |
text-align: center !important;
|
16 |
<div class="row" style="margin-left:-11%; !important;">
|
17 |
<div class= "col col-9">
|
18 |
<div class="card mw-100" style="padding:0;">
|
|
|
19 |
<div class="card-header">
|
20 |
<h5>Feature difference between <span style="font-weight: 800;">Free & Premium</span> Plugin</h5>
|
21 |
</div>
|
144 |
<tfoot class="thead-inverse">
|
145 |
<tr>
|
146 |
<th class="w-25"></th>
|
147 |
+
<th class=""></th>
|
148 |
+
<th class=""><a href="https://1.envato.market/Yvn3R" target="_blank"><button class="btn btn-primary"><strong>Buy Premium Plugin</strong></button></a></th>
|
149 |
</tr>
|
150 |
</tfoot>
|
151 |
</table>
|
152 |
+
<p class="description" style="font-size: 15px;"><strong>Feel free to contact us regarding premium version inquiry at <span style="color:blue;font-size:15px;">analytics2@tatvic.com<span></strong>.<br/>Agencies & Marketers can also contact us for the bulk licenses for their clients.</p>
|
153 |
</div>
|
154 |
</div>
|
155 |
</div>
|
admin/partials/enhanced-ecommerce-google-analytics-admin-display.php
CHANGED
@@ -32,15 +32,13 @@ else{
|
|
32 |
if(empty($_GET['tab'])){
|
33 |
$general_class_active = "active";
|
34 |
}
|
35 |
-
|
36 |
-
|
37 |
?>
|
38 |
<header class='background-color:#E8E8E8;height:500px;width:auto;margin-top:100px;margin-left:20px;'>
|
39 |
<img class ="banner" src='<?php echo plugins_url('../images/banner.png', __FILE__ ) ?>' style="margin-left:10px;">
|
40 |
</header>
|
41 |
<ul class="nav nav-tabs nav-pills" style="margin-left: 10px;margin-top:20px;">
|
42 |
<li class="nav-item">
|
43 |
-
<a href="<?php echo $site_url.'general_settings'; ?>" class="border-left aga-tab nav-link <?php echo $general_class_active; ?>">General
|
44 |
</li>
|
45 |
-
<li class="nav-item"><a href="<?php echo $site_url.'about_plugin'; ?>" class="border-left aga-tab nav-link <?php echo $advanced_class_active; ?>">Premium
|
46 |
</ul>
|
32 |
if(empty($_GET['tab'])){
|
33 |
$general_class_active = "active";
|
34 |
}
|
|
|
|
|
35 |
?>
|
36 |
<header class='background-color:#E8E8E8;height:500px;width:auto;margin-top:100px;margin-left:20px;'>
|
37 |
<img class ="banner" src='<?php echo plugins_url('../images/banner.png', __FILE__ ) ?>' style="margin-left:10px;">
|
38 |
</header>
|
39 |
<ul class="nav nav-tabs nav-pills" style="margin-left: 10px;margin-top:20px;">
|
40 |
<li class="nav-item">
|
41 |
+
<a href="<?php echo $site_url.'general_settings'; ?>" class="border-left aga-tab nav-link <?php echo $general_class_active; ?>">General Setting</a>
|
42 |
</li>
|
43 |
+
<li class="nav-item"><a href="<?php echo $site_url.'about_plugin'; ?>" class="border-left aga-tab nav-link <?php echo $advanced_class_active; ?>">Premium Plugin</a></li>
|
44 |
</ul>
|
admin/partials/general-fields.php
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
<?php
|
2 |
-
$
|
3 |
-
if (isset($_POST['ee_submit_plugin'])) {
|
4 |
Enhanced_Ecommerce_Google_Settings::add_update_settings('ee_options');
|
5 |
}
|
6 |
$data = unserialize(get_option('ee_options'));
|
@@ -9,19 +8,14 @@ $data = unserialize(get_option('ee_options'));
|
|
9 |
<div class="row" style="margin-left:-11%; !important;">
|
10 |
<div class= "col col-9" >
|
11 |
<div class="card mw-100" style="padding:0px;">
|
12 |
-
<?php $message->show_message();?>
|
13 |
<div class="card-header">
|
14 |
-
<
|
15 |
-
<div class="rating">
|
16 |
-
<span>☆</span><span>☆</span><span>☆</span><span>☆</span><span>☆</span>
|
17 |
-
</div>
|
18 |
-
</a>
|
19 |
-
</h3>
|
20 |
</div>
|
21 |
<div class="card-body">
|
22 |
<form id="ee_plugin_form" method="post" action="" enctype="multipart/form-data" >
|
23 |
<table class="table table-bordered">
|
24 |
<tbody>
|
|
|
25 |
<tr>
|
26 |
<td>
|
27 |
<label class="align-middle" for="woocommerce_ee_google_analytics_ga_id">Google Analytics ID</label>
|
@@ -40,22 +34,19 @@ $data = unserialize(get_option('ee_options'));
|
|
40 |
<?php $ga_ST = !empty($data['ga_ST'])? 'checked' : ''; ?>
|
41 |
<input type="checkbox" name="ga_ST" id="ga_ST" <?php echo $ga_ST; ?> >
|
42 |
Add Global Site Tracking Code 'gtag.js'
|
43 |
-
<
|
44 |
-
<!--<p class="description">This feature adds new gtag.js tracking code to your store. You don't need to enable this if gtag.js is implemented via any third party analytics plugin.</p>-->
|
45 |
</label><br/>
|
46 |
<label class = "align-middle" for="ga_enhance_ecommerce">
|
47 |
<?php $ga_eeT = !empty($data['ga_eeT'])? 'checked' : ''; ?>
|
48 |
<input type="checkbox" name="ga_eeT" id="ga_eeT" <?php echo $ga_eeT; ?> >
|
49 |
Add Enhanced Ecommerce Tracking Code
|
50 |
-
<
|
51 |
-
<!--<p class="description">This feature adds Enhanced Ecommerce Tracking Code to your Store</p>-->
|
52 |
</label><br/>
|
53 |
<label class = "align-middle" for="ga_login_step">
|
54 |
<?php $ga_gUser = !empty($data['ga_gUser'])? 'checked' : ''; ?>
|
55 |
<input type="checkbox" name="ga_gUser" id="ga_gUser" <?php echo $ga_gUser; ?> >
|
56 |
Add Code to Track the Login Step of Guest Users (Optional)
|
57 |
-
<
|
58 |
-
<!--<p class="description">If you have Guest Check out enable, we recommend you to add this code</p>-->
|
59 |
</label><br/>
|
60 |
</td>
|
61 |
</tr>
|
@@ -65,9 +56,8 @@ $data = unserialize(get_option('ee_options'));
|
|
65 |
</td>
|
66 |
<td>
|
67 |
<?php $ga_Impr = !empty($data['ga_Impr'])? $data['ga_Impr'] : 6; ?>
|
68 |
-
<input type="number" min="1" id="ga_Impr" name = "ga_Impr" value = "<?php echo $ga_Impr; ?>"
|
69 |
-
<
|
70 |
-
<p class="description"><br><b>Note : To avoid processing load on server we recommend upto 6 Impression Thresold.</b></p>
|
71 |
</td>
|
72 |
</tr>
|
73 |
<tr>
|
@@ -79,8 +69,7 @@ $data = unserialize(get_option('ee_options'));
|
|
79 |
<?php $ga_IPA = !empty($data['ga_IPA'])? 'checked' : ''; ?>
|
80 |
<input class="" type="checkbox" name="ga_IPA" id="ga_IPA" <?php echo $ga_IPA; ?>>
|
81 |
Enable I.P. Anonymization
|
82 |
-
<
|
83 |
-
<!-- <p class="description">Use this feature to anonymize (or stop collecting) the I.P Address of your users in Google Analytics. Be in legal compliance by using I.P Anonymization which is important for EU countries As per the GDPR compliance</p>-->
|
84 |
</label>
|
85 |
</td>
|
86 |
</tr>
|
@@ -93,8 +82,7 @@ $data = unserialize(get_option('ee_options'));
|
|
93 |
<?php $ga_OPTOUT = !empty($data['ga_OPTOUT'])? 'checked' : ''; ?>
|
94 |
<input class="" type="checkbox" name="ga_OPTOUT" id="ga_OPTOUT" <?php echo $ga_OPTOUT; ?>>
|
95 |
Enable Google Analytics Opt Out (Optional)
|
96 |
-
<
|
97 |
-
<!--<p class="description">Use this feature to provide website visitors the ability to prevent their data from being used by Google Analytics As per the GDPR compliance.Go through the documentation to check the setup</p>-->
|
98 |
</label>
|
99 |
</td>
|
100 |
</tr>
|
@@ -111,7 +99,6 @@ $data = unserialize(get_option('ee_options'));
|
|
111 |
</label>
|
112 |
</td>
|
113 |
</tr>
|
114 |
-
|
115 |
</tbody>
|
116 |
</table>
|
117 |
<p class="submit save-for-later" id="save-for-later">
|
1 |
<?php
|
2 |
+
if(isset($_POST['ee_submit_plugin'])){
|
|
|
3 |
Enhanced_Ecommerce_Google_Settings::add_update_settings('ee_options');
|
4 |
}
|
5 |
$data = unserialize(get_option('ee_options'));
|
8 |
<div class="row" style="margin-left:-11%; !important;">
|
9 |
<div class= "col col-9" >
|
10 |
<div class="card mw-100" style="padding:0px;">
|
|
|
11 |
<div class="card-header">
|
12 |
+
<h5>Enhanced Ecommerce Google Analytics</h5>
|
|
|
|
|
|
|
|
|
|
|
13 |
</div>
|
14 |
<div class="card-body">
|
15 |
<form id="ee_plugin_form" method="post" action="" enctype="multipart/form-data" >
|
16 |
<table class="table table-bordered">
|
17 |
<tbody>
|
18 |
+
|
19 |
<tr>
|
20 |
<td>
|
21 |
<label class="align-middle" for="woocommerce_ee_google_analytics_ga_id">Google Analytics ID</label>
|
34 |
<?php $ga_ST = !empty($data['ga_ST'])? 'checked' : ''; ?>
|
35 |
<input type="checkbox" name="ga_ST" id="ga_ST" <?php echo $ga_ST; ?> >
|
36 |
Add Global Site Tracking Code 'gtag.js'
|
37 |
+
<p class="description">This feature adds new gtag.js tracking code to your store. You don't need to enable this if gtag.js is implemented via any third party analytics plugin.</p>
|
|
|
38 |
</label><br/>
|
39 |
<label class = "align-middle" for="ga_enhance_ecommerce">
|
40 |
<?php $ga_eeT = !empty($data['ga_eeT'])? 'checked' : ''; ?>
|
41 |
<input type="checkbox" name="ga_eeT" id="ga_eeT" <?php echo $ga_eeT; ?> >
|
42 |
Add Enhanced Ecommerce Tracking Code
|
43 |
+
<p class="description">This feature adds Enhanced Ecommerce Tracking Code to your Store</p>
|
|
|
44 |
</label><br/>
|
45 |
<label class = "align-middle" for="ga_login_step">
|
46 |
<?php $ga_gUser = !empty($data['ga_gUser'])? 'checked' : ''; ?>
|
47 |
<input type="checkbox" name="ga_gUser" id="ga_gUser" <?php echo $ga_gUser; ?> >
|
48 |
Add Code to Track the Login Step of Guest Users (Optional)
|
49 |
+
<p class="description">If you have Guest Check out enable, we recommend you to add this code</p>
|
|
|
50 |
</label><br/>
|
51 |
</td>
|
52 |
</tr>
|
56 |
</td>
|
57 |
<td>
|
58 |
<?php $ga_Impr = !empty($data['ga_Impr'])? $data['ga_Impr'] : 6; ?>
|
59 |
+
<input type="number" min="1" id="ga_Impr" name = "ga_Impr" value = "<?php echo $ga_Impr; ?>"><br/>
|
60 |
+
<p class="description">This feature sets Impression threshold for category page. It sends hit after these many numbers of products impressions. <br><b>Note : To avoid processing load on server we recommend upto 6 Impression Thresold.</b></p>
|
|
|
61 |
</td>
|
62 |
</tr>
|
63 |
<tr>
|
69 |
<?php $ga_IPA = !empty($data['ga_IPA'])? 'checked' : ''; ?>
|
70 |
<input class="" type="checkbox" name="ga_IPA" id="ga_IPA" <?php echo $ga_IPA; ?>>
|
71 |
Enable I.P. Anonymization
|
72 |
+
<p class="description">Use this feature to anonymize (or stop collecting) the I.P Address of your users in Google Analytics. Be in legal compliance by using I.P Anonymization which is important for EU countries As per the GDPR compliance</p>
|
|
|
73 |
</label>
|
74 |
</td>
|
75 |
</tr>
|
82 |
<?php $ga_OPTOUT = !empty($data['ga_OPTOUT'])? 'checked' : ''; ?>
|
83 |
<input class="" type="checkbox" name="ga_OPTOUT" id="ga_OPTOUT" <?php echo $ga_OPTOUT; ?>>
|
84 |
Enable Google Analytics Opt Out (Optional)
|
85 |
+
<p class="description">Use this feature to provide website visitors the ability to prevent their data from being used by Google Analytics As per the GDPR compliance.Go through the documentation to check the setup</p>
|
|
|
86 |
</label>
|
87 |
</td>
|
88 |
</tr>
|
99 |
</label>
|
100 |
</td>
|
101 |
</tr>
|
|
|
102 |
</tbody>
|
103 |
</table>
|
104 |
<p class="submit save-for-later" id="save-for-later">
|
admin/partials/sidebar.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<ul>
|
8 |
<li style="padding-bottom:5px;"><a href="http://plugins.tatvic.com/downloads/EE-Woocommerce-Plugin-Documentation.pdf" target="_blank">Installation Instructions</a></li>
|
9 |
<li style="padding-bottom:5px;"><a href="https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/faq/" target="_blank">FAQ</a></li>
|
10 |
-
<li style="padding-bottom:5px;"><a href="https://
|
11 |
<li style="padding-bottom:5px;"><a href="https://www.tatvic.com/privacy-policy/?ref=plugin_policy&utm_source=plugin_backend&utm_medium=woo_free_plugin&utm_campaign=GDPR_complaince_ecomm_plugins" target="_blank">Privacy Policy</a></li>
|
12 |
<li style="padding-bottom:5px;"><a href="https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/#developers" target="_blank">Change Logs</a></li>
|
13 |
</ul>
|
@@ -19,11 +19,7 @@
|
|
19 |
</div>
|
20 |
<div class="card-body">
|
21 |
<ul style="font-weight: 600">
|
22 |
-
<li style="padding-bottom:5px;">Do you Like our Plugin? Please Spare few minutes to give <
|
23 |
-
<div class="rating">
|
24 |
-
<span>☆</span><span>☆</span><span>☆</span><span>☆</span><span>☆</span>
|
25 |
-
</div>
|
26 |
-
</a></h3> Rating..!!</li>
|
27 |
</ul>
|
28 |
</div>
|
29 |
</div>
|
@@ -33,9 +29,8 @@
|
|
33 |
</div>
|
34 |
<div class="card-body">
|
35 |
<ul>
|
36 |
-
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/woo.png', __FILE__ ) ?>' /> <a href="
|
37 |
-
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/
|
38 |
-
" target="_blank">Actionable Google Analytics for WooCommerce - Premium Version</a></li>
|
39 |
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/m1.png', __FILE__ ) ?>' /> <a href="https://1.envato.market/79Oky" target="_blank">Actionable Google Analytics for Magento</a></li>
|
40 |
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/m2.png', __FILE__ ) ?>' /> <a href="https://marketplace.magento.com/tatvic-actionablegoogleanalytics.html" target="_blank">Actionable Google Analytics for Magento2</a></li>
|
41 |
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/shopify_new.png', __FILE__ ) ?>' /> <a href="https://apps.shopify.com/google-universal-analytics-enhanced-ecommerce" target="_blank">Actionable Google Analytics for Shopify</a></li>
|
7 |
<ul>
|
8 |
<li style="padding-bottom:5px;"><a href="http://plugins.tatvic.com/downloads/EE-Woocommerce-Plugin-Documentation.pdf" target="_blank">Installation Instructions</a></li>
|
9 |
<li style="padding-bottom:5px;"><a href="https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/faq/" target="_blank">FAQ</a></li>
|
10 |
+
<li style="padding-bottom:5px;"><a href="https://wordpress.org/support/plugin/enhanced-e-commerce-for-woocommerce-store" target="_blank">Support</a></li>
|
11 |
<li style="padding-bottom:5px;"><a href="https://www.tatvic.com/privacy-policy/?ref=plugin_policy&utm_source=plugin_backend&utm_medium=woo_free_plugin&utm_campaign=GDPR_complaince_ecomm_plugins" target="_blank">Privacy Policy</a></li>
|
12 |
<li style="padding-bottom:5px;"><a href="https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/#developers" target="_blank">Change Logs</a></li>
|
13 |
</ul>
|
19 |
</div>
|
20 |
<div class="card-body">
|
21 |
<ul style="font-weight: 600">
|
22 |
+
<li style="padding-bottom:5px;">Do you Like our Plugin? Please Spare few minutes to give <a href = "https://wordpress.org/support/plugin/enhanced-e-commerce-for-woocommerce-store/reviews/" target="_blank">★★★★★</a> Rating..!!</li>
|
|
|
|
|
|
|
|
|
23 |
</ul>
|
24 |
</div>
|
25 |
</div>
|
29 |
</div>
|
30 |
<div class="card-body">
|
31 |
<ul>
|
32 |
+
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/woo.png', __FILE__ ) ?>' /> <a href="http://1.envato.market/Yvn3R" target="_blank">Actionable Google Analytics for WooCommerce</a></li>
|
33 |
+
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/cotlw.png', __FILE__ ) ?>' /> <a href="https://wordpress.org/plugins/woo-chrome-one-tap-login/" target="_blank">Chrome One Tap Login for Woocommerce</a> <img src='<?php echo plugins_url('../images/cotlw.gif', __FILE__ ) ?>' /></li>
|
|
|
34 |
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/m1.png', __FILE__ ) ?>' /> <a href="https://1.envato.market/79Oky" target="_blank">Actionable Google Analytics for Magento</a></li>
|
35 |
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/m2.png', __FILE__ ) ?>' /> <a href="https://marketplace.magento.com/tatvic-actionablegoogleanalytics.html" target="_blank">Actionable Google Analytics for Magento2</a></li>
|
36 |
<li style="padding-bottom:5px;"><img src='<?php echo plugins_url('../images/shopify_new.png', __FILE__ ) ?>' /> <a href="https://apps.shopify.com/google-universal-analytics-enhanced-ecommerce" target="_blank">Actionable Google Analytics for Shopify</a></li>
|
enhanced-ecommerce-google-analytics.php
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/**
|
4 |
* The plugin bootstrap file
|
5 |
*
|
@@ -16,7 +15,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.
|
20 |
* Author: Tatvic
|
21 |
* Author URI: www.tatvic.com
|
22 |
* License: GPL-2.0+
|
@@ -24,7 +23,7 @@
|
|
24 |
* Text Domain: www.tatvic.com
|
25 |
* Domain Path: /languages
|
26 |
* WC requires at least: 1.4.1
|
27 |
-
* WC tested up to:
|
28 |
*/
|
29 |
|
30 |
/**
|
@@ -39,7 +38,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
39 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
40 |
* Rename this for your plugin and update it as you release new versions.
|
41 |
*/
|
42 |
-
define( 'PLUGIN_NAME_VERSION', '2.
|
43 |
/**
|
44 |
* The code that runs during plugin activation.
|
45 |
* This action is documented in includes/class-enhanced-ecommerce-google-analytics-activator.php
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
* The plugin bootstrap file
|
4 |
*
|
15 |
* Plugin Name: Enhanced E-commerce for Woocommerce store
|
16 |
* Plugin URI: https://www.tatvic.com/tatvic-labs/woocommerce-extension/
|
17 |
* Description: Allows Enhanced E-commerce Google Analytics tracking code to be inserted into WooCommerce store pages.
|
18 |
+
* Version: 2.2.2
|
19 |
* Author: Tatvic
|
20 |
* Author URI: www.tatvic.com
|
21 |
* License: GPL-2.0+
|
23 |
* Text Domain: www.tatvic.com
|
24 |
* Domain Path: /languages
|
25 |
* WC requires at least: 1.4.1
|
26 |
+
* WC tested up to: 3.7.0
|
27 |
*/
|
28 |
|
29 |
/**
|
38 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
39 |
* Rename this for your plugin and update it as you release new versions.
|
40 |
*/
|
41 |
+
define( 'PLUGIN_NAME_VERSION', '2.2.2' );
|
42 |
/**
|
43 |
* The code that runs during plugin activation.
|
44 |
* This action is documented in includes/class-enhanced-ecommerce-google-analytics-activator.php
|
includes/class-enhanced-ecommerce-google-analytics.php
CHANGED
@@ -27,10 +27,6 @@
|
|
27 |
* @subpackage Enhanced_Ecommerce_Google_Analytics/includes
|
28 |
* @author Chiranjiv Pathak <chiranjiv@tatvic.com>
|
29 |
*/
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
class Enhanced_Ecommerce_Google_Analytics {
|
35 |
|
36 |
/**
|
@@ -74,14 +70,13 @@ class Enhanced_Ecommerce_Google_Analytics {
|
|
74 |
if ( defined( 'PLUGIN_NAME_VERSION' ) ) {
|
75 |
$this->version = PLUGIN_NAME_VERSION;
|
76 |
} else {
|
77 |
-
$this->version = '2.
|
78 |
}
|
79 |
$this->plugin_name = 'enhanced-ecommerce-google-analytics';
|
80 |
$this->load_dependencies();
|
81 |
$this->set_locale();
|
82 |
$this->define_admin_hooks();
|
83 |
$this->define_public_hooks();
|
84 |
-
$this->check_dependency();
|
85 |
add_filter( 'plugin_action_links_' .plugin_basename( plugin_dir_path( __DIR__ ) . $this->plugin_name . '.php' ), array($this,'tvc_plugin_action_links'),10 );
|
86 |
}
|
87 |
|
@@ -232,7 +227,6 @@ class Enhanced_Ecommerce_Google_Analytics {
|
|
232 |
* @since 1.0.0
|
233 |
* @return Enhanced_Ecommerce_Google_Analytics_Loader Orchestrates the hooks of the plugin.
|
234 |
*/
|
235 |
-
|
236 |
public function get_loader() {
|
237 |
return $this->loader;
|
238 |
}
|
@@ -243,7 +237,6 @@ class Enhanced_Ecommerce_Google_Analytics {
|
|
243 |
* @since 1.0.0
|
244 |
* @return string The version number of the plugin.
|
245 |
*/
|
246 |
-
|
247 |
public function get_version() {
|
248 |
return $this->version;
|
249 |
}
|
@@ -256,16 +249,4 @@ class Enhanced_Ecommerce_Google_Analytics {
|
|
256 |
$links[] = '<a href="https://1.envato.market/Yvn3R" target="_blank"><b>Upgrade to Premium</b></a>';
|
257 |
return $links;
|
258 |
}
|
259 |
-
|
260 |
-
/**
|
261 |
-
* Check Enhance E-commerce Plugin is Activated
|
262 |
-
* Free Plugin
|
263 |
-
*/
|
264 |
-
|
265 |
-
public function check_dependency(){
|
266 |
-
if ( function_exists('run_actionable_google_analytics')) {
|
267 |
-
_e('<div class="error"><p><strong>'. wp_sprintf( 'Note: ' ) .'</strong>'. wp_sprintf( 'It seems <strong>Actionable Google Analytics Plugin</strong> is active on your store. Kindly deactivate it in order to avoid data duplication in GA.' ) .'</p></div>');
|
268 |
-
die();
|
269 |
-
}
|
270 |
-
}
|
271 |
}
|
27 |
* @subpackage Enhanced_Ecommerce_Google_Analytics/includes
|
28 |
* @author Chiranjiv Pathak <chiranjiv@tatvic.com>
|
29 |
*/
|
|
|
|
|
|
|
|
|
30 |
class Enhanced_Ecommerce_Google_Analytics {
|
31 |
|
32 |
/**
|
70 |
if ( defined( 'PLUGIN_NAME_VERSION' ) ) {
|
71 |
$this->version = PLUGIN_NAME_VERSION;
|
72 |
} else {
|
73 |
+
$this->version = '2.2.1';
|
74 |
}
|
75 |
$this->plugin_name = 'enhanced-ecommerce-google-analytics';
|
76 |
$this->load_dependencies();
|
77 |
$this->set_locale();
|
78 |
$this->define_admin_hooks();
|
79 |
$this->define_public_hooks();
|
|
|
80 |
add_filter( 'plugin_action_links_' .plugin_basename( plugin_dir_path( __DIR__ ) . $this->plugin_name . '.php' ), array($this,'tvc_plugin_action_links'),10 );
|
81 |
}
|
82 |
|
227 |
* @since 1.0.0
|
228 |
* @return Enhanced_Ecommerce_Google_Analytics_Loader Orchestrates the hooks of the plugin.
|
229 |
*/
|
|
|
230 |
public function get_loader() {
|
231 |
return $this->loader;
|
232 |
}
|
237 |
* @since 1.0.0
|
238 |
* @return string The version number of the plugin.
|
239 |
*/
|
|
|
240 |
public function get_version() {
|
241 |
return $this->version;
|
242 |
}
|
249 |
$links[] = '<a href="https://1.envato.market/Yvn3R" target="_blank"><b>Upgrade to Premium</b></a>';
|
250 |
return $links;
|
251 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
}
|
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
|
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.
|
32 |
|
33 |
protected $tvc_aga;
|
34 |
|
@@ -242,30 +242,17 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
|
|
242 |
$order = new WC_Order($order_id);
|
243 |
//Get Applied Coupon Codes
|
244 |
$coupons_list = '';
|
245 |
-
if(
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
$i++;
|
254 |
-
}
|
255 |
}
|
256 |
-
}else{
|
257 |
-
if ($order->get_used_coupons()) {
|
258 |
-
$coupons_count = count($order->get_used_coupons());
|
259 |
-
$i = 1;
|
260 |
-
foreach ($order->get_used_coupons() as $coupon) {
|
261 |
-
$coupons_list .= $coupon;
|
262 |
-
if ($i < $coupons_count)
|
263 |
-
$coupons_list .= ', ';
|
264 |
-
$i++;
|
265 |
-
}
|
266 |
-
}
|
267 |
}
|
268 |
-
|
269 |
//get domain name if value is set
|
270 |
if (!empty($this->ga_Dname)) {
|
271 |
$set_domain_name = esc_js($this->ga_Dname);
|
@@ -276,9 +263,10 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
|
|
276 |
// Order items
|
277 |
if ($order->get_items()) {
|
278 |
foreach ($order->get_items() as $item) {
|
279 |
-
$_product = $
|
280 |
if (isset($_product->variation_data)) {
|
281 |
$categories=esc_js(wc_get_formatted_variation($_product->get_variation_attributes(), true));
|
|
|
282 |
} else {
|
283 |
$out = array();
|
284 |
if(version_compare($woocommerce->version, "2.7", "<")){
|
@@ -379,7 +367,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
|
|
379 |
function add_to_cart() {
|
380 |
if ($this->disable_tracking($this->ga_eeT))
|
381 |
return;
|
382 |
-
//return if not product page
|
383 |
if (!is_single())
|
384 |
return;
|
385 |
global $product,$woocommerce;
|
@@ -586,7 +574,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
|
|
586 |
}
|
587 |
|
588 |
} else {
|
589 |
-
//else prod add in homepage recent json
|
590 |
if(version_compare($woocommerce->version, "2.7", "<")){
|
591 |
$homepage_json_rp[get_permalink($product->id)] =array(
|
592 |
"tvc_id" => esc_html($product->id),
|
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.2.0';
|
32 |
|
33 |
protected $tvc_aga;
|
34 |
|
242 |
$order = new WC_Order($order_id);
|
243 |
//Get Applied Coupon Codes
|
244 |
$coupons_list = '';
|
245 |
+
if ($order->get_used_coupons()) {
|
246 |
+
$coupons_count = count($order->get_used_coupons());
|
247 |
+
$i = 1;
|
248 |
+
foreach ($order->get_used_coupons() as $coupon) {
|
249 |
+
$coupons_list .= $coupon;
|
250 |
+
if ($i < $coupons_count)
|
251 |
+
$coupons_list .= ', ';
|
252 |
+
$i++;
|
|
|
|
|
253 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
}
|
255 |
+
|
256 |
//get domain name if value is set
|
257 |
if (!empty($this->ga_Dname)) {
|
258 |
$set_domain_name = esc_js($this->ga_Dname);
|
263 |
// Order items
|
264 |
if ($order->get_items()) {
|
265 |
foreach ($order->get_items() as $item) {
|
266 |
+
$_product = $order->get_product_from_item($item);
|
267 |
if (isset($_product->variation_data)) {
|
268 |
$categories=esc_js(wc_get_formatted_variation($_product->get_variation_attributes(), true));
|
269 |
+
|
270 |
} else {
|
271 |
$out = array();
|
272 |
if(version_compare($woocommerce->version, "2.7", "<")){
|
367 |
function add_to_cart() {
|
368 |
if ($this->disable_tracking($this->ga_eeT))
|
369 |
return;
|
370 |
+
//return if not product page
|
371 |
if (!is_single())
|
372 |
return;
|
373 |
global $product,$woocommerce;
|
574 |
}
|
575 |
|
576 |
} else {
|
577 |
+
//else prod add in homepage recent json
|
578 |
if(version_compare($woocommerce->version, "2.7", "<")){
|
579 |
$homepage_json_rp[get_permalink($product->id)] =array(
|
580 |
"tvc_id" => esc_html($product->id),
|
readme.txt
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
Contributors: Tatvic
|
3 |
Plugin Name: Enhanced Ecommerce for WooCommerce Store
|
4 |
Plugin URI: http://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/
|
5 |
-
Tags: Google Analytics, Universal Analytics, Enhanced E-commerce, E-commerce,
|
6 |
Author URI: https://www.tatvic.com/
|
7 |
Author: Tatvic
|
8 |
-
Requires at least:
|
9 |
-
Tested up to: 5.
|
10 |
-
Requires PHP: 5.6
|
11 |
-
Stable tag: 2.
|
12 |
-
Version: 2.
|
13 |
License: GPLv3
|
14 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
15 |
|
@@ -17,103 +17,62 @@ Provides integration between Enhanced Ecommerce feature of Google Analytics and
|
|
17 |
|
18 |
== Description ==
|
19 |
|
20 |
-
<
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
37 |
|
38 |
-
Basically, you can track each and every impression and click of product, from which page they are added to cart, how user interact with your checkout page before making the final purchase by our Enhanced ecommerce Google analytics plugin.
|
39 |
|
40 |
-
|
|
|
41 |
|
42 |
-
|
43 |
|
44 |
-
|
45 |
|
46 |
-
|
47 |
|
|
|
48 |
|
49 |
-
= Features of Plugin =
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
* Shopping Behaviour Report
|
54 |
-
* Checkout Behaviour Report
|
55 |
-
* Product Performance Report
|
56 |
-
* Sales Performance Report
|
57 |
-
3. Supports Guest checkout functionality
|
58 |
-
4. Enables Audience, Acquisition & Behavior reports in Google Analytics
|
59 |
-
5. Captures Product Impressions, Add to Cart & Product Clicks events on category page
|
60 |
-
6. Captures Product Impressions, Add to Cart & Product Clicks events on product page
|
61 |
-
7. Captures Product Impressions, Add to Cart & Product Clicks events on featured Product Section on Homepage
|
62 |
-
8. Captures Product Impressions, Add to Cart & Product Clicks events on Recent Product Section on Homepage
|
63 |
-
9. Captures Product Impressions, Add to Cart & Product Clicks events on Related Product Section on Productpage
|
64 |
-
10. Captures checkout behaviour of users in Google Analytics under Conversion > Ecommerce > Checkout behaviour report
|
65 |
-
11. Capture transaction/conversion information in Google analytics under Conversion > Ecommerce > Sales performance report
|
66 |
-
12. Set your local currency
|
67 |
-
13. Google Analytics Opt Out
|
68 |
-
14. IP Anonymization
|
69 |
-
|
70 |
-
|
71 |
-
<strong>Want to unlock more advanced tracking for your WooCommerce store? <a href=" https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?utm_source=Wordpress&utm_medium=Listingcontent&utm_campaign=WPlisting">Give a try to our pro version.</a></strong>
|
72 |
-
|
73 |
-
== Features of our <a href=" https://codecanyon.net/item/actionable-google-analytics-for-woocommerce/9899552?utm_source=Wordpress&utm_medium=Listingcontent&utm_campaign=WPlisting">pro version</a>: ==
|
74 |
-
|
75 |
-
* All the features included in Enhanced ecommerce Google analytics plugin
|
76 |
-
* Additional 5 enhanced ecommerce reports in Google Analytics: Overview, product list performance report, order coupon report, Internal promotion report, product coupon report, Affiliate code report
|
77 |
-
* Facebook pixel tracking for remarketing on FB
|
78 |
-
* Google ads conversion tracking
|
79 |
-
* 20 custom dimensions and metrics
|
80 |
-
* User id and client id tracking for cross device user tracking
|
81 |
-
* Use your own GTM capability
|
82 |
-
* Product refund tracking
|
83 |
-
* Form field tracking
|
84 |
-
* Content grouping
|
85 |
-
* 404 tracking
|
86 |
-
* Opt in/ consent compatibility with WP GDPR compliance, borlabs cookies etc.
|
87 |
-
* Compatibility with other widely used plugins
|
88 |
-
* Child theme compatibility
|
89 |
-
* Premium support
|
90 |
-
* 1 hour custom development
|
91 |
-
* Customization as per your requirements(Paid)
|
92 |
-
|
93 |
-
<strong><a href="https://www.tatvic.com/contact/?utm_source=TatvicEE&utm_medium=InstallationDoc&utm_campaign=WPlisting">Reach out to us with your query here for a faster solution.</a></strong>
|
94 |
-
|
95 |
-
|
96 |
-
== Note For Beginners : ==
|
97 |
|
|
|
98 |
== Our plugin does not support the below features out of the box ==
|
99 |
-
|
100 |
* Highly Customized store
|
101 |
* Product types other than Simple Product
|
102 |
* Store with the Subscription product for Orders.
|
103 |
* Ecommerce Pages with Shortcodes
|
104 |
* Not fully compatible with the child/custom Theme
|
105 |
-
* Reach out to us if you have any of the above requirements and we will be happy to assist.
|
106 |
|
107 |
-
==
|
108 |
|
109 |
-
1.
|
|
|
|
|
|
|
110 |
|
|
|
|
|
111 |
2. Next, you need to activate your plugin from the Settings page by clicking the checkbox – “Add Enhanced Ecommerce Tracking Code". You can access the same from: Tatvic EE Plugin > Enhanced Ecommerce for WooCommerce.
|
112 |
-
|
113 |
3. To Track Guest Users, Check the box – Add Code to Track the Login Steps of Guest Users. If you have a Guest Check out & if it’s Unchecked, then it might cause an uneven funnel reporting in Google Analytics.
|
114 |
|
115 |
== Frequently Asked Questions ==
|
116 |
-
|
117 |
= Where can I find the setting for this plugin? =
|
118 |
|
119 |
This plugin will add the settings to the Integration tab, to be found in the WooCommerce > Settings menu.
|
@@ -243,32 +202,6 @@ To avoid sending your own transaction data or sessions data in Google Analytics,
|
|
243 |
|
244 |
== Changelog ==
|
245 |
|
246 |
-
= 2.3.4 - 13/04/2020 =
|
247 |
-
* Compatibility with WooCommerce 4.0.1
|
248 |
-
* Compatibility with Wordpress 5.4
|
249 |
-
|
250 |
-
= 2.3.3 - 03/03/2020 =
|
251 |
-
* Compatibility with WooCommerce 3.9.2
|
252 |
-
* Compatibility with Wordpress 5.3.2
|
253 |
-
* Minor UI Fixes
|
254 |
-
|
255 |
-
= 2.3.2 - 20/02/2020 =
|
256 |
-
* Compatibility with WooCommerce 3.9.2
|
257 |
-
* Compatibility with Wordpress 5.3.2
|
258 |
-
* get_coupon_codes function compatibility for older versions of WooCommerce
|
259 |
-
|
260 |
-
|
261 |
-
= 2.3.1 - 29/01/2020 =
|
262 |
-
* Compatibility with WooCommerce 3.9.1
|
263 |
-
* Compatibility with Wordpress 5.3.2
|
264 |
-
* Minor Bug Fixes
|
265 |
-
|
266 |
-
= 2.3.0 - 02/12/2019 =
|
267 |
-
* Compatibility with WooCommerce 3.8.0
|
268 |
-
* Compatibility with Wordpress 5.3
|
269 |
-
* Minor Bug Fixes
|
270 |
-
* Added 14 Days Free Trial of Actionable Google Analytics
|
271 |
-
|
272 |
= 2.2.1 - 24/09/2019 =
|
273 |
* Compatibility with WooCommerce 3.7.0
|
274 |
* Minor Bug Fixes
|
2 |
Contributors: Tatvic
|
3 |
Plugin Name: Enhanced Ecommerce for WooCommerce Store
|
4 |
Plugin URI: http://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/
|
5 |
+
Tags: Google Analytics, Universal Analytics, Enhanced E-commerce, E-commerce, e-commerce, woo-commerce,Ecommerce,WooCommerce, commerce, Wordpress Enhanced Ecommerce, WooCommerce Enhanced Ecommerce, WooCommerce Google Analytics, Google Analytics Plugin, Enhanced Ecommerce Plugin
|
6 |
Author URI: https://www.tatvic.com/
|
7 |
Author: Tatvic
|
8 |
+
Requires at least: 3.6
|
9 |
+
Tested up to: 5.2
|
10 |
+
Requires PHP: 5.6
|
11 |
+
Stable tag: 2.2.2
|
12 |
+
Version: 2.2.2
|
13 |
License: GPLv3
|
14 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
15 |
|
17 |
|
18 |
== Description ==
|
19 |
|
20 |
+
<a href="https://www.tatvic.com/enhanced-ecommerce-google-analytics-plugin-woocommerce/" target="_blank">Enhanced Ecommerce Google Analytics</a> is a Free Plugin for WooCommerce stores which allows businesses to make the most of the Google Analytics - Enhanced Ecommerce feature. You can track user behavior across your store starting from home page to thankyou page and take informed decisions to drive business/marketing outcomes. Enhanced Ecommerce is supported by Universal Analytics.
|
21 |
|
22 |
+
= Features of Plugin =
|
23 |
+
1. Quick & Easy installation from the wordpress interface
|
24 |
+
2. Supports four New Reports in Enhanced Ecommerce
|
25 |
+
* Shopping Behaviour Report
|
26 |
+
* Checkout Behaviour Report
|
27 |
+
* Product Performance Report
|
28 |
+
* Sales Performance Report
|
29 |
+
3. Supports Guest checkout functionality
|
30 |
+
4. Captures Product Impressions, Add to Cart & Product Clicks events on category page
|
31 |
+
5. Captures Product Impressions, Add to Cart & Product Clicks events on product page
|
32 |
+
6. Captures Product Impressions, Add to Cart & Product Clicks events on featured Product Section on Homepage
|
33 |
+
7. Captures Product Impressions, Add to Cart & Product Clicks events on Recent Product Section on Homepage
|
34 |
+
8. Captures Product Impressions, Add to Cart & Product Clicks events on Related Product Section on Productpage
|
35 |
+
9. Set your local currency
|
36 |
+
10. Google Analytics Opt Out
|
37 |
+
11. IP Anonymization
|
38 |
|
|
|
39 |
|
40 |
+
= Installation Instructions =
|
41 |
+
* Enable Enhanced E-commerce for your profile/view. This is a profile / view level setting and can be accessed under Admin > View > E-commerce Settings
|
42 |
|
43 |
+
* Add meaningful labels for your checkout steps. We recommend you to label as, Step 1 : Checkout View; Step 2 : Billing Info; Step 3 : Proceed to payment
|
44 |
|
45 |
+
* Activate our plug-in from the Settings page. You can access the setting page from sidebar Tatvic EE Plugin > Enhanced Ecommerce for Woocommerce.
|
46 |
|
47 |
+
* Find “Add Enhanced Ecommerce Tracking Code” in the settings page and check the box to add the tracking code
|
48 |
|
49 |
+
* If you have a guest checkout on your WooCommerce store, then Check the box “Add Code to Track the Login Step of Guest Users”. If you have a guest login but you do not check the box, then it might cause an uneven funnel reporting in Google Analytics.
|
50 |
|
|
|
51 |
|
52 |
+
= Need an Advanced Google Analytics Plugin? =
|
53 |
+
We have an Advanced Google Analytics Plugin for WooCommerce which includes tracking of all the 9 Reports of Enhanced Ecommerce, User ID Tracking, Product Refund, I.P. Anonymization, Google Ads Conversion Tracking, Facebook Pixel Tracking, 20+ Custom Dimensions & Metrics & much more. <a href="https://1.envato.market/Yvn3R" 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 |
* 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 |
|
65 |
+
1. Download the plugin file to your system and unzip it.
|
66 |
+
2. Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
|
67 |
+
3. Activate the plugin from the Plugins menu within the WordPress admin.
|
68 |
+
4. Enter your Universal Analytics ID for the plugin to enable the tracking code.
|
69 |
|
70 |
+
== Screenshots ==
|
71 |
+
1. Enable Enhanced E-commerce for your profile/view. This is a profile / view level setting and can be accessed under Admin > View > E-commerce Settings. Also, add meaningful labels for your checkout steps. We recommend you to label as, Step 1 : Checkout View; Step 2 : Login; Step 3 : Proceed to payment;
|
72 |
2. Next, you need to activate your plugin from the Settings page by clicking the checkbox – “Add Enhanced Ecommerce Tracking Code". You can access the same from: Tatvic EE Plugin > Enhanced Ecommerce for WooCommerce.
|
|
|
73 |
3. To Track Guest Users, Check the box – Add Code to Track the Login Steps of Guest Users. If you have a Guest Check out & if it’s Unchecked, then it might cause an uneven funnel reporting in Google Analytics.
|
74 |
|
75 |
== Frequently Asked Questions ==
|
|
|
76 |
= Where can I find the setting for this plugin? =
|
77 |
|
78 |
This plugin will add the settings to the Integration tab, to be found in the WooCommerce > Settings menu.
|
202 |
|
203 |
== Changelog ==
|
204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
= 2.2.1 - 24/09/2019 =
|
206 |
* Compatibility with WooCommerce 3.7.0
|
207 |
* Minor Bug Fixes
|