Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 4.8.6

Version Description

  • 04/08/2022 =
  • Fix: Minor bugs fixes.
Download this release

Release Info

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

Code changes from version 4.8.5 to 4.8.6

admin/class-conversios-admin.php CHANGED
@@ -229,11 +229,11 @@ if ( ! class_exists( 'Conversios_Admin' ) ) {
229
  }
230
 
231
  add_menu_page(
232
- esc_html__('Tatvic EE Plugin','conversios'), esc_html__('Tatvic EE Plugin','conversios'), 'manage_options', "conversios", array($this, 'showPage'), esc_url_raw(plugin_dir_url(__FILE__) . 'images/tatvic_logo.png'), 26
233
  );
234
  if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
235
- require_once( ABSPATH . '/wp-admin/includes/woocommerce.php' );
236
- }
237
  if ( is_plugin_active_for_network( 'woocommerce/woocommerce.php') || in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
238
  add_submenu_page(
239
  'conversios',
229
  }
230
 
231
  add_menu_page(
232
+ esc_html__('Conversios','conversios'), esc_html__('Conversios','conversios'), 'manage_options', "conversios", array($this, 'showPage'), esc_url_raw(plugin_dir_url(__FILE__) . 'images/tatvic_logo.png'), 26
233
  );
234
  if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
235
+ require_once( ABSPATH . '/wp-admin/includes/woocommerce.php' );
236
+ }
237
  if ( is_plugin_active_for_network( 'woocommerce/woocommerce.php') || in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
238
  add_submenu_page(
239
  'conversios',
admin/images/logo.png CHANGED
Binary file
admin/js/onboarding-custom.js CHANGED
@@ -69,7 +69,8 @@ function is_validate_step(step){
69
  }else if(step == "step_2"){
70
  google_ads_id = jQuery('#ads-account').val();
71
  if(google_ads_id == ""){
72
- msg = "Please select Google Ads account.";
 
73
  }else{
74
  is_valide = true;
75
  }
@@ -140,6 +141,7 @@ jQuery(document).ready(function () {
140
  }); */
141
  //step-2
142
  jQuery(".google_ads_sel").on( "change", function() {
 
143
  //jQuery(".onbrdstep-1").removeClass('selectedactivestep');
144
  jQuery(".onbrdstep-3").removeClass('selectedactivestep');
145
  jQuery(".onbrdstep-2").removeClass('selectedactivestep');
@@ -458,9 +460,10 @@ function save_google_ads_data(google_ads_id, tvc_data, subscription_id, is_skip=
458
  });
459
  return true;
460
  }else{
461
- jQuery('#tvc_ads_skip_confirm').addClass('showpopup');
462
- jQuery('body').addClass('scrlnone');
463
- //jQuery('#tvc_ads_skip_confirm').modal('show');
 
464
  return false;
465
  }
466
  }
@@ -785,10 +788,10 @@ function list_googl_ads_account(tvc_data) {
785
  success: function (response) {
786
  if (response.error === false) {
787
  jQuery('#ads-account').empty();
788
- jQuery('#ads-account').append(jQuery('<option>', {
789
  value: "",
790
  text: "Select Google Ads Account"
791
- }));
792
  if (response.data.length == 0) {
793
  add_message("warning","There are no Google ads accounts associated with email.");
794
  } else {
@@ -867,6 +870,7 @@ function create_google_ads_account(tvc_data){
867
  },
868
  success: function (response) {
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 != ""){
69
  }else if(step == "step_2"){
70
  google_ads_id = jQuery('#ads-account').val();
71
  if(google_ads_id == ""){
72
+ msg = "You have not selected any google ads account. Please select it from the dropdown or create a new one to continue.";
73
+ add_message("error",msg);
74
  }else{
75
  is_valide = true;
76
  }
141
  }); */
142
  //step-2
143
  jQuery(".google_ads_sel").on( "change", function() {
144
+ is_validate_step("step_2");
145
  //jQuery(".onbrdstep-1").removeClass('selectedactivestep');
146
  jQuery(".onbrdstep-3").removeClass('selectedactivestep');
147
  jQuery(".onbrdstep-2").removeClass('selectedactivestep');
460
  });
461
  return true;
462
  }else{
463
+ //jQuery('#tvc_ads_skip_confirm').addClass('showpopup');
464
+ //jQuery('body').addClass('scrlnone');
465
+ //jQuery('#tvc_ads_skip_confirm').modal('show');
466
+ is_validate_step("step_2");
467
  return false;
468
  }
469
  }
788
  success: function (response) {
789
  if (response.error === false) {
790
  jQuery('#ads-account').empty();
791
+ /*jQuery('#ads-account').append(jQuery('<option>', {
792
  value: "",
793
  text: "Select Google Ads Account"
794
+ }));*/
795
  if (response.data.length == 0) {
796
  add_message("warning","There are no Google ads accounts associated with email.");
797
  } else {
870
  },
871
  success: function (response) {
872
  if (response.error === false) {
873
+ jQuery('#step_2').prop('disabled', false);
874
  add_message("success",response.data.message);
875
  jQuery("#new_google_ads_id").text(response.data.adwords_id);
876
  if(response.data.invitationLink != ""){
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.8.5
19
  * Author: Conversios
20
  * Author URI: conversios.io
21
  * License: GPL-2.0+
@@ -37,7 +37,7 @@ if ( ! defined( 'WPINC' ) ) {
37
  * Start at version 1.0.0 and use SemVer - https://semver.org
38
  * Rename this for your plugin and update it as you release new versions.
39
  */
40
- define( 'PLUGIN_TVC_VERSION', '4.8.5' );
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.8.6
19
  * Author: Conversios
20
  * Author URI: conversios.io
21
  * License: GPL-2.0+
37
  * Start at version 1.0.0 and use SemVer - https://semver.org
38
  * Rename this for your plugin and update it as you release new versions.
39
  */
40
+ define( 'PLUGIN_TVC_VERSION', '4.8.6' );
41
  $fullName = plugin_basename( __FILE__ );
42
  $dir = str_replace('/enhanced-ecommerce-google-analytics.php','',$fullName);
43
  if ( ! defined( 'ENHANCAD_PLUGIN_NAME' ) ) {
readme.txt CHANGED
@@ -8,8 +8,8 @@ Author: Tatvic
8
  Requires at least: 3.5.0
9
  Tested up to: 6.0.1
10
  Requires PHP: 5.6 or Higher
11
- Stable tag: 4.8.5
12
- Version: 4.8.5
13
  License: GPLv3
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
 
@@ -416,8 +416,11 @@ In GA3 (Universal Analytics) usually, it takes 0 to 45 mins and in GA4 it can ta
416
 
417
 
418
  == Changelog ==
 
 
 
419
  = 4.8.5 - 03/08/2022 =
420
- * Optimization in code pretaining to Enhanced Conversions and GA4 dashboard time out issue.
421
  * Network site compatibility enabled.
422
 
423
  = 4.8.4 - 21/07/2022 =
8
  Requires at least: 3.5.0
9
  Tested up to: 6.0.1
10
  Requires PHP: 5.6 or Higher
11
+ Stable tag: 4.8.6
12
+ Version: 4.8.6
13
  License: GPLv3
14
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
15
 
416
 
417
 
418
  == Changelog ==
419
+ = 4.8.6 - 04/08/2022 =
420
+ * Fix: Minor bugs fixes.
421
+
422
  = 4.8.5 - 03/08/2022 =
423
+ * Performance optimization and improvements for Google ads enhanced conversions tracking and Google Aanalytics 4 dashboard loading issue to some users.
424
  * Network site compatibility enabled.
425
 
426
  = 4.8.4 - 21/07/2022 =