Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 4.7.3

Version Description

  • 12/05/2022 =
  • Update: Google Ads API Libraries
  • Fix: Fetch GA4 measurement id list on the onboarding page, the issue for some users.
  • Fix: GA4 tracking - Checkout steps issue has been fixed.
Download this release

Release Info

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

Code changes from version 4.7.2 to 4.7.3

admin/class-conversios-onboarding.php CHANGED
@@ -401,7 +401,9 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
401
  <p><?php esc_html_e("Your Google Ads Account has been created","conversios"); ?> <strong>(<b><span id="new_google_ads_id"></span></b>).</strong></p>
402
  <h5><?php esc_html_e("Steps to claim your Google Ads Account:","conversios"); ?></h5>
403
  <ol>
404
- <li><?php esc_html_e("Accept invitation mail from Google Ads sent to your email address","conversios"); ?> <em><?php echo (isset($this->tvc_data['g_mail']))?esc_attr($this->tvc_data['g_mail']):""; ?></em></li>
 
 
405
  <li><?php esc_html_e("Log into your Google Ads account and set up your billing preferences","conversios"); ?></li>
406
  </ol>
407
  </div>
401
  <p><?php esc_html_e("Your Google Ads Account has been created","conversios"); ?> <strong>(<b><span id="new_google_ads_id"></span></b>).</strong></p>
402
  <h5><?php esc_html_e("Steps to claim your Google Ads Account:","conversios"); ?></h5>
403
  <ol>
404
+ <li><?php esc_html_e("Accept invitation mail from Google Ads sent to your email address","conversios"); ?> <em><?php echo (isset($this->tvc_data['g_mail']))?esc_attr($this->tvc_data['g_mail']):""; ?></em><span id="invitationLink"><br><em>OR</em> Open
405
+ <a href="" target="_blank" id="ads_invitationLink">Invitation Link</a></span>
406
+ </li>
407
  <li><?php esc_html_e("Log into your Google Ads account and set up your billing preferences","conversios"); ?></li>
408
  </ol>
409
  </div>
admin/js/onboarding-custom.js CHANGED
@@ -129,8 +129,7 @@ jQuery(document).ready(function () {
129
  event.stopPropagation();
130
  })
131
 
132
-
133
- jQuery(".google_analytics_sel").on( "change", function() {
134
  is_validate_step("step_1");
135
  jQuery(".onbrdstep-1").removeClass('selectedactivestep');
136
  jQuery(".onbrdstep-3").removeClass('selectedactivestep');
@@ -138,7 +137,7 @@ jQuery(document).ready(function () {
138
  jQuery("[data-id=step_1]").attr("data-is-done",0);
139
  jQuery("[data-id=step_2]").attr("data-is-done",0);
140
  jQuery("[data-id=step_3]").attr("data-is-done",0);
141
- });
142
  //step-2
143
  jQuery(".google_ads_sel").on( "change", function() {
144
  //jQuery(".onbrdstep-1").removeClass('selectedactivestep');
@@ -261,7 +260,7 @@ function save_analytics_web_properties(tracking_option, tvc_data, subscription_i
261
  conversios_onboarding_nonce:conversios_onboarding_nonce
262
  };
263
  //console.log(data);
264
- $.ajax({
265
  type: "POST",
266
  dataType: "json",
267
  url: tvc_ajax_url,
@@ -307,7 +306,7 @@ function save_google_ads_data(google_ads_id, tvc_data, subscription_id, is_skip=
307
  tvc_data:tvc_data,
308
  conversios_onboarding_nonce:conversios_onboarding_nonce
309
  };
310
- $.ajax({
311
  type: "POST",
312
  dataType: "json",
313
  url: tvc_ajax_url,
@@ -321,11 +320,8 @@ function save_google_ads_data(google_ads_id, tvc_data, subscription_id, is_skip=
321
  //jQuery("#ads-account").val(google_ads_id);
322
  let tracking_option = jQuery('input:radio[name=analytic_tag_type]:checked').val();
323
  var s_tracking_option = tracking_option.toLowerCase();
324
- if(plan_id != 1){
325
- check_oradd_conversion_list(google_ads_id, tvc_data);
326
- }
327
 
328
- if (jQuery("#link_google_analytics_with_google_ads").is(':checked')) {
329
  if(tracking_option == "UA" || tracking_option == "BOTH"){
330
  if(tracking_option == "BOTH"){
331
  s_tracking_option = "both_ua";
@@ -344,13 +340,69 @@ function save_google_ads_data(google_ads_id, tvc_data, subscription_id, is_skip=
344
  //console.log("google_ads_id"+google_ads_id+"profile_id"+profile_id);
345
  //console.log(UalinkData);
346
  if(google_ads_id != "" && profile_id != undefined){
347
- setTimeout(function(){
348
- link_analytic_to_ads_account(UalinkData);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
349
  }, 1000);
350
  }
351
 
352
- }
353
- if(tracking_option == "GA4" || tracking_option == "BOTH"){
354
  if(tracking_option == "BOTH"){
355
  s_tracking_option = "both_ga4";
356
  }
@@ -367,10 +419,34 @@ function save_google_ads_data(google_ads_id, tvc_data, subscription_id, is_skip=
367
  //console.log("web_property"+web_property);
368
  if(google_ads_id != "" && web_property != undefined){
369
  setTimeout(function(){
370
- link_analytic_to_ads_account(Ga4linkData);
371
- }, 1500);
372
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  }
 
 
 
 
 
 
374
  loaderSection(false);
375
  return true;
376
  }
@@ -403,7 +479,7 @@ function save_merchant_data(google_merchant_center_id, merchant_id, tvc_data, su
403
  tvc_data:tvc_data,
404
  conversios_onboarding_nonce:conversios_onboarding_nonce
405
  };
406
- $.ajax({
407
  type: "POST",
408
  dataType: "json",
409
  url: tvc_ajax_url,
@@ -455,7 +531,7 @@ function check_oradd_conversion_list(google_ads_id, tvc_data){
455
  tvc_data:tvc_data,
456
  conversios_onboarding_nonce:conversios_onboarding_nonce
457
  };
458
- $.ajax({
459
  type: "POST",
460
  dataType: "json",
461
  url: tvc_ajax_url,
@@ -481,26 +557,27 @@ function check_oradd_conversion_list(google_ads_id, tvc_data){
481
  }
482
  }
483
  /* link account code */
484
- function link_analytic_to_ads_account(data) {
485
  $.ajax({
486
  type: "POST",
487
  dataType: "json",
488
  url: tvc_ajax_url,
489
  data: data,
490
  success: function (response) {
 
491
  clearTimeout(tvc_time_out);
492
  if(response.error === false){
493
  add_message("success","Google ananlytics and google ads linked successfully.");
494
  }else{
495
- const errors = JSON.parse(response?.errors[0]);
496
- add_message("error",errors?.message);
497
  }
498
  }
499
  });
500
- }
501
 
502
  function link_google_Ads_to_merchant_center(link_data, tvc_data, subscription_id){
503
- $.ajax({
504
  type: "POST",
505
  dataType: "json",
506
  url: tvc_ajax_url,
@@ -526,7 +603,7 @@ function link_google_Ads_to_merchant_center(link_data, tvc_data, subscription_id
526
  /* get subscription details */
527
  function get_subscription_details(tvc_data, subscription_id) {
528
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
529
- $.ajax({
530
  type: "POST",
531
  dataType: "json",
532
  url: tvc_ajax_url,
@@ -600,7 +677,7 @@ function list_analytics_web_properties(type, tvc_data, page =1) {
600
  loaderSection(true);
601
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
602
  //console.log("page"+page);
603
- $.ajax({
604
  type: "POST",
605
  dataType: "json",
606
  url: tvc_ajax_url,
@@ -618,7 +695,7 @@ function list_analytics_web_properties(type, tvc_data, page =1) {
618
  //console.log("call option");
619
  //console.log(Object.keys(response.data.wep_properties).length +"=="+response.data.wep_properties.length);
620
  if(response.data != null && response.data.wep_properties.length > 0){
621
- $.each(response.data.wep_properties, function (propKey, propValue) {
622
  var selected ="";
623
  if (subscriptionPropertyId == propValue.webPropertyId) {
624
  if(ga_view_id != "" && ga_view_id == propValue.id){
@@ -626,9 +703,10 @@ function list_analytics_web_properties(type, tvc_data, page =1) {
626
  }else if(ga_view_id =="" ){
627
  selected = "selected='selected'";
628
  }
629
- if(type == "BOTH"){
630
  s_tracking_option = "both_ua";
631
- }
 
632
  jQuery("#"+s_tracking_option+"_web_property_id_option_val").attr("data-profileid",propValue.id);
633
  }else{
634
  selected = "";
@@ -637,6 +715,10 @@ function list_analytics_web_properties(type, tvc_data, page =1) {
637
  });
638
  }else{
639
  //console.log("hide option");
 
 
 
 
640
  jQuery(".tvc-ua-option-more").hide();
641
  }
642
  jQuery('#ua_web_property_id_option > .tvc-select-items').append(PropOptions);
@@ -647,13 +729,14 @@ function list_analytics_web_properties(type, tvc_data, page =1) {
647
  var subscriptionMeasurementId = jQuery("#subscriptionMeasurementId").val();
648
  var MeasOptions = '';
649
  if(response.data != null && response.data.wep_measurement.length > 0){
650
- $.each(response.data.wep_measurement, function (measKey, measValue) {
651
  var web_property = measValue.name.split("/");
652
  if (subscriptionMeasurementId == measValue.measurementId) {
653
  var selected = "selected='selected'";
654
- if(type == "BOTH"){
655
  s_tracking_option = "both_ga4";
656
- }
 
657
  jQuery("#"+s_tracking_option+"_web_measurement_id_option_val").attr('data-name',web_property[1]);
658
  } else {
659
  var selected = "";
@@ -662,6 +745,10 @@ function list_analytics_web_properties(type, tvc_data, page =1) {
662
  });
663
  }else{
664
  //console.log("hide option");
 
 
 
 
665
  jQuery(".tvc-ga4-option-more").hide();
666
  }
667
  jQuery('#ga4_web_measurement_id_option > .tvc-select-items').append(MeasOptions);
@@ -690,7 +777,7 @@ function list_googl_ads_account(tvc_data) {
690
  //loaderSection(true);
691
  var selectedValue = jQuery("#subscriptionGoogleAdsId").val();
692
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
693
- $.ajax({
694
  type: "POST",
695
  dataType: "json",
696
  url: tvc_ajax_url,
@@ -706,7 +793,7 @@ function list_googl_ads_account(tvc_data) {
706
  add_message("warning","There are no Google ads accounts associated with email.");
707
  } else {
708
  if(response.data.length > 0){
709
- $.each(response.data, function (key, value) {
710
  if (selectedValue == value) {
711
  jQuery('#ads-account').append(jQuery('<option>', { value: value, text: value,selected: "selected"}));
712
  } else {
@@ -736,7 +823,7 @@ function call_list_google_merchant_account(tvc_data){
736
  function list_google_merchant_account(tvc_data){
737
  var selectedValue = jQuery("#subscriptionMerchantCenId").val();
738
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
739
- $.ajax({
740
  type: "POST",
741
  dataType: "json",
742
  url: tvc_ajax_url,
@@ -746,7 +833,7 @@ function list_google_merchant_account(tvc_data){
746
  jQuery('#google_merchant_center_id').empty();
747
  jQuery('#google_merchant_center_id').append(jQuery('<option>', {value: "", text: "Select Google Merchant Center"}));
748
  if (response.data.length > 0) {
749
- $.each(response.data, function (key, value) {
750
  if(selectedValue == value.account_id){
751
  jQuery('#google_merchant_center_id').append(jQuery('<option>', {value: value.account_id, "data-merchant_id": value.merchant_id, text: value.account_id,selected: "selected"}));
752
  }else{
@@ -770,7 +857,7 @@ function list_google_merchant_account(tvc_data){
770
  /* Create function */
771
  function create_google_ads_account(tvc_data){
772
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
773
- $.ajax({
774
  type: "POST",
775
  dataType: "json",
776
  url: tvc_ajax_url,
@@ -782,6 +869,12 @@ function create_google_ads_account(tvc_data){
782
  if (response.error === false) {
783
  add_message("success",response.data.message);
784
  jQuery("#new_google_ads_id").text(response.data.adwords_id);
 
 
 
 
 
 
785
  jQuery("#tvc_ads_section").slideUp();
786
  jQuery("#new_google_ads_section").slideDown();
787
  //localStorage.setItem("new_google_ads_id", response.data.adwords_id);
@@ -832,7 +925,7 @@ function create_google_merchant_center_account(tvc_data){
832
  tvc_data:tvc_data,
833
  conversios_onboarding_nonce:conversios_onboarding_nonce
834
  };
835
- $.ajax({
836
  type: "POST",
837
  dataType: "json",
838
  url: tvc_ajax_url,
129
  event.stopPropagation();
130
  })
131
 
132
+ /*jQuery(".google_analytics_sel").on( "change", function() {
 
133
  is_validate_step("step_1");
134
  jQuery(".onbrdstep-1").removeClass('selectedactivestep');
135
  jQuery(".onbrdstep-3").removeClass('selectedactivestep');
137
  jQuery("[data-id=step_1]").attr("data-is-done",0);
138
  jQuery("[data-id=step_2]").attr("data-is-done",0);
139
  jQuery("[data-id=step_3]").attr("data-is-done",0);
140
+ }); */
141
  //step-2
142
  jQuery(".google_ads_sel").on( "change", function() {
143
  //jQuery(".onbrdstep-1").removeClass('selectedactivestep');
260
  conversios_onboarding_nonce:conversios_onboarding_nonce
261
  };
262
  //console.log(data);
263
+ jQuery.ajax({
264
  type: "POST",
265
  dataType: "json",
266
  url: tvc_ajax_url,
306
  tvc_data:tvc_data,
307
  conversios_onboarding_nonce:conversios_onboarding_nonce
308
  };
309
+ jQuery.ajax({
310
  type: "POST",
311
  dataType: "json",
312
  url: tvc_ajax_url,
320
  //jQuery("#ads-account").val(google_ads_id);
321
  let tracking_option = jQuery('input:radio[name=analytic_tag_type]:checked').val();
322
  var s_tracking_option = tracking_option.toLowerCase();
 
 
 
323
 
324
+ if (jQuery("#link_google_analytics_with_google_ads").is(':checked')) {
325
  if(tracking_option == "UA" || tracking_option == "BOTH"){
326
  if(tracking_option == "BOTH"){
327
  s_tracking_option = "both_ua";
340
  //console.log("google_ads_id"+google_ads_id+"profile_id"+profile_id);
341
  //console.log(UalinkData);
342
  if(google_ads_id != "" && profile_id != undefined){
343
+ setTimeout(function(){
344
+ //link_analytic_to_ads_account(UalinkData);
345
+ jQuery.ajax({
346
+ type: "POST",
347
+ dataType: "json",
348
+ url: tvc_ajax_url,
349
+ data: UalinkData,
350
+ success: function (response) {
351
+ clearTimeout(tvc_time_out);
352
+ if(response.error === false){
353
+ add_message("success","Google ananlytics and google ads linked successfully.");
354
+ }else{
355
+ //const errors = JSON.parse(response?.errors[0]);
356
+ //add_message("error",errors?.message);
357
+ }
358
+
359
+ /* start GA4 */
360
+ if(tracking_option == "GA4" || tracking_option == "BOTH"){
361
+ if(tracking_option == "BOTH"){
362
+ s_tracking_option = "both_ga4";
363
+ }
364
+ var web_property = jQuery("#"+s_tracking_option+"_web_measurement_id_option_val").attr('data-name');
365
+ var Ga4linkData = {
366
+ action: "link_analytic_to_ads_account",
367
+ type: "GA4",
368
+ ads_customer_id: google_ads_id,
369
+ web_property_id: jQuery("#"+s_tracking_option+"_web_measurement_id_option_val").attr("data-val"),
370
+ web_property: web_property,
371
+ tvc_data:tvc_data,
372
+ conversios_onboarding_nonce:conversios_onboarding_nonce
373
+ };
374
+ //console.log("web_property"+web_property);
375
+ if(google_ads_id != "" && web_property != undefined){
376
+ //setTimeout(function(){
377
+ //console.log("cal GA4 link");
378
+ //link_analytic_to_ads_account(Ga4linkData);
379
+ jQuery.ajax({
380
+ type: "POST",
381
+ dataType: "json",
382
+ url: tvc_ajax_url,
383
+ data: Ga4linkData,
384
+ success: function (response) {
385
+ console.log(response);
386
+ clearTimeout(tvc_time_out);
387
+ if(response.error === false){
388
+ add_message("success","Google ananlytics and google ads linked successfully.");
389
+ }else{
390
+ //const errors = JSON.parse(response?.errors[0]);
391
+ //add_message("error",errors?.message);
392
+ }
393
+ }
394
+ });
395
+ //}, 1000);
396
+ }
397
+ }
398
+ /* end GA4 */
399
+
400
+ }
401
+ });
402
  }, 1000);
403
  }
404
 
405
+ }else if(tracking_option == "GA4" || tracking_option == "BOTH"){
 
406
  if(tracking_option == "BOTH"){
407
  s_tracking_option = "both_ga4";
408
  }
419
  //console.log("web_property"+web_property);
420
  if(google_ads_id != "" && web_property != undefined){
421
  setTimeout(function(){
422
+ //console.log("cal GA4 link");
423
+ //link_analytic_to_ads_account(Ga4linkData);
424
+ jQuery.ajax({
425
+ type: "POST",
426
+ dataType: "json",
427
+ url: tvc_ajax_url,
428
+ data: Ga4linkData,
429
+ success: function (response) {
430
+ console.log(response);
431
+ clearTimeout(tvc_time_out);
432
+ if(response.error === false){
433
+ add_message("success","Google ananlytics and google ads linked successfully.");
434
+ }else{
435
+ //const errors = JSON.parse(response?.errors[0]);
436
+ //add_message("error",errors?.message);
437
+ }
438
+ }
439
+ });
440
+ }, 1000);
441
+ }
442
+ /* end GA4 */
443
  }
444
+
445
+ if(plan_id != 1){
446
+ setTimeout(function(){
447
+ check_oradd_conversion_list(google_ads_id, tvc_data);
448
+ }, 3500);
449
+ }
450
  loaderSection(false);
451
  return true;
452
  }
479
  tvc_data:tvc_data,
480
  conversios_onboarding_nonce:conversios_onboarding_nonce
481
  };
482
+ jQuery.ajax({
483
  type: "POST",
484
  dataType: "json",
485
  url: tvc_ajax_url,
531
  tvc_data:tvc_data,
532
  conversios_onboarding_nonce:conversios_onboarding_nonce
533
  };
534
+ jQuery.ajax({
535
  type: "POST",
536
  dataType: "json",
537
  url: tvc_ajax_url,
557
  }
558
  }
559
  /* link account code */
560
+ /*function link_analytic_to_ads_account(data) {
561
  $.ajax({
562
  type: "POST",
563
  dataType: "json",
564
  url: tvc_ajax_url,
565
  data: data,
566
  success: function (response) {
567
+ console.log(response);
568
  clearTimeout(tvc_time_out);
569
  if(response.error === false){
570
  add_message("success","Google ananlytics and google ads linked successfully.");
571
  }else{
572
+ //const errors = JSON.parse(response?.errors[0]);
573
+ //add_message("error",errors?.message);
574
  }
575
  }
576
  });
577
+ }*/
578
 
579
  function link_google_Ads_to_merchant_center(link_data, tvc_data, subscription_id){
580
+ jQuery.ajax({
581
  type: "POST",
582
  dataType: "json",
583
  url: tvc_ajax_url,
603
  /* get subscription details */
604
  function get_subscription_details(tvc_data, subscription_id) {
605
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
606
+ jQuery.ajax({
607
  type: "POST",
608
  dataType: "json",
609
  url: tvc_ajax_url,
677
  loaderSection(true);
678
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
679
  //console.log("page"+page);
680
+ jQuery.ajax({
681
  type: "POST",
682
  dataType: "json",
683
  url: tvc_ajax_url,
695
  //console.log("call option");
696
  //console.log(Object.keys(response.data.wep_properties).length +"=="+response.data.wep_properties.length);
697
  if(response.data != null && response.data.wep_properties.length > 0){
698
+ jQuery.each(response.data.wep_properties, function (propKey, propValue) {
699
  var selected ="";
700
  if (subscriptionPropertyId == propValue.webPropertyId) {
701
  if(ga_view_id != "" && ga_view_id == propValue.id){
703
  }else if(ga_view_id =="" ){
704
  selected = "selected='selected'";
705
  }
706
+ /*if(type == "BOTH"){
707
  s_tracking_option = "both_ua";
708
+ }*/
709
+ jQuery("#both_ua_web_property_id_option_val").attr("data-profileid",propValue.id);
710
  jQuery("#"+s_tracking_option+"_web_property_id_option_val").attr("data-profileid",propValue.id);
711
  }else{
712
  selected = "";
715
  });
716
  }else{
717
  //console.log("hide option");
718
+ if(page == 1){
719
+ list_analytics_web_properties(type, tvc_data, 2);
720
+ return;
721
+ }
722
  jQuery(".tvc-ua-option-more").hide();
723
  }
724
  jQuery('#ua_web_property_id_option > .tvc-select-items').append(PropOptions);
729
  var subscriptionMeasurementId = jQuery("#subscriptionMeasurementId").val();
730
  var MeasOptions = '';
731
  if(response.data != null && response.data.wep_measurement.length > 0){
732
+ jQuery.each(response.data.wep_measurement, function (measKey, measValue) {
733
  var web_property = measValue.name.split("/");
734
  if (subscriptionMeasurementId == measValue.measurementId) {
735
  var selected = "selected='selected'";
736
+ /*if(type == "BOTH"){
737
  s_tracking_option = "both_ga4";
738
+ };*/
739
+ jQuery("#both_ga4_web_measurement_id_option_val").attr('data-name',web_property[1]);
740
  jQuery("#"+s_tracking_option+"_web_measurement_id_option_val").attr('data-name',web_property[1]);
741
  } else {
742
  var selected = "";
745
  });
746
  }else{
747
  //console.log("hide option");
748
+ if(page == 1){
749
+ list_analytics_web_properties(type, tvc_data, 2);
750
+ return;
751
+ }
752
  jQuery(".tvc-ga4-option-more").hide();
753
  }
754
  jQuery('#ga4_web_measurement_id_option > .tvc-select-items').append(MeasOptions);
777
  //loaderSection(true);
778
  var selectedValue = jQuery("#subscriptionGoogleAdsId").val();
779
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
780
+ jQuery.ajax({
781
  type: "POST",
782
  dataType: "json",
783
  url: tvc_ajax_url,
793
  add_message("warning","There are no Google ads accounts associated with email.");
794
  } else {
795
  if(response.data.length > 0){
796
+ jQuery.each(response.data, function (key, value) {
797
  if (selectedValue == value) {
798
  jQuery('#ads-account').append(jQuery('<option>', { value: value, text: value,selected: "selected"}));
799
  } else {
823
  function list_google_merchant_account(tvc_data){
824
  var selectedValue = jQuery("#subscriptionMerchantCenId").val();
825
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
826
+ jQuery.ajax({
827
  type: "POST",
828
  dataType: "json",
829
  url: tvc_ajax_url,
833
  jQuery('#google_merchant_center_id').empty();
834
  jQuery('#google_merchant_center_id').append(jQuery('<option>', {value: "", text: "Select Google Merchant Center"}));
835
  if (response.data.length > 0) {
836
+ jQuery.each(response.data, function (key, value) {
837
  if(selectedValue == value.account_id){
838
  jQuery('#google_merchant_center_id').append(jQuery('<option>', {value: value.account_id, "data-merchant_id": value.merchant_id, text: value.account_id,selected: "selected"}));
839
  }else{
857
  /* Create function */
858
  function create_google_ads_account(tvc_data){
859
  var conversios_onboarding_nonce = jQuery("#conversios_onboarding_nonce").val();
860
+ jQuery.ajax({
861
  type: "POST",
862
  dataType: "json",
863
  url: tvc_ajax_url,
869
  if (response.error === false) {
870
  add_message("success",response.data.message);
871
  jQuery("#new_google_ads_id").text(response.data.adwords_id);
872
+ if(response.data.invitationLink != ""){
873
+ jQuery("#ads_invitationLink").attr("href",response.data.invitationLink);
874
+ }else{
875
+ jQuery("#invitationLink").html("");
876
+ }
877
+
878
  jQuery("#tvc_ads_section").slideUp();
879
  jQuery("#new_google_ads_section").slideDown();
880
  //localStorage.setItem("new_google_ads_id", response.data.adwords_id);
925
  tvc_data:tvc_data,
926
  conversios_onboarding_nonce:conversios_onboarding_nonce
927
  };
928
+ jQuery.ajax({
929
  type: "POST",
930
  dataType: "json",
931
  url: tvc_ajax_url,
enhanced-ecommerce-google-analytics.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Conversios.io - Google Analytics and Google Shopping plugin for WooCommerce
16
  * Plugin URI: https://www.tatvic.com/tatvic-labs/woocommerce-extension/
17
  * Description: Automates eCommerce tracking in Google Analytics, dynamic remarkting in Google Ads, and provides complete Google Shopping features.
18
- * Version: 4.7.2
19
  * Author: Tatvic
20
  * Author URI: www.tatvic.com
21
  * License: GPL-2.0+
@@ -23,7 +23,7 @@
23
  * Text Domain: www.tatvic.com
24
  * Domain Path: /languages
25
  * WC requires at least: 3.5.0
26
- * WC tested up to: 6.4.0
27
  */
28
 
29
  /**
@@ -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_TVC_VERSION', '4.7.2' );
41
  $fullName = plugin_basename( __FILE__ );
42
  $dir = str_replace('/enhanced-ecommerce-google-analytics.php','',$fullName);
43
  if ( ! defined( 'ENHANCAD_PLUGIN_NAME' ) ) {
15
  * Plugin Name: Conversios.io - Google Analytics and Google Shopping plugin for WooCommerce
16
  * Plugin URI: https://www.tatvic.com/tatvic-labs/woocommerce-extension/
17
  * Description: Automates eCommerce tracking in Google Analytics, dynamic remarkting in Google Ads, and provides complete Google Shopping features.
18
+ * Version: 4.7.3
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: 3.5.0
26
+ * WC tested up to: 6.5.0
27
  */
28
 
29
  /**
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_TVC_VERSION', '4.7.3' );
41
  $fullName = plugin_basename( __FILE__ );
42
  $dir = str_replace('/enhanced-ecommerce-google-analytics.php','',$fullName);
43
  if ( ! defined( 'ENHANCAD_PLUGIN_NAME' ) ) {
public/class-enhanced-ecommerce-google-analytics-public-pro.php CHANGED
@@ -82,8 +82,8 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
82
  $this->version = sanitize_text_field($version);
83
  $this->ee_options = $this->TVC_Admin_Helper->get_ee_options_settings();
84
  $this->tvc_conversion_tracking_type = sanitize_text_field($this->get_option("tvc_conversion_tracking_type"));
85
- $this->tvc_product_detail_tracking_type = sanitize_text_field($this->get_option("tvc_product_detail_tracking_type"));
86
- $this->tvc_checkout_tracking_type = sanitize_text_field($this->get_option("tvc_checkout_tracking_type"));
87
  $this->tvc_call_hooks();
88
 
89
  $this->ga_Dname = "auto";
@@ -202,8 +202,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
202
  add_action("woocommerce_before_checkout_form", array($this, "checkout_step_2_tracking"));
203
  add_action("woocommerce_before_checkout_form", array($this, "checkout_step_3_tracking"));
204
  }
205
- //add version details in footer
206
- add_action("wp_footer", array($this, "add_plugin_details"));
207
  //Add Dev ID
208
  add_action("wp_head", array($this, "add_dev_id"));
209
  add_action("wp_footer", array($this, "tvc_store_meta_data"));
@@ -396,16 +395,6 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
396
  <?php
397
  }
398
 
399
- /**
400
- * display details of plugin
401
- *
402
- * @access public
403
- * @return void
404
- */
405
- function add_plugin_details() {
406
- printf("<!--%s %s-->",esc_html__("Enhanced Ecommerce Google Analytics Plugin for Woocommerce by Tatvic Plugin Version:","conversios"),esc_attr($this->tvc_eeVer));
407
- }
408
-
409
  /**
410
  * Check if tracking is disabled
411
  *
@@ -478,6 +467,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
478
  }*/
479
  //add gtag js snippets
480
  if( $this->tracking_option == "BOTH" && $this->gm_id && $this->ga_id){ ?>
 
481
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($this->gm_id); ?>"></script>
482
  <script>
483
  window.dataLayer = window.dataLayer || [];
@@ -509,6 +499,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
509
  </script>
510
  <?php
511
  }else if($this->tracking_option == "GA4" && $this->gm_id){ ?>
 
512
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($this->gm_id); ?>"></script>
513
  <script>
514
  window.dataLayer = window.dataLayer || [];
@@ -539,6 +530,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
539
  </script>
540
  <?php
541
  }else if($this->ga_id){ ?>
 
542
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($this->ga_id); ?>"></script>
543
  <script>
544
  window.dataLayer = window.dataLayer || [];
@@ -585,7 +577,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
585
  /*facebook pixel*/
586
  if($this->fb_pixel_id != ""){
587
  ?>
588
- <!-- Meta Pixel Code -->
589
  <script>
590
  !function(f,b,e,v,n,t,s)
591
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
@@ -1519,7 +1511,7 @@ src="https://www.facebook.com/tr?id=<?php echo esc_js($this->fb_pixel_id); ?>&ev
1519
  if ($this->disable_tracking($this->ga_eeT) || !is_checkout() || is_order_received_page() ) {
1520
  return;
1521
  }
1522
- if($this->ga_id || $this->tracking_option == "UA" || $this->tracking_option == "BOTH") {
1523
  //call fn to make json
1524
  $chkout_json = $this->get_ordered_items();
1525
  $cart_total = WC()->cart->total;
@@ -1546,7 +1538,7 @@ src="https://www.facebook.com/tr?id=<?php echo esc_js($this->fb_pixel_id); ?>&ev
1546
  if ($this->disable_tracking($this->ga_eeT) || !is_checkout() || is_order_received_page() ) {
1547
  return;
1548
  }
1549
- if($this->ga_id || $this->tracking_option == "UA" || $this->tracking_option == "BOTH" || $this->gm_id) {
1550
  $code= '
1551
  var items = [];
1552
  gtag("set", {"currency": tvc_lc});
@@ -1586,7 +1578,7 @@ src="https://www.facebook.com/tr?id=<?php echo esc_js($this->fb_pixel_id); ?>&ev
1586
  if ($this->disable_tracking($this->ga_eeT) || !is_checkout() || is_order_received_page() ) {
1587
  return;
1588
  }
1589
- if($this->ga_id || $this->tracking_option == "UA" || $this->tracking_option == "BOTH" || $this->gm_id) {
1590
  $code= '
1591
  var items = [];
1592
  for(var t_item in tvc_ch){
82
  $this->version = sanitize_text_field($version);
83
  $this->ee_options = $this->TVC_Admin_Helper->get_ee_options_settings();
84
  $this->tvc_conversion_tracking_type = sanitize_text_field($this->get_option("tvc_conversion_tracking_type"));
85
+ $this->tvc_product_detail_tracking_type = sanitize_text_field($this->get_option("tvc_product_detail_conversion_tracking_type"));
86
+ $this->tvc_checkout_tracking_type = sanitize_text_field($this->get_option("tvc_checkout_conversion_tracking_type"));
87
  $this->tvc_call_hooks();
88
 
89
  $this->ga_Dname = "auto";
202
  add_action("woocommerce_before_checkout_form", array($this, "checkout_step_2_tracking"));
203
  add_action("woocommerce_before_checkout_form", array($this, "checkout_step_3_tracking"));
204
  }
205
+
 
206
  //Add Dev ID
207
  add_action("wp_head", array($this, "add_dev_id"));
208
  add_action("wp_footer", array($this, "tvc_store_meta_data"));
395
  <?php
396
  }
397
 
 
 
 
 
 
 
 
 
 
 
398
  /**
399
  * Check if tracking is disabled
400
  *
467
  }*/
468
  //add gtag js snippets
469
  if( $this->tracking_option == "BOTH" && $this->gm_id && $this->ga_id){ ?>
470
+ <!--Conversios.io – Google Analytics and Google Shopping plugin for WooCommerce-->
471
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($this->gm_id); ?>"></script>
472
  <script>
473
  window.dataLayer = window.dataLayer || [];
499
  </script>
500
  <?php
501
  }else if($this->tracking_option == "GA4" && $this->gm_id){ ?>
502
+ <!--Conversios.io – Google Analytics and Google Shopping plugin for WooCommerce-->
503
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($this->gm_id); ?>"></script>
504
  <script>
505
  window.dataLayer = window.dataLayer || [];
530
  </script>
531
  <?php
532
  }else if($this->ga_id){ ?>
533
+ <!--Conversios.io – Google Analytics and Google Shopping plugin for WooCommerce-->
534
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($this->ga_id); ?>"></script>
535
  <script>
536
  window.dataLayer = window.dataLayer || [];
577
  /*facebook pixel*/
578
  if($this->fb_pixel_id != ""){
579
  ?>
580
+ <!-- Conversios.io - Meta Pixel Code -->
581
  <script>
582
  !function(f,b,e,v,n,t,s)
583
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
1511
  if ($this->disable_tracking($this->ga_eeT) || !is_checkout() || is_order_received_page() ) {
1512
  return;
1513
  }
1514
+ if($this->ga_id || $this->tracking_option == "UA" || $this->tracking_option == "BOTH" || $this->tracking_option == "GA4" || $this->gm_id) {
1515
  //call fn to make json
1516
  $chkout_json = $this->get_ordered_items();
1517
  $cart_total = WC()->cart->total;
1538
  if ($this->disable_tracking($this->ga_eeT) || !is_checkout() || is_order_received_page() ) {
1539
  return;
1540
  }
1541
+ if($this->ga_id || $this->tracking_option == "UA" || $this->tracking_option == "BOTH" || $this->tracking_option == "GA4" || $this->gm_id) {
1542
  $code= '
1543
  var items = [];
1544
  gtag("set", {"currency": tvc_lc});
1578
  if ($this->disable_tracking($this->ga_eeT) || !is_checkout() || is_order_received_page() ) {
1579
  return;
1580
  }
1581
+ if($this->ga_id || $this->tracking_option == "UA" || $this->tracking_option == "BOTH" || $this->tracking_option == "GA4" || $this->gm_id) {
1582
  $code= '
1583
  var items = [];
1584
  for(var t_item in tvc_ch){
public/class-enhanced-ecommerce-google-analytics-public.php CHANGED
@@ -116,8 +116,8 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
116
 
117
  $this->ee_options = $this->TVC_Admin_Helper->get_ee_options_settings();
118
  $this->tvc_conversion_tracking_type = sanitize_text_field($this->get_option("tvc_conversion_tracking_type"));
119
- $this->tvc_product_detail_tracking_type = sanitize_text_field($this->get_option("tvc_product_detail_tracking_type"));
120
- $this->tvc_checkout_tracking_type = sanitize_text_field($this->get_option("tvc_checkout_tracking_type"));
121
  $this->tvc_call_hooks();
122
  $this->ga_id = sanitize_text_field($this->get_option("ga_id"));
123
  $this->ga_eeT = sanitize_text_field($this->get_option("ga_eeT"));
@@ -184,8 +184,6 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
184
  }
185
 
186
  add_action("wp_footer", array($this, "single_add_to_cart"));
187
- //add version details in footer
188
- add_action("wp_footer", array($this, "add_plugin_details"));
189
  //Add Dev ID
190
  add_action("wp_head", array($this, "add_dev_id"));
191
  add_action("wp_footer",array($this, "tvc_store_meta_data"));
@@ -277,16 +275,6 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
277
  <?php
278
  }
279
 
280
- /**
281
- * display details of plugin
282
- *
283
- * @access public
284
- * @return void
285
- */
286
- function add_plugin_details() {
287
- printf("<!--%s %s-->",esc_html__("Enhanced Ecommerce Google Analytics Plugin for Woocommerce by Tatvic Plugin Version:","conversios"),esc_attr($this->tvc_eeVer));
288
- }
289
-
290
  /**
291
  * Check if tracking is disabled
292
  *
@@ -377,6 +365,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
377
  }*/
378
 
379
  if(($tracking_opt == "UA" || $tracking_id || $tracking_opt == "") && $tracking_opt != "BOTH"){?>
 
380
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($tracking_id); ?>"></script>
381
  <script>
382
  window.dataLayer = window.dataLayer || [];
@@ -388,6 +377,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
388
  }
389
 
390
  if($tracking_opt == "GA4"){ ?>
 
391
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($measurment_id); ?>"></script>
392
  <script>
393
  window.dataLayer = window.dataLayer || [];
@@ -398,6 +388,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
398
  <?php
399
  }
400
  if($tracking_opt == "BOTH"){ ?>
 
401
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($measurment_id); ?>"></script>
402
  <script>
403
  window.dataLayer = window.dataLayer || [];
@@ -423,7 +414,7 @@ class Enhanced_Ecommerce_Google_Analytics_Public {
423
  /*facebook pixel*/
424
  if($this->fb_pixel_id != ""){
425
  ?>
426
- <!-- Meta Pixel Code -->
427
  <script>
428
  !function(f,b,e,v,n,t,s)
429
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
116
 
117
  $this->ee_options = $this->TVC_Admin_Helper->get_ee_options_settings();
118
  $this->tvc_conversion_tracking_type = sanitize_text_field($this->get_option("tvc_conversion_tracking_type"));
119
+ $this->tvc_product_detail_tracking_type = sanitize_text_field($this->get_option("tvc_product_detail_conversion_tracking_type"));
120
+ $this->tvc_checkout_tracking_type = sanitize_text_field($this->get_option("tvc_checkout_conversion_tracking_type"));
121
  $this->tvc_call_hooks();
122
  $this->ga_id = sanitize_text_field($this->get_option("ga_id"));
123
  $this->ga_eeT = sanitize_text_field($this->get_option("ga_eeT"));
184
  }
185
 
186
  add_action("wp_footer", array($this, "single_add_to_cart"));
 
 
187
  //Add Dev ID
188
  add_action("wp_head", array($this, "add_dev_id"));
189
  add_action("wp_footer",array($this, "tvc_store_meta_data"));
275
  <?php
276
  }
277
 
 
 
 
 
 
 
 
 
 
 
278
  /**
279
  * Check if tracking is disabled
280
  *
365
  }*/
366
 
367
  if(($tracking_opt == "UA" || $tracking_id || $tracking_opt == "") && $tracking_opt != "BOTH"){?>
368
+ <!--Conversios.io – Google Analytics and Google Shopping plugin for WooCommerce-->
369
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($tracking_id); ?>"></script>
370
  <script>
371
  window.dataLayer = window.dataLayer || [];
377
  }
378
 
379
  if($tracking_opt == "GA4"){ ?>
380
+ <!--Conversios.io – Google Analytics and Google Shopping plugin for WooCommerce-->
381
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($measurment_id); ?>"></script>
382
  <script>
383
  window.dataLayer = window.dataLayer || [];
388
  <?php
389
  }
390
  if($tracking_opt == "BOTH"){ ?>
391
+ <!--Conversios.io – Google Analytics and Google Shopping plugin for WooCommerce-->
392
  <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_js($measurment_id); ?>"></script>
393
  <script>
394
  window.dataLayer = window.dataLayer || [];
414
  /*facebook pixel*/
415
  if($this->fb_pixel_id != ""){
416
  ?>
417
+ <!-- Conversios.io - Meta Pixel Code -->
418
  <script>
419
  !function(f,b,e,v,n,t,s)
420
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
public/js/tvc-ee-google-analytics.js CHANGED
@@ -389,6 +389,8 @@ class TVC_Enhanced {
389
  });
390
  }
391
  gtag("event", "begin_checkout", {
 
 
392
  "currency": this.options.currency,
393
  "value": cart_total,
394
  "items":items,
389
  });
390
  }
391
  gtag("event", "begin_checkout", {
392
+ "event_category":"Enhanced-Ecommerce",
393
+ "event_label":"checkout_step_1",
394
  "currency": this.options.currency,
395
  "value": cart_total,
396
  "items":items,
readme.txt CHANGED
@@ -1,33 +1,46 @@
1
- === Conversios.io - Google Analytics and Google Shopping plugin for WooCommerce ===
2
  Contributors: Tatvic, Conversios
3
  Plugin Name: Enhanced Ecommerce for WooCommerce Store
4
  Plugin URI: https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/
5
- Tags: Google Analytics tracking, Dynamic Remarketing, Google Shopping automation,Google Shopping, Universal Analytics tracking,Google Analytics integration,Google Analytics integration for WooCommerce,Ecommerce tracking, google analytics 4 tracking, google shopping feed, Web Analytics, Web Analytics For WooCommerce, WooCommerce Enhanced Ecommerce, WooCommerce Google Analytics, Google Analytics Plugin, Enhanced Ecommerce Plugin
6
  Author URI: https://conversios.io/
7
  Author: Tatvic
8
  Requires at least: 3.5.0
9
  Tested up to: 5.9.3
10
  Requires PHP: 5.6 or Higher
11
- Stable tag: 4.7.2
12
- Version: 4.7.2
13
  License: GPLv3
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
 
16
- Integrates Google Analytics - eCommerce tracking and automates end-to-end Google Shopping with dynamic remarketing tags.
17
 
18
  == Product Description ==
19
 
20
  https://youtu.be/s-L6VvY0sVw?rel=0
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
  ###GOOGLE ANALYTICS INTEGRATION FOR WOOCOMMERCE
23
 
24
- The new and enhanced Ecommerce Google Analytics Plugin for WooCommerce is there to help you - Know And Measure What Matters To Your Business.
25
 
26
- As a Premium Google Ads Partner, we are delighted to bring a new and enhanced Google Analytics Integration Plugin that does all the eCommerce tracking in Google Analytics. We have 40000+ active eCommerce businesses across 150 countries using, benefitting, growing from this plugin.
27
 
28
  By opening an e-commerce store, your job is half done. To run it efficiently, drive traffic to your website, and increase conversions, you have to do one more thing. Know Your Shoppers Well!
29
 
30
- And how will you do that? Well, Start with Understanding, Measuring, and Tracking their entire user journey with the help of Google Analytics Tracking for Woocommerce.
31
 
32
  * Know users likes & preferences
33
  * Offer them better experiences
@@ -61,7 +74,7 @@ Check the recent release of the Enhanced Ecommerce Google Analytics plugin for W
61
 
62
  eCommerce businesses can -
63
  * Start making data-driven decisions.
64
- * Re-targeting the shoppers based on their past site behavior.
65
  * Become eligible for free listing across Google to reach millions of interested shoppers across Google.
66
  * Run your google shopping campaigns smoothly.
67
 
@@ -178,7 +191,7 @@ Enhanced eCommerce Google analytics plugin tracks the entire user journey on you
178
  * Premium support
179
  * Free GA audit
180
  * Consultation with Google Shopping expert to set up and enhance campaigns
181
- * CRO consulatation (Boost your eCommerce conversation with proven hypothesis) (Paid)
182
  * Customization as per your requirements(Paid)
183
  * Facebook Pixel Conversion Tracking
184
  <strong><a target="_blank" href="https://conversios.io/?utm_source=EE+Plugin+WordPress+Listing&utm_medium=Reach+out+to+us+with+your+query+Link&utm_campaign=Raise+query+at+Conversios#wpforms-form-11056">Reach out to us with your query here for a faster solution.</a></strong>
@@ -392,6 +405,12 @@ You can resolve the duplication of data by removing the manually implemented GA
392
 
393
 
394
  == Changelog ==
 
 
 
 
 
 
395
  = 4.7.2 - 21/04/2022 =
396
  * Tweak: Now, Customer can choose the tracking trigger for addTocart (product detail), checkout steps and thenkyou page.
397
  * New: (PRO) Now compatible with WooCommerce custom attribute mapping for the brands (product) in the product sync.
1
+ === Conversios.io - Google Analytics (GA4) and Google Shopping plugin for WooCommerce ===
2
  Contributors: Tatvic, Conversios
3
  Plugin Name: Enhanced Ecommerce for WooCommerce Store
4
  Plugin URI: https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/
5
+ Tags: GA4, Google Analytics tracking, Dynamic Remarketing, Google Shopping automation,Google Shopping, Universal Analytics tracking,Google Analytics integration,Google Analytics integration for WooCommerce,Ecommerce tracking, google analytics 4 tracking, google shopping feed, Web Analytics, Web Analytics For WooCommerce, WooCommerce Enhanced Ecommerce, WooCommerce Google Analytics, Google Analytics Plugin, Enhanced Ecommerce Plugin, Reporting, Dashboard
6
  Author URI: https://conversios.io/
7
  Author: Tatvic
8
  Requires at least: 3.5.0
9
  Tested up to: 5.9.3
10
  Requires PHP: 5.6 or Higher
11
+ Stable tag: 4.7.3
12
+ Version: 4.7.3
13
  License: GPLv3
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
 
16
+ Business Enhancer plugin which sets up Google Analytics (GA4) for enhanced e-commerce, provides analysis and reports, manages your product feed in Google Merchant Centre (GMC) and run Google shopping Ads.
17
 
18
  == Product Description ==
19
 
20
  https://youtu.be/s-L6VvY0sVw?rel=0
21
+ ###Business Enhancer with GA4 and Google shopping Ads for WooCommerce
22
+
23
+ A single plugin which will provide you with all the arsenal you will need to run your ecommerce store effectively
24
+
25
+ - Implement GA4
26
+ - Implement enhanced e-commerce for deeper tracking
27
+ - Reporting and Dashboard which show how your customers are behaving
28
+ - Tight integration and synchronization with Google Merchant Centre (GMC) to keep your product feed updated
29
+ - Manage your Google Shopping Ads to promote the selected SKU
30
+ - Dynamic Remarketing tags for eCommerce events
31
+ - US$ 500 free Google Ads credit for first time users of Google Shopping Ads.
32
+ - Developed and sold by a leading Google Premium Partner who has been providing solutions since 2008.
33
+ - Product road map includes integrating multiple marketing platforms and will be free upgrade to current users.
34
 
35
  ###GOOGLE ANALYTICS INTEGRATION FOR WOOCOMMERCE
36
 
37
+ The new and enhanced Ecommerce Google Analytics Plugin for WooCommerce is there to help you - Know and Measure What Matters To Your Business.
38
 
39
+ As a Premium Google Ads Partner, we are delighted to bring a new and enhanced Google Analytics Integration Plugin that does all the eCommerce tracking in Google Analytics. We have 40000+ active eCommerce businesses across 150 countries using, benefitting, growing from this plugin. The plugin is ready for Google Analytics 4 (GA4)
40
 
41
  By opening an e-commerce store, your job is half done. To run it efficiently, drive traffic to your website, and increase conversions, you have to do one more thing. Know Your Shoppers Well!
42
 
43
+ And how will you do that? Well, Start with Understanding, Measuring, and Tracking their entire user journey with the help of Google Analytics Tracking for WooCommerce.
44
 
45
  * Know users likes & preferences
46
  * Offer them better experiences
74
 
75
  eCommerce businesses can -
76
  * Start making data-driven decisions.
77
+ * Re-targeting the shoppers based on their past site behaviour.
78
  * Become eligible for free listing across Google to reach millions of interested shoppers across Google.
79
  * Run your google shopping campaigns smoothly.
80
 
191
  * Premium support
192
  * Free GA audit
193
  * Consultation with Google Shopping expert to set up and enhance campaigns
194
+ * CRO consultation (Boost your eCommerce conversation with proven hypothesis) (Paid)
195
  * Customization as per your requirements(Paid)
196
  * Facebook Pixel Conversion Tracking
197
  <strong><a target="_blank" href="https://conversios.io/?utm_source=EE+Plugin+WordPress+Listing&utm_medium=Reach+out+to+us+with+your+query+Link&utm_campaign=Raise+query+at+Conversios#wpforms-form-11056">Reach out to us with your query here for a faster solution.</a></strong>
405
 
406
 
407
  == Changelog ==
408
+
409
+ = 4.7.3 - 12/05/2022 =
410
+ * Update: Google Ads API Libraries
411
+ * Fix: Fetch GA4 measurement id list on the onboarding page, the issue for some users.
412
+ * Fix: GA4 tracking - Checkout steps issue has been fixed.
413
+
414
  = 4.7.2 - 21/04/2022 =
415
  * Tweak: Now, Customer can choose the tracking trigger for addTocart (product detail), checkout steps and thenkyou page.
416
  * New: (PRO) Now compatible with WooCommerce custom attribute mapping for the brands (product) in the product sync.