Enhanced Ecommerce Google Analytics Plugin for WooCommerce - Version 4.9.3

Version Description

  • 27/09/2022 =
  • Changed the text domain for internationalization and making it compatible with other locales
Download this release

Release Info

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

Code changes from version 4.9.2 to 4.9.3

Files changed (33) hide show
  1. admin/class-conversios-admin.php +15 -15
  2. admin/class-conversios-onboarding.php +107 -107
  3. admin/class-enhanced-ecommerce-google-analytics-admin.php +6 -6
  4. admin/class-survey.php +12 -12
  5. admin/class-tvc-admin-helper.php +22 -22
  6. admin/helper/class-dashboard-helper.php +6 -6
  7. admin/helper/class-onboarding-helper.php +15 -15
  8. admin/helper/class-pmax-helper.php +6 -6
  9. admin/partials/class-conversios-header.php +30 -30
  10. admin/partials/general-fields.php +60 -60
  11. admin/partials/pricings.php +100 -100
  12. enhanced-ecommerce-google-analytics.php +3 -3
  13. includes/class-enhanced-ecommerce-google-analytics-activator.php +1 -1
  14. includes/class-enhanced-ecommerce-google-analytics-i18n.php +1 -1
  15. includes/class-enhanced-ecommerce-google-analytics.php +6 -6
  16. includes/data/class-tvc-ajax-file.php +12 -12
  17. includes/setup/CustomApi.php +1 -1
  18. includes/setup/account.php +15 -15
  19. includes/setup/add-campaign.php +36 -36
  20. includes/setup/class-conversios-dashboard.php +142 -142
  21. includes/setup/class-tvc-product-sync-helper.php +17 -17
  22. includes/setup/google-ads.php +20 -20
  23. includes/setup/google-shopping-feed-gaa-config.php +20 -20
  24. includes/setup/google-shopping-feed-shopping-campaigns.php +38 -38
  25. includes/setup/google-shopping-feed-sync-product.php +16 -16
  26. includes/setup/google-shopping-feed.php +27 -27
  27. includes/setup/help-html.php +38 -38
  28. includes/setup/pmax-add.php +22 -22
  29. includes/setup/pmax-edit.php +27 -27
  30. includes/setup/pmax.php +17 -17
  31. includes/setup/tatvic-category-wrapper.php +1 -1
  32. public/class-enhanced-ecommerce-google-analytics-public-pro.php +12 -12
  33. readme.txt +6 -3
admin/class-conversios-admin.php CHANGED
@@ -229,7 +229,7 @@ if ( ! class_exists( 'Conversios_Admin' ) ) {
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' );
@@ -237,38 +237,38 @@ if ( ! class_exists( 'Conversios_Admin' ) ) {
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',
240
- esc_html__('Dashboard','conversios'),
241
- esc_html__('Dashboard','conversios'),
242
  'manage_options',
243
  'conversios' );
244
  add_submenu_page(
245
  'conversios',
246
- esc_html__('Google Shopping', 'conversios'),
247
- esc_html__('Google Shopping', 'conversios'),
248
  'manage_options',
249
  'conversios-google-shopping-feed',
250
  array($this, 'showPage')
251
  );
252
  add_submenu_page(
253
  'conversios',
254
- esc_html__('Google Ads', 'conversios'),
255
- esc_html__('Google Ads', 'conversios'),
256
  'manage_options',
257
  'conversios-google-ads',
258
  array($this, 'showPage')
259
  );
260
  add_submenu_page(
261
  'conversios',
262
- esc_html__('Performance Max', 'conversios'),
263
- esc_html__('Performance Max', 'conversios'),
264
  'manage_options',
265
  'conversios-pmax',
266
  array($this, 'showPage')
267
  );
268
  add_submenu_page(
269
  'conversios',
270
- esc_html__('Account Settings', 'conversios'),
271
- esc_html__('Account Settings', 'conversios'),
272
  'manage_options',
273
  'conversios-google-analytics',
274
  array($this, 'showPage')
@@ -276,8 +276,8 @@ if ( ! class_exists( 'Conversios_Admin' ) ) {
276
 
277
  add_submenu_page(
278
  'conversios',
279
- esc_html__('Account Summary', 'conversios'),
280
- esc_html__('Account Summary', 'conversios'),
281
  'manage_options',
282
  'conversios-account',
283
  array($this, 'showPage')
@@ -285,8 +285,8 @@ if ( ! class_exists( 'Conversios_Admin' ) ) {
285
  if($plan_id == 1){
286
  add_submenu_page(
287
  'conversios',
288
- esc_html__('Free Vs Pro', 'conversios'),
289
- esc_html__('Free Vs Pro', 'conversios'),
290
  'manage_options',
291
  'conversios-pricings',
292
  array($this, 'showPage')
229
  }
230
 
231
  add_menu_page(
232
+ esc_html__('Conversios','enhanced-e-commerce-for-woocommerce-store'), esc_html__('Conversios','enhanced-e-commerce-for-woocommerce-store'), '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' );
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',
240
+ esc_html__('Dashboard','enhanced-e-commerce-for-woocommerce-store'),
241
+ esc_html__('Dashboard','enhanced-e-commerce-for-woocommerce-store'),
242
  'manage_options',
243
  'conversios' );
244
  add_submenu_page(
245
  'conversios',
246
+ esc_html__('Google Shopping', 'enhanced-e-commerce-for-woocommerce-store'),
247
+ esc_html__('Google Shopping', 'enhanced-e-commerce-for-woocommerce-store'),
248
  'manage_options',
249
  'conversios-google-shopping-feed',
250
  array($this, 'showPage')
251
  );
252
  add_submenu_page(
253
  'conversios',
254
+ esc_html__('Google Ads', 'enhanced-e-commerce-for-woocommerce-store'),
255
+ esc_html__('Google Ads', 'enhanced-e-commerce-for-woocommerce-store'),
256
  'manage_options',
257
  'conversios-google-ads',
258
  array($this, 'showPage')
259
  );
260
  add_submenu_page(
261
  'conversios',
262
+ esc_html__('Performance Max', 'enhanced-e-commerce-for-woocommerce-store'),
263
+ esc_html__('Performance Max', 'enhanced-e-commerce-for-woocommerce-store'),
264
  'manage_options',
265
  'conversios-pmax',
266
  array($this, 'showPage')
267
  );
268
  add_submenu_page(
269
  'conversios',
270
+ esc_html__('Account Settings', 'enhanced-e-commerce-for-woocommerce-store'),
271
+ esc_html__('Account Settings', 'enhanced-e-commerce-for-woocommerce-store'),
272
  'manage_options',
273
  'conversios-google-analytics',
274
  array($this, 'showPage')
276
 
277
  add_submenu_page(
278
  'conversios',
279
+ esc_html__('Account Summary', 'enhanced-e-commerce-for-woocommerce-store'),
280
+ esc_html__('Account Summary', 'enhanced-e-commerce-for-woocommerce-store'),
281
  'manage_options',
282
  'conversios-account',
283
  array($this, 'showPage')
285
  if($plan_id == 1){
286
  add_submenu_page(
287
  'conversios',
288
+ esc_html__('Free Vs Pro', 'enhanced-e-commerce-for-woocommerce-store'),
289
+ esc_html__('Free Vs Pro', 'enhanced-e-commerce-for-woocommerce-store'),
290
  'manage_options',
291
  'conversios-pricings',
292
  array($this, 'showPage')
admin/class-conversios-onboarding.php CHANGED
@@ -71,7 +71,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
71
  $contData = json_decode($getCountris);
72
  if (!empty($user_country)) {
73
  $data = "<select id='selectCountry' name='country' class='form-control slect2bx' readonly='true'>";
74
- $data .= "<option value=''>".esc_html__("Please select country","conversios")."</option>";
75
  foreach ($contData as $key => $value) {
76
  $selected = ($value->code == $user_country) ? "selected='selected'" : "";
77
  $data .= "<option value=" . esc_attr($value->code) . " " . esc_attr($selected) . " >" . esc_attr($value->name) . "</option>";
@@ -79,7 +79,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
79
  $data .= "</select>";
80
  } else {
81
  $data = "<select id='selectCountry' name='country' class='form-control slect2bx'>";
82
- $data .= "<option value=''>".esc_html__("Please select country","conversios")."</option>";
83
  foreach ($contData as $key => $value) {
84
  $data .= "<option value=" . esc_attr($value->code) . ">" . esc_attr($value->name) . "</option>";
85
  }
@@ -201,8 +201,8 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
201
  <div class="container">
202
  <div class="smallcontainer">
203
  <div class="onbordingtop">
204
- <h2><?php esc_html_e("Let’s get you started.","conversios"); ?></h2>
205
- <p><?php esc_html_e("Automate eCommerce tracking in Google Analytics, Dynamic Remarketing and enhanced conversions tags and product feed sync in google merchant center to boost your eCommerce sales.","conversios"); ?></p>
206
  </div>
207
  <div class="row">
208
  <!-- onborading left start -->
@@ -214,7 +214,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
214
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/check-wbg.png'); ?>" alt="" />
215
  </div>
216
  <div class="stepdetwrap">
217
- <h4><?php esc_html_e("Connect Conversios with your website","conversios"); ?></h4>
218
  <p><?php echo (isset($this->tvc_data['g_mail']) && esc_attr($this->subscriptionId) )?esc_attr($this->tvc_data['g_mail']):""; ?></p>
219
  </div>
220
  </div>
@@ -225,28 +225,28 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
225
  <div class="google-icon-wrapper">
226
  <img class="google-icon" src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/g-logo.png'); ?>"/>
227
  </div>
228
- <p class="btn-text"><b><?php esc_html_e("Sign in with google","conversios"); ?></b></p>
229
  </div>
230
  <?php } else{?>
231
 
232
  <?php if($this->is_refresh_token_expire == true){?>
233
- <p class="alert alert-primary"><?php esc_html_e("It seems the token to access your Google accounts is expired. Sign in again to continue.","conversios"); ?></p>
234
  <div class="google_connect_url google-btn">
235
  <div class="google-icon-wrapper">
236
  <img class="google-icon" src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/g-logo.png'); ?>"/>
237
  </div>
238
- <p class="btn-text"><b><?php esc_html_e("Sign in with google","conversios"); ?></b></p>
239
  </div>
240
  <?php } else{ ?>
241
  <div class="google_connect_url google-btn">
242
  <div class="google-icon-wrapper">
243
  <img class="google-icon" src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/g-logo.png'); ?>"/>
244
  </div>
245
- <p class="btn-text mr-35"><b><?php esc_html_e("Reauthorize","conversios"); ?></b></p>
246
  </div>
247
  <?php } ?>
248
  <?php } ?>
249
- <p><?php esc_html_e("Make sure you sign in with the google email account that has all privileges to access google analytics, google ads and google merchant center account that you want to configure for your store. We take programmatic access to your accounts to automate the Google analytics tracking and Google Shopping for you so that you do not need any developer or expert to set up the plugin.","conversios"); ?></p>
250
  </div>
251
  </div>
252
  </div>
@@ -258,29 +258,29 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
258
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/check-wbg.png'); ?>" alt="" />
259
  </div>
260
  <div class="stepdetwrap">
261
- <h4><?php esc_html_e("Connect Google Analytics Account","conversios"); ?></h4>
262
- <p><?php esc_html_e("Select your Google Analytics account from the dropdown below and hit “Next”. That’s it..!! Google Analytics eCommerce tracking will be set up automatically. Isn’t it easy peasy??","conversios"); ?></p>
263
  </div>
264
  </div>
265
  <div class="stepmoredtlwrp">
266
  <div class="stepmoredtl">
267
  <form action="#">
268
  <div class="form-row">
269
- <h5><?php esc_html_e("How do you plan to tag your website?","conversios"); ?></h5>
270
  <div class="cstmrdobtn-item">
271
  <label for="univeral">
272
  <input type="radio" <?php echo esc_attr($this->is_checked($tracking_option, "UA")); ?> name="analytic_tag_type" id="univeral" value="UA">
273
  <span class="checkmark"></span>
274
- <?php esc_html_e("Universal Analytics (Google Analytics 3)","conversios"); ?>
275
  </label>
276
  <div id="UA" class="slctunivr-filed">
277
  <div class="tvc-dropdown">
278
  <div class="tvc-dropdown-header" id="ua_web_property_id_option_val" data-profileid="" data-accountid="<?php if($googleDetail->ua_analytic_account_id){ echo esc_attr($googleDetail->ua_analytic_account_id); } ?>" data-val="<?php if($googleDetail->property_id){ echo esc_attr($googleDetail->property_id); } ?>"><?php if($googleDetail->property_id){
279
  echo esc_attr($googleDetail->property_id);
280
- }else{?><?php esc_html_e("Select Property Id","conversios"); ?><?php } ?></div>
281
  <div class="tvc-dropdown-content" id="ua_web_property_id_option">
282
- <div class="tvc-select-items"><option value=""><?php esc_html_e("Select Property Id","conversios"); ?></option></div>
283
- <div class="tvc-ua-option-more option"><?php esc_html_e("Load More","conversios"); ?></div>
284
  </div>
285
  </div>
286
 
@@ -290,7 +290,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
290
  <label for="gglanytc">
291
  <input type="radio" <?php echo esc_attr($this->is_checked($tracking_option, "GA4")); ?> name="analytic_tag_type" id="gglanytc" value="GA4">
292
  <span class="checkmark"></span>
293
- <?php esc_html_e("Google Analytics 4","conversios"); ?>
294
  </label>
295
  <div id="GA4" class="slctunivr-filed">
296
 
@@ -298,11 +298,11 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
298
  <div class="tvc-dropdown-header" id="ga4_web_measurement_id_option_val" data-name="" data-accountid="<?php if($googleDetail->ga4_analytic_account_id){ echo esc_attr($googleDetail->ga4_analytic_account_id); } ?>" data-val="<?php if($googleDetail->measurement_id){ echo esc_attr($googleDetail->measurement_id); } ?>">
299
  <?php if($googleDetail->measurement_id){
300
  echo esc_attr($googleDetail->measurement_id);
301
- }else{?><?php esc_html_e("Select Measurement Id","conversios"); ?>
302
  <?php } ?></div>
303
  <div class="tvc-dropdown-content" id="ga4_web_measurement_id_option">
304
- <div class="tvc-select-items"><option value=""><?php esc_html_e("Select Measurement Id","conversios"); ?></option></div>
305
- <div class="tvc-ga4-option-more option"><?php esc_html_e("Load More","conversios"); ?></div>
306
  </div>
307
  </div>
308
 
@@ -312,7 +312,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
312
  <label for="both">
313
  <input type="radio" <?php echo esc_attr($this->is_checked($tracking_option, "BOTH")); ?> name="analytic_tag_type" id="both" value="BOTH">
314
  <span class="checkmark"></span>
315
- <?php esc_html_e("Both","conversios"); ?>
316
  </label>
317
  <div id="BOTH" class="slctunivr-filed">
318
  <div class="botslectbxitem">
@@ -320,10 +320,10 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
320
  <div class="tvc-dropdown">
321
  <div class="tvc-dropdown-header" id="both_ua_web_property_id_option_val" data-profileid="" data-accountid="<?php if($googleDetail->ua_analytic_account_id){ echo esc_attr($googleDetail->ua_analytic_account_id); } ?>" data-val="<?php if($googleDetail->property_id){ echo esc_attr($googleDetail->property_id); } ?>"><?php if($googleDetail->property_id){
322
  echo esc_attr($googleDetail->property_id);
323
- }else{?><?php esc_html_e("Select Property Id","conversios"); ?><?php } ?></div>
324
  <div class="tvc-dropdown-content" id="both_ua_web_property_id_option">
325
- <div class="tvc-select-items"><option value=""><?php esc_html_e("Select Property Id","conversios"); ?></option></div>
326
- <div class="tvc-ua-option-more option"><?php esc_html_e("Load More","conversios"); ?></div>
327
  </div>
328
  </div>
329
 
@@ -334,11 +334,11 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
334
  <div class="tvc-dropdown-header" id="both_ga4_web_measurement_id_option_val" data-name="" data-accountid="<?php if($googleDetail->ga4_analytic_account_id){ echo esc_attr($googleDetail->ga4_analytic_account_id); } ?>" data-val="<?php if($googleDetail->measurement_id){ echo esc_attr($googleDetail->measurement_id); } ?>">
335
  <?php if($googleDetail->measurement_id){
336
  echo esc_attr($googleDetail->measurement_id);
337
- }else{?><?php esc_html_e("Select Measurement Id","conversios"); ?>
338
  <?php } ?></div>
339
  <div class="tvc-dropdown-content" id="both_ga4_web_measurement_id_option">
340
- <div class="tvc-select-items"><option value=""><?php esc_html_e("Select Measurement Id","conversios"); ?></option></div>
341
- <div class="tvc-ga4-option-more option"><?php esc_html_e("Load More","conversios"); ?></div>
342
  </div>
343
  </div>
344
  </div>
@@ -347,20 +347,20 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
347
  </div>
348
  </div>
349
  <div class="form-row">
350
- <h5><?php esc_html_e("Advance Settings (Optional)","conversios"); ?></h5>
351
  <div class="chckbxbgbx">
352
  <div class="cstmcheck-item">
353
  <label for="enhanced_e_commerce_tracking">
354
  <input type="checkbox" class="custom-control-input" name="enhanced_e_commerce_tracking" id="enhanced_e_commerce_tracking" <?php echo esc_attr($is_e_e_tracking); ?>>
355
  <span class="checkmark"></span>
356
- <?php esc_html_e("Enhaced e-commerce tracking","conversios"); ?>
357
  </label>
358
  </div>
359
  <div class="cstmcheck-item">
360
  <label for="add_gtag_snippet">
361
  <input type="checkbox" class="custom-control-input" name="add_gtag_snippe" id="add_gtag_snippet" <?php echo esc_attr($is_a_g_snippet); ?>>
362
  <span class="checkmark"></span>
363
- <?php esc_html_e("Add gtag.js snippet","conversios"); ?>
364
  </label>
365
  </div>
366
  </div>
@@ -368,7 +368,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
368
  <div class="stepsbmtbtn">
369
  <input type="hidden" id="subscriptionPropertyId" name="subscriptionPropertyId" value="<?php echo (property_exists($googleDetail,"property_id"))?esc_attr($googleDetail->property_id):""; ?>">
370
  <input type="hidden" id="subscriptionMeasurementId" name="subscriptionMeasurementId" value="<?php echo (property_exists($googleDetail,"measurement_id"))?esc_attr($googleDetail->measurement_id):""; ?>">
371
- <button type="button" disabled id="step_1" class="stepnextbtn stpnxttrgr"><?php esc_html_e("Next","conversios"); ?></button>
372
  </div>
373
  </form>
374
  </div>
@@ -382,8 +382,8 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
382
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/check-wbg.png'); ?>" alt="" />
383
  </div>
384
  <div class="stepdetwrap">
385
- <h4><?php esc_html_e("Connect Google Ads account","conversios"); ?></h4>
386
- <p><?php esc_html_e("Select the Google Ads account from the drop down or create a new one. Once you connect Google Ads account, dynamic remarketing, Google Ads conversion and enhanced conversion tags will be activated which will help your reach out to your store visitor based on their browsing behavior and your campaign measurements will be effective. DO NOT MISS THIS if you really want to increase your eCommerce sales.","conversios"); ?></p>
387
  </div>
388
  </div>
389
  <div class="stepmoredtlwrp">
@@ -393,25 +393,25 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
393
  <div class="ggladsselectbx">
394
  <input type="hidden" id="subscriptionGoogleAdsId" name="subscriptionGoogleAdsId" value="<?php echo property_exists($googleDetail,"google_ads_id")?esc_attr($googleDetail->google_ads_id):""; ?>">
395
  <select class="slect2bx google_ads_sel" id="ads-account" name="customer_id">
396
- <option value=''><?php esc_html_e("Select Google Ads Account","conversios"); ?></option>
397
  </select>
398
  </div>
399
- <div class="orwrp"><?php esc_html_e("or","conversios"); ?></div>
400
  <div class="creatnewwrp">
401
- <button type="button" class="cretnewbtn newggladsbtn"><span class="plusicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/blue-plus.png'); ?>" alt="" /></span> <?php esc_html_e("Create New","conversios"); ?></button>
402
  </div>
403
  </div>
404
 
405
  <div class="selcttopwrap">
406
  <div class="onbrdpp-body alert alert-primary" style="display:none;" id="new_google_ads_section">
407
- <h4><?php esc_html_e("Account Created","conversios"); ?></h4>
408
- <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>
409
- <h5><?php esc_html_e("Steps to claim your Google Ads Account:","conversios"); ?></h5>
410
  <ol>
411
- <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
412
  <a href="" target="_blank" id="ads_invitationLink">Invitation Link</a></span>
413
  </li>
414
- <li><?php esc_html_e("Log into your Google Ads account and set up your billing preferences","conversios"); ?></li>
415
  </ol>
416
  </div>
417
  </div>
@@ -423,20 +423,20 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
423
  $is_d_r_tags = (property_exists($googleDetail,"dynamic_remarketing_tags") && $googleDetail->dynamic_remarketing_tags == 1)?"checked":(($defaulSelection == 1)?"checked":"");
424
  $is_g_ad_c_tracking = (property_exists($googleDetail,"google_ads_conversion_tracking") && $googleDetail->google_ads_conversion_tracking == 1)?"checked":(($defaulSelection == 1)?"checked":"");
425
  ?>
426
- <h5><?php esc_html_e("Advance Settings (Optional)","conversios"); ?></h5>
427
  <div class="chckbxbgbx dsplcolmview">
428
  <div class="cstmcheck-item">
429
  <label for="remarketing_tag">
430
  <input type="checkbox" class="custom-control-input" name="remarketing_tag" id="remarketing_tag" value="1" <?php echo esc_attr($is_r_tags); ?>>
431
  <span class="checkmark"></span>
432
- <?php esc_html_e("Enable Google Remarketing Tag","conversios"); ?>
433
  </label>
434
  </div>
435
  <div class="cstmcheck-item">
436
  <label for="dynamic_remarketing_tags">
437
  <input type="checkbox" class="custom-control-input" name="dynamic_remarketing_tags" id="dynamic_remarketing_tags" value="1" <?php echo esc_attr($is_d_r_tags); ?>>
438
  <span class="checkmark"></span>
439
- <?php esc_html_e("Enable Dynamic Remarketing Tag","conversios"); ?>
440
  </label>
441
  </div>
442
  <div class="cstmcheck-item <?php if($this->plan_id == 1){?>cstmcheck-item-pro <?php } ?>">
@@ -444,9 +444,9 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
444
  <?php if($this->plan_id != 1){?>
445
  <input type="checkbox" class="custom-control-input" name="google_ads_conversion_tracking" id="google_ads_conversion_tracking" value="1" <?php echo esc_attr($is_g_ad_c_tracking); ?>>
446
  <span class="checkmark"></span>
447
- <?php esc_html_e("Google Ads conversion tracking","conversios"); ?>
448
  <?php }else{?>
449
- <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/icon/lock.svg'); ?>"><label><?php esc_html_e("Google Ads conversion tracking (Pro Plan)","conversios"); ?></label>
450
  <?php } ?>
451
  </label>
452
  </div>
@@ -454,13 +454,13 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
454
  <label for="link_google_analytics_with_google_ads">
455
  <input type="checkbox" class="custom-control-input" name="link_google_analytics_with_google_ads" id="link_google_analytics_with_google_ads" value="1" <?php echo esc_attr($is_l_g_an_w_g_ad); ?>>
456
  <span class="checkmark"></span>
457
- <?php esc_html_e("Link Google Analytics with Google Ads","conversios"); ?>
458
  </label>
459
  </div>
460
  </div>
461
  </div>
462
  <div class="stepsbmtbtn">
463
- <button type="button" id="step_2" class="stepnextbtn stpnxttrgr"><?php esc_html_e("Next","conversios"); ?></button>
464
  <!-- add dslbbtn class for disable button -->
465
  </div>
466
  </form>
@@ -475,8 +475,8 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
475
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/check-wbg.png'); ?>" alt="" />
476
  </div>
477
  <div class="stepdetwrap">
478
- <h4><?php esc_html_e("Select Google Merchant Center Account","conversios"); ?></h4>
479
- <p><?php esc_html_e("Make your WooCommerce shop and products available to millions of shoppers across google.","conversios"); ?></p>
480
  </div>
481
  </div>
482
  <div class="stepmoredtlwrp">
@@ -486,24 +486,24 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
486
  <div class="form-group" style="display:none;" id="new_merchant_section">
487
  <div class="text-center">
488
  <div class="alert alert-primary" style="padding: 10px;" role="alert">
489
- <label class="form-label-control font-weight-bold"><?php esc_html_e("New Google Merchant Center with account id: ","conversios"); ?><span id="new_merchant_id"></span> <?php esc_html_e('is created successfully. Click on "Save" to finish the configuration.',"conversios"); ?></label>
490
  </div>
491
  </div>
492
  </div>
493
  <div id="tvc_merchant_section">
494
  <div class="ggladsselectbx">
495
  <select class="slect2bx" id="google_merchant_center_id" name="google_merchant_center_id">
496
- <option value=''><?php esc_html_e("Select Google Merchant Center","conversios"); ?></option>
497
  </select>
498
  </div>
499
- <div class="orwrp"><?php esc_html_e("or","conversios"); ?></div>
500
  <div class="creatnewwrp">
501
- <button type="button" class="cretnewbtn newmrchntbtn"><span class="plusicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/blue-plus.png'); ?>" alt="" /></span> <?php esc_html_e("Create New","conversios"); ?></button>
502
  </div>
503
  </div>
504
  </div>
505
  <div class="stepsbmtbtn">
506
- <button type="button" id="step_3" data-enchanter="finish" class="stepnextbtn finishbtn"><?php esc_html_e("Save","conversios"); ?></button>
507
  <!-- add dslbbtn class for disable button -->
508
  </div>
509
  <input type="hidden" id="subscriptionMerchantCenId" name="subscriptionMerchantCenId" value="<?php echo property_exists($googleDetail,"google_merchant_center_id")?esc_attr($googleDetail->google_merchant_center_id):""; ?>">
@@ -528,23 +528,23 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
528
  <div class="sidebrcontainer">
529
  <div class="onbrd-rdmbx">
530
  <div class="rdm-amnt">
531
- <small><?php esc_html_e("Google Ads Credit of","conversios"); ?></small>
532
  <?php echo esc_attr($off_credit_amt); ?>
533
  </div>
534
- <p><?php esc_html_e("New users can get ".esc_attr($off_credit_amt)." in Ad Credits when they spend their first ".esc_attr($off_credit_amt)." on Google Ads within 60 days.","conversios"); ?></p>
535
- <a target="_blank" href="<?php echo esc_url_raw("https://conversios.io/help-center/new-google-spend-match.pdf"); ?>" class="lrnmorbtn"><?php esc_html_e("Terms and conditions apply","conversios"); ?> <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/arrow_right.png'); ?>" alt="" /></a>
536
  </div>
537
  <div class="onbrdrgt-nav">
538
  <ul>
539
- <li><a target="_blank" href="<?php echo esc_url_raw("https://conversios.io/help-center/Installation-Manual.pdf"); ?>"><?php echo esc_html_e("Installation Manual","conversios"); ?></a></li>
540
- <li><a target="_blank" href="<?php echo esc_url_raw("https://conversios.io/help-center/Google-shopping-Guide.pdf"); ?>" href=""><?php esc_html_e("Google Shopping Guide","conversios"); ?></a></li>
541
- <li><a target="_blank" href="<?php echo esc_url_raw("https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/faq/"); ?>" href=""><?php esc_html_e("FAQ","conversios"); ?></a></li>
542
  </ul>
543
  </div>
544
  <div class="onbrdr-msg">
545
  <ul>
546
- <li><?php esc_html_e('Not able to connect with any of the google accounts, reach out to us ','conversios'); ?>
547
- <a class="contct-lnk" target="_blank" href="<?php echo esc_url_raw("https://conversios.io/contact-us/?utm_source=app_woo&utm_medium=inapp&utm_campaign=pro_contact"); ?>" href=""><?php esc_html_e("here.","conversios"); ?>
548
  </a>
549
  </li>
550
  </ul>
@@ -564,21 +564,21 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
564
  <div class="onbrdppmain" role="document">
565
  <div class="onbrdnpp-cntner acccretppcntnr">
566
  <div class="onbrdnpp-hdr">
567
- <h4><?php esc_html_e("You have not selected Google Ads account.","conversios"); ?></h4>
568
  <div class="ppclsbtn clsbtntrgr"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-icon.png');?>" alt="" /></div>
569
  </div>
570
  <div class="onbrdpp-body">
571
- <p><?php esc_html_e("If you do not select Google Ads account, you will not be able to use some of the major features like:","conversios"); ?></p>
572
  <ul>
573
- <li><?php esc_html_e("Dynamic Remarketing Tags","conversios"); ?> </li>
574
- <li><?php esc_html_e("Google Smart Shopping Campaigns","conversios"); ?></li>
575
- <li><?php esc_html_e("Google Analytics and Google Ads linking","conversios"); ?></li>
576
  </ul>
577
- <p><?php esc_html_e("Are you sure you want to continue without selecting Google Ads account?","conversios"); ?></p>
578
  </div>
579
  <div class="ppfooterbtn">
580
- <button type="button" class="ppblubtn btn-secondary" data-dismiss="modal" id="ads-skip-cancel"><?php esc_html_e("Cancel","conversios"); ?></button>
581
- <button type="button" class="ppblubtn btn-primary" data-dismiss="modal" id="ads-skip-continue"><?php esc_html_e("Continue","conversios"); ?></button>
582
  </div>
583
  </div>
584
  </div>
@@ -588,14 +588,14 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
588
  <div class="onbrdppmain">
589
  <div class="onbrdnpp-cntner ggladsppcntnr">
590
  <div class="onbrdnpp-hdr">
591
- <h4><?php esc_html_e("Enable Google Ads Account","conversios"); ?></h4>
592
  <div class="ppclsbtn clsbtntrgr"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-icon.png');?>" alt="" /></div>
593
  </div>
594
  <div class="onbrdpp-body">
595
- <p><?php esc_html_e("You’ll receive an invite from Google on your email. Accept the invitation to enable your Google Ads Account.","conversios"); ?></p>
596
  </div>
597
  <div class="ppfooterbtn">
598
- <button type="button" id="ads-continue" class="ppblubtn sndinvitebtn"><?php esc_html_e("Send Invite","conversios"); ?></button>
599
  </div>
600
  </div>
601
  </div>
@@ -605,16 +605,16 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
605
  <div class="onbrdppmain">
606
  <div class="onbrdnpp-cntner acccretppcntnr">
607
  <div class="onbrdnpp-hdr">
608
- <h4><?php esc_html_e("You have not selected Google merchant center account.","conversios"); ?></h4>
609
  <div class="ppclsbtn clsbtntrgr"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-icon.png');?>" alt="" /></div>
610
  </div>
611
  <div class="onbrdpp-body">
612
- <p><?php esc_html_e("If you do not select a merchant center account, you will not be able to use complete google shopping features.","conversios"); ?></p>
613
- <p><?php esc_html_e("Are you sure you want to continue without selecting a merchant center account?","conversios"); ?></p>
614
  </div>
615
  <div class="ppfooterbtn">
616
- <button type="button" class="ppblubtn btn-secondary" data-dismiss="modal" id="merchant-center-skip-cancel"><?php esc_html_e("Cancel","conversios"); ?></button>
617
- <button type="button" class="ppblubtn btn-primary" data-dismiss="modal" id="merchant-center-skip-continue"><?php esc_html_e("Continue","conversios"); ?></button>
618
  </div>
619
  </div>
620
  </div>
@@ -628,11 +628,11 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
628
  <div class="row">
629
  <div class="crtemrchnpp-lft">
630
  <div class="crtemrchpplft-top">
631
- <h4><?php esc_html_e("Create Google Merchant Center Account","conversios"); ?></h4>
632
- <p><?php esc_html_e("Before you can upload product data, you’ll need to verify and claim your store’s website URL. Claiming associates your website URL with your Google Merchant Center account.","conversios"); ?></p>
633
  </div>
634
  <div class="claimedbx">
635
- <?php esc_html_e("Your site will automatically be claimed and verified.","conversios"); ?>
636
  </div>
637
  <div class="mrchntformwrp">
638
  <form action="#">
@@ -643,14 +643,14 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
643
  <label for="adult_content">
644
  <input class="" type="checkbox" name="adult_content" id="adult_content">
645
  <span class="checkmark"></span>
646
- <?php esc_html_e("My site contains","conversios"); ?>
647
  </label>
648
- <strong><?php esc_html_e("Adult Content","conversios"); ?></strong>
649
  </div>
650
  </div>
651
  <div class="form-row">
652
- <input type="text" class="fromfiled" name="store_name" id="store_name" placeholder="<?php esc_html_e("Enter Store Name","conversios"); ?>" required>
653
- <div class="inputinfotxt"><?php esc_html_e("This name will appear in your Shopping Ads.","conversios"); ?></div>
654
  </div>
655
  <div class="form-row">
656
  <?php echo $this->get_countries($this->tvc_data['user_country']); ?>
@@ -660,27 +660,27 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
660
  <label for="terms_conditions">
661
  <input class="" type="checkbox" name="concent" id="terms_conditions">
662
  <span class="checkmark"></span>
663
- <?php esc_html_e("I accept the","conversios"); ?>
664
  </label>
665
- <a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/160173?hl=en"); ?>"><?php esc_html_e("terms & conditions","conversios"); ?></a>
666
  </div>
667
  </div>
668
  </form>
669
  </div>
670
  <div class="ppfooterbtn">
671
- <button type="button" id="create_merchant_account" class="cretemrchntbtn"><?php esc_html_e("Create Account","conversios"); ?>
672
  </button>
673
  </div>
674
  </div>
675
  <div class="crtemrchnpp-right">
676
- <h6><?php esc_html_e("To use Google Shopping, your website must meet these requirements:","conversios"); ?></h6>
677
  <ul>
678
- <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6149970?hl=en"); ?>"><?php esc_html_e("Google Shopping ads policies","conversios"); ?></a></li>
679
- <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150127"); ?>"><?php esc_html_e("Accurate Contact Information","conversios"); ?></a></li>
680
- <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150122"); ?>"><?php esc_html_e("Secure collection of process and personal data","conversios"); ?></a></li>
681
- <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150127"); ?>"><?php esc_html_e("Return Policy","conversios"); ?></a></li>
682
- <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150127"); ?>"><?php esc_html_e("Billing terms & conditions","conversios"); ?></a></li>
683
- <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150118"); ?>"><?php esc_html_e("Complete checkout process","conversios"); ?></a></li>
684
  </ul>
685
  </div>
686
  </div>
@@ -695,16 +695,16 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
695
  <div class="onbrdppmain">
696
  <div class="onbrdnpp-cntner congratppcntnr">
697
  <div class="onbrdnpp-hdr txtcnter">
698
- <h2><?php esc_html_e("Congratulations!!","conversios"); ?></h2>
699
  <div class="ppclsbtn clsbtntrgr"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-icon.png'); ?>" alt="" /></div>
700
  </div>
701
  <div class="onbrdpp-body congratppbody">
702
- <p><?php esc_html_e("All the Google accounts are successfully configured with your store. Below is the summary.","conversios"); ?></p>
703
  <div class="congratppdtlwrp">
704
  <div class="cngrtppdtl-item" id="google_analytics_property_id_info">
705
  <div class="cngtrpplft">
706
  <span class="cngrtchckicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/green-check.png'); ?>" alt="" /></span>
707
- <?php esc_html_e("Google Analytics Property Id:","conversios"); ?>
708
  </div>
709
  <div class="cngtrpprgt" id="selected_google_analytics_property"></div>
710
  <div>
@@ -714,7 +714,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
714
  <div class="cngrtppdtl-item" id="google_analytics_measurement_id_info">
715
  <div class="cngtrpplft">
716
  <span class="cngrtchckicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/green-check.png'); ?>" alt="" /></span>
717
- <?php esc_html_e("Google Analytics 4 Measurement Id:","conversios"); ?>
718
  </div>
719
  <div class="cngtrpprgt" id="selected_google_analytics_measurement"></div>
720
  <div>
@@ -724,7 +724,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
724
  <div class="cngrtppdtl-item" id="google_ads_info">
725
  <div class="cngtrpplft">
726
  <span class="cngrtchckicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/green-check.png'); ?>" alt="" /></span>
727
- <?php esc_html_e("Google Ads Account:","conversios"); ?>
728
  </div>
729
  <div class="cngtrpprgt" id="selected_google_ads_account"></div>
730
  <div>
@@ -734,7 +734,7 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
734
  <div class="cngrtppdtl-item" id="google_merchant_center_info">
735
  <div class="cngtrpplft">
736
  <span class="cngrtchckicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/green-check.png'); ?>" alt="" /></span>
737
- <?php esc_html_e("Google Merchant Center Account","conversios"); ?>
738
  </div>
739
  <div class="cngtrpprgt" id="selected_google_merchant_center"></div>
740
  <div>
@@ -744,8 +744,8 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
744
  </div>
745
  </div>
746
  <div class="ppfooterbtn">
747
- <button type="button" id="confirm_selection" class="ppblubtn"><?php esc_html_e("Confirm and go to Product Sync","conversios"); ?></button>
748
- <button type="button" id="confirm_selection_dash" class="ppblubtn"><?php esc_html_e("Confirm and go to the Dashboard ","conversios");?> </button>
749
  </div>
750
  </div>
751
  </div>
@@ -1085,8 +1085,8 @@ if ( ! class_exists( 'Conversios_Onboarding' ) ) {
1085
  // Getting started - shows after installation.
1086
  if(isset($_GET['page']) && sanitize_text_field($_GET['page']) == "conversios_onboarding"){
1087
  add_dashboard_page(
1088
- esc_html__( 'Welcome to Conversios Onboarding', 'conversios' ),
1089
- esc_html__( 'Welcome to Conversios Onboarding', 'conversios' ),
1090
  apply_filters( 'conversios_welcome', 'manage_options' ),
1091
  'conversios_onboarding',
1092
  array( $this, 'welcome_screen' )
71
  $contData = json_decode($getCountris);
72
  if (!empty($user_country)) {
73
  $data = "<select id='selectCountry' name='country' class='form-control slect2bx' readonly='true'>";
74
+ $data .= "<option value=''>".esc_html__("Please select country","enhanced-e-commerce-for-woocommerce-store")."</option>";
75
  foreach ($contData as $key => $value) {
76
  $selected = ($value->code == $user_country) ? "selected='selected'" : "";
77
  $data .= "<option value=" . esc_attr($value->code) . " " . esc_attr($selected) . " >" . esc_attr($value->name) . "</option>";
79
  $data .= "</select>";
80
  } else {
81
  $data = "<select id='selectCountry' name='country' class='form-control slect2bx'>";
82
+ $data .= "<option value=''>".esc_html__("Please select country","enhanced-e-commerce-for-woocommerce-store")."</option>";
83
  foreach ($contData as $key => $value) {
84
  $data .= "<option value=" . esc_attr($value->code) . ">" . esc_attr($value->name) . "</option>";
85
  }
201
  <div class="container">
202
  <div class="smallcontainer">
203
  <div class="onbordingtop">
204
+ <h2><?php esc_html_e("Let’s get you started.","enhanced-e-commerce-for-woocommerce-store"); ?></h2>
205
+ <p><?php esc_html_e("Automate eCommerce tracking in Google Analytics, Dynamic Remarketing and enhanced conversions tags and product feed sync in google merchant center to boost your eCommerce sales.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
206
  </div>
207
  <div class="row">
208
  <!-- onborading left start -->
214
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/check-wbg.png'); ?>" alt="" />
215
  </div>
216
  <div class="stepdetwrap">
217
+ <h4><?php esc_html_e("Connect Conversios with your website","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
218
  <p><?php echo (isset($this->tvc_data['g_mail']) && esc_attr($this->subscriptionId) )?esc_attr($this->tvc_data['g_mail']):""; ?></p>
219
  </div>
220
  </div>
225
  <div class="google-icon-wrapper">
226
  <img class="google-icon" src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/g-logo.png'); ?>"/>
227
  </div>
228
+ <p class="btn-text"><b><?php esc_html_e("Sign in with google","enhanced-e-commerce-for-woocommerce-store"); ?></b></p>
229
  </div>
230
  <?php } else{?>
231
 
232
  <?php if($this->is_refresh_token_expire == true){?>
233
+ <p class="alert alert-primary"><?php esc_html_e("It seems the token to access your Google accounts is expired. Sign in again to continue.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
234
  <div class="google_connect_url google-btn">
235
  <div class="google-icon-wrapper">
236
  <img class="google-icon" src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/g-logo.png'); ?>"/>
237
  </div>
238
+ <p class="btn-text"><b><?php esc_html_e("Sign in with google","enhanced-e-commerce-for-woocommerce-store"); ?></b></p>
239
  </div>
240
  <?php } else{ ?>
241
  <div class="google_connect_url google-btn">
242
  <div class="google-icon-wrapper">
243
  <img class="google-icon" src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/g-logo.png'); ?>"/>
244
  </div>
245
+ <p class="btn-text mr-35"><b><?php esc_html_e("Reauthorize","enhanced-e-commerce-for-woocommerce-store"); ?></b></p>
246
  </div>
247
  <?php } ?>
248
  <?php } ?>
249
+ <p><?php esc_html_e("Make sure you sign in with the google email account that has all privileges to access google analytics, google ads and google merchant center account that you want to configure for your store. We take programmatic access to your accounts to automate the Google analytics tracking and Google Shopping for you so that you do not need any developer or expert to set up the plugin.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
250
  </div>
251
  </div>
252
  </div>
258
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/check-wbg.png'); ?>" alt="" />
259
  </div>
260
  <div class="stepdetwrap">
261
+ <h4><?php esc_html_e("Connect Google Analytics Account","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
262
+ <p><?php esc_html_e("Select your Google Analytics account from the dropdown below and hit “Next”. That’s it..!! Google Analytics eCommerce tracking will be set up automatically. Isn’t it easy peasy??","enhanced-e-commerce-for-woocommerce-store"); ?></p>
263
  </div>
264
  </div>
265
  <div class="stepmoredtlwrp">
266
  <div class="stepmoredtl">
267
  <form action="#">
268
  <div class="form-row">
269
+ <h5><?php esc_html_e("How do you plan to tag your website?","enhanced-e-commerce-for-woocommerce-store"); ?></h5>
270
  <div class="cstmrdobtn-item">
271
  <label for="univeral">
272
  <input type="radio" <?php echo esc_attr($this->is_checked($tracking_option, "UA")); ?> name="analytic_tag_type" id="univeral" value="UA">
273
  <span class="checkmark"></span>
274
+ <?php esc_html_e("Universal Analytics (Google Analytics 3)","enhanced-e-commerce-for-woocommerce-store"); ?>
275
  </label>
276
  <div id="UA" class="slctunivr-filed">
277
  <div class="tvc-dropdown">
278
  <div class="tvc-dropdown-header" id="ua_web_property_id_option_val" data-profileid="" data-accountid="<?php if($googleDetail->ua_analytic_account_id){ echo esc_attr($googleDetail->ua_analytic_account_id); } ?>" data-val="<?php if($googleDetail->property_id){ echo esc_attr($googleDetail->property_id); } ?>"><?php if($googleDetail->property_id){
279
  echo esc_attr($googleDetail->property_id);
280
+ }else{?><?php esc_html_e("Select Property Id","enhanced-e-commerce-for-woocommerce-store"); ?><?php } ?></div>
281
  <div class="tvc-dropdown-content" id="ua_web_property_id_option">
282
+ <div class="tvc-select-items"><option value=""><?php esc_html_e("Select Property Id","enhanced-e-commerce-for-woocommerce-store"); ?></option></div>
283
+ <div class="tvc-ua-option-more option"><?php esc_html_e("Load More","enhanced-e-commerce-for-woocommerce-store"); ?></div>
284
  </div>
285
  </div>
286
 
290
  <label for="gglanytc">
291
  <input type="radio" <?php echo esc_attr($this->is_checked($tracking_option, "GA4")); ?> name="analytic_tag_type" id="gglanytc" value="GA4">
292
  <span class="checkmark"></span>
293
+ <?php esc_html_e("Google Analytics 4","enhanced-e-commerce-for-woocommerce-store"); ?>
294
  </label>
295
  <div id="GA4" class="slctunivr-filed">
296
 
298
  <div class="tvc-dropdown-header" id="ga4_web_measurement_id_option_val" data-name="" data-accountid="<?php if($googleDetail->ga4_analytic_account_id){ echo esc_attr($googleDetail->ga4_analytic_account_id); } ?>" data-val="<?php if($googleDetail->measurement_id){ echo esc_attr($googleDetail->measurement_id); } ?>">
299
  <?php if($googleDetail->measurement_id){
300
  echo esc_attr($googleDetail->measurement_id);
301
+ }else{?><?php esc_html_e("Select Measurement Id","enhanced-e-commerce-for-woocommerce-store"); ?>
302
  <?php } ?></div>
303
  <div class="tvc-dropdown-content" id="ga4_web_measurement_id_option">
304
+ <div class="tvc-select-items"><option value=""><?php esc_html_e("Select Measurement Id","enhanced-e-commerce-for-woocommerce-store"); ?></option></div>
305
+ <div class="tvc-ga4-option-more option"><?php esc_html_e("Load More","enhanced-e-commerce-for-woocommerce-store"); ?></div>
306
  </div>
307
  </div>
308
 
312
  <label for="both">
313
  <input type="radio" <?php echo esc_attr($this->is_checked($tracking_option, "BOTH")); ?> name="analytic_tag_type" id="both" value="BOTH">
314
  <span class="checkmark"></span>
315
+ <?php esc_html_e("Both","enhanced-e-commerce-for-woocommerce-store"); ?>
316
  </label>
317
  <div id="BOTH" class="slctunivr-filed">
318
  <div class="botslectbxitem">
320
  <div class="tvc-dropdown">
321
  <div class="tvc-dropdown-header" id="both_ua_web_property_id_option_val" data-profileid="" data-accountid="<?php if($googleDetail->ua_analytic_account_id){ echo esc_attr($googleDetail->ua_analytic_account_id); } ?>" data-val="<?php if($googleDetail->property_id){ echo esc_attr($googleDetail->property_id); } ?>"><?php if($googleDetail->property_id){
322
  echo esc_attr($googleDetail->property_id);
323
+ }else{?><?php esc_html_e("Select Property Id","enhanced-e-commerce-for-woocommerce-store"); ?><?php } ?></div>
324
  <div class="tvc-dropdown-content" id="both_ua_web_property_id_option">
325
+ <div class="tvc-select-items"><option value=""><?php esc_html_e("Select Property Id","enhanced-e-commerce-for-woocommerce-store"); ?></option></div>
326
+ <div class="tvc-ua-option-more option"><?php esc_html_e("Load More","enhanced-e-commerce-for-woocommerce-store"); ?></div>
327
  </div>
328
  </div>
329
 
334
  <div class="tvc-dropdown-header" id="both_ga4_web_measurement_id_option_val" data-name="" data-accountid="<?php if($googleDetail->ga4_analytic_account_id){ echo esc_attr($googleDetail->ga4_analytic_account_id); } ?>" data-val="<?php if($googleDetail->measurement_id){ echo esc_attr($googleDetail->measurement_id); } ?>">
335
  <?php if($googleDetail->measurement_id){
336
  echo esc_attr($googleDetail->measurement_id);
337
+ }else{?><?php esc_html_e("Select Measurement Id","enhanced-e-commerce-for-woocommerce-store"); ?>
338
  <?php } ?></div>
339
  <div class="tvc-dropdown-content" id="both_ga4_web_measurement_id_option">
340
+ <div class="tvc-select-items"><option value=""><?php esc_html_e("Select Measurement Id","enhanced-e-commerce-for-woocommerce-store"); ?></option></div>
341
+ <div class="tvc-ga4-option-more option"><?php esc_html_e("Load More","enhanced-e-commerce-for-woocommerce-store"); ?></div>
342
  </div>
343
  </div>
344
  </div>
347
  </div>
348
  </div>
349
  <div class="form-row">
350
+ <h5><?php esc_html_e("Advance Settings (Optional)","enhanced-e-commerce-for-woocommerce-store"); ?></h5>
351
  <div class="chckbxbgbx">
352
  <div class="cstmcheck-item">
353
  <label for="enhanced_e_commerce_tracking">
354
  <input type="checkbox" class="custom-control-input" name="enhanced_e_commerce_tracking" id="enhanced_e_commerce_tracking" <?php echo esc_attr($is_e_e_tracking); ?>>
355
  <span class="checkmark"></span>
356
+ <?php esc_html_e("Enhaced e-commerce tracking","enhanced-e-commerce-for-woocommerce-store"); ?>
357
  </label>
358
  </div>
359
  <div class="cstmcheck-item">
360
  <label for="add_gtag_snippet">
361
  <input type="checkbox" class="custom-control-input" name="add_gtag_snippe" id="add_gtag_snippet" <?php echo esc_attr($is_a_g_snippet); ?>>
362
  <span class="checkmark"></span>
363
+ <?php esc_html_e("Add gtag.js snippet","enhanced-e-commerce-for-woocommerce-store"); ?>
364
  </label>
365
  </div>
366
  </div>
368
  <div class="stepsbmtbtn">
369
  <input type="hidden" id="subscriptionPropertyId" name="subscriptionPropertyId" value="<?php echo (property_exists($googleDetail,"property_id"))?esc_attr($googleDetail->property_id):""; ?>">
370
  <input type="hidden" id="subscriptionMeasurementId" name="subscriptionMeasurementId" value="<?php echo (property_exists($googleDetail,"measurement_id"))?esc_attr($googleDetail->measurement_id):""; ?>">
371
+ <button type="button" disabled id="step_1" class="stepnextbtn stpnxttrgr"><?php esc_html_e("Next","enhanced-e-commerce-for-woocommerce-store"); ?></button>
372
  </div>
373
  </form>
374
  </div>
382
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/check-wbg.png'); ?>" alt="" />
383
  </div>
384
  <div class="stepdetwrap">
385
+ <h4><?php esc_html_e("Connect Google Ads account","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
386
+ <p><?php esc_html_e("Select the Google Ads account from the drop down or create a new one. Once you connect Google Ads account, dynamic remarketing, Google Ads conversion and enhanced conversion tags will be activated which will help your reach out to your store visitor based on their browsing behavior and your campaign measurements will be effective. DO NOT MISS THIS if you really want to increase your eCommerce sales.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
387
  </div>
388
  </div>
389
  <div class="stepmoredtlwrp">
393
  <div class="ggladsselectbx">
394
  <input type="hidden" id="subscriptionGoogleAdsId" name="subscriptionGoogleAdsId" value="<?php echo property_exists($googleDetail,"google_ads_id")?esc_attr($googleDetail->google_ads_id):""; ?>">
395
  <select class="slect2bx google_ads_sel" id="ads-account" name="customer_id">
396
+ <option value=''><?php esc_html_e("Select Google Ads Account","enhanced-e-commerce-for-woocommerce-store"); ?></option>
397
  </select>
398
  </div>
399
+ <div class="orwrp"><?php esc_html_e("or","enhanced-e-commerce-for-woocommerce-store"); ?></div>
400
  <div class="creatnewwrp">
401
+ <button type="button" class="cretnewbtn newggladsbtn"><span class="plusicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/blue-plus.png'); ?>" alt="" /></span> <?php esc_html_e("Create New","enhanced-e-commerce-for-woocommerce-store"); ?></button>
402
  </div>
403
  </div>
404
 
405
  <div class="selcttopwrap">
406
  <div class="onbrdpp-body alert alert-primary" style="display:none;" id="new_google_ads_section">
407
+ <h4><?php esc_html_e("Account Created","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
408
+ <p><?php esc_html_e("Your Google Ads Account has been created","enhanced-e-commerce-for-woocommerce-store"); ?> <strong>(<b><span id="new_google_ads_id"></span></b>).</strong></p>
409
+ <h5><?php esc_html_e("Steps to claim your Google Ads Account:","enhanced-e-commerce-for-woocommerce-store"); ?></h5>
410
  <ol>
411
+ <li><?php esc_html_e("Accept invitation mail from Google Ads sent to your email address","enhanced-e-commerce-for-woocommerce-store"); ?> <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
412
  <a href="" target="_blank" id="ads_invitationLink">Invitation Link</a></span>
413
  </li>
414
+ <li><?php esc_html_e("Log into your Google Ads account and set up your billing preferences","enhanced-e-commerce-for-woocommerce-store"); ?></li>
415
  </ol>
416
  </div>
417
  </div>
423
  $is_d_r_tags = (property_exists($googleDetail,"dynamic_remarketing_tags") && $googleDetail->dynamic_remarketing_tags == 1)?"checked":(($defaulSelection == 1)?"checked":"");
424
  $is_g_ad_c_tracking = (property_exists($googleDetail,"google_ads_conversion_tracking") && $googleDetail->google_ads_conversion_tracking == 1)?"checked":(($defaulSelection == 1)?"checked":"");
425
  ?>
426
+ <h5><?php esc_html_e("Advance Settings (Optional)","enhanced-e-commerce-for-woocommerce-store"); ?></h5>
427
  <div class="chckbxbgbx dsplcolmview">
428
  <div class="cstmcheck-item">
429
  <label for="remarketing_tag">
430
  <input type="checkbox" class="custom-control-input" name="remarketing_tag" id="remarketing_tag" value="1" <?php echo esc_attr($is_r_tags); ?>>
431
  <span class="checkmark"></span>
432
+ <?php esc_html_e("Enable Google Remarketing Tag","enhanced-e-commerce-for-woocommerce-store"); ?>
433
  </label>
434
  </div>
435
  <div class="cstmcheck-item">
436
  <label for="dynamic_remarketing_tags">
437
  <input type="checkbox" class="custom-control-input" name="dynamic_remarketing_tags" id="dynamic_remarketing_tags" value="1" <?php echo esc_attr($is_d_r_tags); ?>>
438
  <span class="checkmark"></span>
439
+ <?php esc_html_e("Enable Dynamic Remarketing Tag","enhanced-e-commerce-for-woocommerce-store"); ?>
440
  </label>
441
  </div>
442
  <div class="cstmcheck-item <?php if($this->plan_id == 1){?>cstmcheck-item-pro <?php } ?>">
444
  <?php if($this->plan_id != 1){?>
445
  <input type="checkbox" class="custom-control-input" name="google_ads_conversion_tracking" id="google_ads_conversion_tracking" value="1" <?php echo esc_attr($is_g_ad_c_tracking); ?>>
446
  <span class="checkmark"></span>
447
+ <?php esc_html_e("Google Ads conversion tracking","enhanced-e-commerce-for-woocommerce-store"); ?>
448
  <?php }else{?>
449
+ <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/icon/lock.svg'); ?>"><label><?php esc_html_e("Google Ads conversion tracking (Pro Plan)","enhanced-e-commerce-for-woocommerce-store"); ?></label>
450
  <?php } ?>
451
  </label>
452
  </div>
454
  <label for="link_google_analytics_with_google_ads">
455
  <input type="checkbox" class="custom-control-input" name="link_google_analytics_with_google_ads" id="link_google_analytics_with_google_ads" value="1" <?php echo esc_attr($is_l_g_an_w_g_ad); ?>>
456
  <span class="checkmark"></span>
457
+ <?php esc_html_e("Link Google Analytics with Google Ads","enhanced-e-commerce-for-woocommerce-store"); ?>
458
  </label>
459
  </div>
460
  </div>
461
  </div>
462
  <div class="stepsbmtbtn">
463
+ <button type="button" id="step_2" class="stepnextbtn stpnxttrgr"><?php esc_html_e("Next","enhanced-e-commerce-for-woocommerce-store"); ?></button>
464
  <!-- add dslbbtn class for disable button -->
465
  </div>
466
  </form>
475
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/check-wbg.png'); ?>" alt="" />
476
  </div>
477
  <div class="stepdetwrap">
478
+ <h4><?php esc_html_e("Select Google Merchant Center Account","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
479
+ <p><?php esc_html_e("Make your WooCommerce shop and products available to millions of shoppers across google.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
480
  </div>
481
  </div>
482
  <div class="stepmoredtlwrp">
486
  <div class="form-group" style="display:none;" id="new_merchant_section">
487
  <div class="text-center">
488
  <div class="alert alert-primary" style="padding: 10px;" role="alert">
489
+ <label class="form-label-control font-weight-bold"><?php esc_html_e("New Google Merchant Center with account id: ","enhanced-e-commerce-for-woocommerce-store"); ?><span id="new_merchant_id"></span> <?php esc_html_e('is created successfully. Click on "Save" to finish the configuration.',"enhanced-e-commerce-for-woocommerce-store"); ?></label>
490
  </div>
491
  </div>
492
  </div>
493
  <div id="tvc_merchant_section">
494
  <div class="ggladsselectbx">
495
  <select class="slect2bx" id="google_merchant_center_id" name="google_merchant_center_id">
496
+ <option value=''><?php esc_html_e("Select Google Merchant Center","enhanced-e-commerce-for-woocommerce-store"); ?></option>
497
  </select>
498
  </div>
499
+ <div class="orwrp"><?php esc_html_e("or","enhanced-e-commerce-for-woocommerce-store"); ?></div>
500
  <div class="creatnewwrp">
501
+ <button type="button" class="cretnewbtn newmrchntbtn"><span class="plusicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/blue-plus.png'); ?>" alt="" /></span> <?php esc_html_e("Create New","enhanced-e-commerce-for-woocommerce-store"); ?></button>
502
  </div>
503
  </div>
504
  </div>
505
  <div class="stepsbmtbtn">
506
+ <button type="button" id="step_3" data-enchanter="finish" class="stepnextbtn finishbtn"><?php esc_html_e("Save","enhanced-e-commerce-for-woocommerce-store"); ?></button>
507
  <!-- add dslbbtn class for disable button -->
508
  </div>
509
  <input type="hidden" id="subscriptionMerchantCenId" name="subscriptionMerchantCenId" value="<?php echo property_exists($googleDetail,"google_merchant_center_id")?esc_attr($googleDetail->google_merchant_center_id):""; ?>">
528
  <div class="sidebrcontainer">
529
  <div class="onbrd-rdmbx">
530
  <div class="rdm-amnt">
531
+ <small><?php esc_html_e("Google Ads Credit of","enhanced-e-commerce-for-woocommerce-store"); ?></small>
532
  <?php echo esc_attr($off_credit_amt); ?>
533
  </div>
534
+ <p><?php esc_html_e("New users can get ".esc_attr($off_credit_amt)." in Ad Credits when they spend their first ".esc_attr($off_credit_amt)." on Google Ads within 60 days.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
535
+ <a target="_blank" href="<?php echo esc_url_raw("https://conversios.io/help-center/new-google-spend-match.pdf"); ?>" class="lrnmorbtn"><?php esc_html_e("Terms and conditions apply","enhanced-e-commerce-for-woocommerce-store"); ?> <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/arrow_right.png'); ?>" alt="" /></a>
536
  </div>
537
  <div class="onbrdrgt-nav">
538
  <ul>
539
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://conversios.io/help-center/Installation-Manual.pdf"); ?>"><?php echo esc_html_e("Installation Manual","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
540
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://conversios.io/help-center/Google-shopping-Guide.pdf"); ?>" href=""><?php esc_html_e("Google Shopping Guide","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
541
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://wordpress.org/plugins/enhanced-e-commerce-for-woocommerce-store/faq/"); ?>" href=""><?php esc_html_e("FAQ","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
542
  </ul>
543
  </div>
544
  <div class="onbrdr-msg">
545
  <ul>
546
+ <li><?php esc_html_e('Not able to connect with any of the google accounts, reach out to us ','enhanced-e-commerce-for-woocommerce-store'); ?>
547
+ <a class="contct-lnk" target="_blank" href="<?php echo esc_url_raw("https://conversios.io/contact-us/?utm_source=app_woo&utm_medium=inapp&utm_campaign=pro_contact"); ?>" href=""><?php esc_html_e("here.","enhanced-e-commerce-for-woocommerce-store"); ?>
548
  </a>
549
  </li>
550
  </ul>
564
  <div class="onbrdppmain" role="document">
565
  <div class="onbrdnpp-cntner acccretppcntnr">
566
  <div class="onbrdnpp-hdr">
567
+ <h4><?php esc_html_e("You have not selected Google Ads account.","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
568
  <div class="ppclsbtn clsbtntrgr"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-icon.png');?>" alt="" /></div>
569
  </div>
570
  <div class="onbrdpp-body">
571
+ <p><?php esc_html_e("If you do not select Google Ads account, you will not be able to use some of the major features like:","enhanced-e-commerce-for-woocommerce-store"); ?></p>
572
  <ul>
573
+ <li><?php esc_html_e("Dynamic Remarketing Tags","enhanced-e-commerce-for-woocommerce-store"); ?> </li>
574
+ <li><?php esc_html_e("Google Smart Shopping Campaigns","enhanced-e-commerce-for-woocommerce-store"); ?></li>
575
+ <li><?php esc_html_e("Google Analytics and Google Ads linking","enhanced-e-commerce-for-woocommerce-store"); ?></li>
576
  </ul>
577
+ <p><?php esc_html_e("Are you sure you want to continue without selecting Google Ads account?","enhanced-e-commerce-for-woocommerce-store"); ?></p>
578
  </div>
579
  <div class="ppfooterbtn">
580
+ <button type="button" class="ppblubtn btn-secondary" data-dismiss="modal" id="ads-skip-cancel"><?php esc_html_e("Cancel","enhanced-e-commerce-for-woocommerce-store"); ?></button>
581
+ <button type="button" class="ppblubtn btn-primary" data-dismiss="modal" id="ads-skip-continue"><?php esc_html_e("Continue","enhanced-e-commerce-for-woocommerce-store"); ?></button>
582
  </div>
583
  </div>
584
  </div>
588
  <div class="onbrdppmain">
589
  <div class="onbrdnpp-cntner ggladsppcntnr">
590
  <div class="onbrdnpp-hdr">
591
+ <h4><?php esc_html_e("Enable Google Ads Account","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
592
  <div class="ppclsbtn clsbtntrgr"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-icon.png');?>" alt="" /></div>
593
  </div>
594
  <div class="onbrdpp-body">
595
+ <p><?php esc_html_e("You’ll receive an invite from Google on your email. Accept the invitation to enable your Google Ads Account.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
596
  </div>
597
  <div class="ppfooterbtn">
598
+ <button type="button" id="ads-continue" class="ppblubtn sndinvitebtn"><?php esc_html_e("Send Invite","enhanced-e-commerce-for-woocommerce-store"); ?></button>
599
  </div>
600
  </div>
601
  </div>
605
  <div class="onbrdppmain">
606
  <div class="onbrdnpp-cntner acccretppcntnr">
607
  <div class="onbrdnpp-hdr">
608
+ <h4><?php esc_html_e("You have not selected Google merchant center account.","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
609
  <div class="ppclsbtn clsbtntrgr"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-icon.png');?>" alt="" /></div>
610
  </div>
611
  <div class="onbrdpp-body">
612
+ <p><?php esc_html_e("If you do not select a merchant center account, you will not be able to use complete google shopping features.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
613
+ <p><?php esc_html_e("Are you sure you want to continue without selecting a merchant center account?","enhanced-e-commerce-for-woocommerce-store"); ?></p>
614
  </div>
615
  <div class="ppfooterbtn">
616
+ <button type="button" class="ppblubtn btn-secondary" data-dismiss="modal" id="merchant-center-skip-cancel"><?php esc_html_e("Cancel","enhanced-e-commerce-for-woocommerce-store"); ?></button>
617
+ <button type="button" class="ppblubtn btn-primary" data-dismiss="modal" id="merchant-center-skip-continue"><?php esc_html_e("Continue","enhanced-e-commerce-for-woocommerce-store"); ?></button>
618
  </div>
619
  </div>
620
  </div>
628
  <div class="row">
629
  <div class="crtemrchnpp-lft">
630
  <div class="crtemrchpplft-top">
631
+ <h4><?php esc_html_e("Create Google Merchant Center Account","enhanced-e-commerce-for-woocommerce-store"); ?></h4>
632
+ <p><?php esc_html_e("Before you can upload product data, you’ll need to verify and claim your store’s website URL. Claiming associates your website URL with your Google Merchant Center account.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
633
  </div>
634
  <div class="claimedbx">
635
+ <?php esc_html_e("Your site will automatically be claimed and verified.","enhanced-e-commerce-for-woocommerce-store"); ?>
636
  </div>
637
  <div class="mrchntformwrp">
638
  <form action="#">
643
  <label for="adult_content">
644
  <input class="" type="checkbox" name="adult_content" id="adult_content">
645
  <span class="checkmark"></span>
646
+ <?php esc_html_e("My site contains","enhanced-e-commerce-for-woocommerce-store"); ?>
647
  </label>
648
+ <strong><?php esc_html_e("Adult Content","enhanced-e-commerce-for-woocommerce-store"); ?></strong>
649
  </div>
650
  </div>
651
  <div class="form-row">
652
+ <input type="text" class="fromfiled" name="store_name" id="store_name" placeholder="<?php esc_html_e("Enter Store Name","enhanced-e-commerce-for-woocommerce-store"); ?>" required>
653
+ <div class="inputinfotxt"><?php esc_html_e("This name will appear in your Shopping Ads.","enhanced-e-commerce-for-woocommerce-store"); ?></div>
654
  </div>
655
  <div class="form-row">
656
  <?php echo $this->get_countries($this->tvc_data['user_country']); ?>
660
  <label for="terms_conditions">
661
  <input class="" type="checkbox" name="concent" id="terms_conditions">
662
  <span class="checkmark"></span>
663
+ <?php esc_html_e("I accept the","enhanced-e-commerce-for-woocommerce-store"); ?>
664
  </label>
665
+ <a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/160173?hl=en"); ?>"><?php esc_html_e("terms & conditions","enhanced-e-commerce-for-woocommerce-store"); ?></a>
666
  </div>
667
  </div>
668
  </form>
669
  </div>
670
  <div class="ppfooterbtn">
671
+ <button type="button" id="create_merchant_account" class="cretemrchntbtn"><?php esc_html_e("Create Account","enhanced-e-commerce-for-woocommerce-store"); ?>
672
  </button>
673
  </div>
674
  </div>
675
  <div class="crtemrchnpp-right">
676
+ <h6><?php esc_html_e("To use Google Shopping, your website must meet these requirements:","enhanced-e-commerce-for-woocommerce-store"); ?></h6>
677
  <ul>
678
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6149970?hl=en"); ?>"><?php esc_html_e("Google Shopping ads policies","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
679
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150127"); ?>"><?php esc_html_e("Accurate Contact Information","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
680
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150122"); ?>"><?php esc_html_e("Secure collection of process and personal data","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
681
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150127"); ?>"><?php esc_html_e("Return Policy","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
682
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150127"); ?>"><?php esc_html_e("Billing terms & conditions","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
683
+ <li><a target="_blank" href="<?php echo esc_url_raw("https://support.google.com/merchants/answer/6150118"); ?>"><?php esc_html_e("Complete checkout process","enhanced-e-commerce-for-woocommerce-store"); ?></a></li>
684
  </ul>
685
  </div>
686
  </div>
695
  <div class="onbrdppmain">
696
  <div class="onbrdnpp-cntner congratppcntnr">
697
  <div class="onbrdnpp-hdr txtcnter">
698
+ <h2><?php esc_html_e("Congratulations!!","enhanced-e-commerce-for-woocommerce-store"); ?></h2>
699
  <div class="ppclsbtn clsbtntrgr"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-icon.png'); ?>" alt="" /></div>
700
  </div>
701
  <div class="onbrdpp-body congratppbody">
702
+ <p><?php esc_html_e("All the Google accounts are successfully configured with your store. Below is the summary.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
703
  <div class="congratppdtlwrp">
704
  <div class="cngrtppdtl-item" id="google_analytics_property_id_info">
705
  <div class="cngtrpplft">
706
  <span class="cngrtchckicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/green-check.png'); ?>" alt="" /></span>
707
+ <?php esc_html_e("Google Analytics Property Id:","enhanced-e-commerce-for-woocommerce-store"); ?>
708
  </div>
709
  <div class="cngtrpprgt" id="selected_google_analytics_property"></div>
710
  <div>
714
  <div class="cngrtppdtl-item" id="google_analytics_measurement_id_info">
715
  <div class="cngtrpplft">
716
  <span class="cngrtchckicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/green-check.png'); ?>" alt="" /></span>
717
+ <?php esc_html_e("Google Analytics 4 Measurement Id:","enhanced-e-commerce-for-woocommerce-store"); ?>
718
  </div>
719
  <div class="cngtrpprgt" id="selected_google_analytics_measurement"></div>
720
  <div>
724
  <div class="cngrtppdtl-item" id="google_ads_info">
725
  <div class="cngtrpplft">
726
  <span class="cngrtchckicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/green-check.png'); ?>" alt="" /></span>
727
+ <?php esc_html_e("Google Ads Account:","enhanced-e-commerce-for-woocommerce-store"); ?>
728
  </div>
729
  <div class="cngtrpprgt" id="selected_google_ads_account"></div>
730
  <div>
734
  <div class="cngrtppdtl-item" id="google_merchant_center_info">
735
  <div class="cngtrpplft">
736
  <span class="cngrtchckicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/green-check.png'); ?>" alt="" /></span>
737
+ <?php esc_html_e("Google Merchant Center Account","enhanced-e-commerce-for-woocommerce-store"); ?>
738
  </div>
739
  <div class="cngtrpprgt" id="selected_google_merchant_center"></div>
740
  <div>
744
  </div>
745
  </div>
746
  <div class="ppfooterbtn">
747
+ <button type="button" id="confirm_selection" class="ppblubtn"><?php esc_html_e("Confirm and go to Product Sync","enhanced-e-commerce-for-woocommerce-store"); ?></button>
748
+ <button type="button" id="confirm_selection_dash" class="ppblubtn"><?php esc_html_e("Confirm and go to the Dashboard ","enhanced-e-commerce-for-woocommerce-store");?> </button>
749
  </div>
750
  </div>
751
  </div>
1085
  // Getting started - shows after installation.
1086
  if(isset($_GET['page']) && sanitize_text_field($_GET['page']) == "conversios_onboarding"){
1087
  add_dashboard_page(
1088
+ esc_html__( 'Welcome to Conversios Onboarding', 'enhanced-e-commerce-for-woocommerce-store' ),
1089
+ esc_html__( 'Welcome to Conversios Onboarding', 'enhanced-e-commerce-for-woocommerce-store' ),
1090
  apply_filters( 'conversios_welcome', 'manage_options' ),
1091
  'conversios_onboarding',
1092
  array( $this, 'welcome_screen' )
admin/class-enhanced-ecommerce-google-analytics-admin.php CHANGED
@@ -57,7 +57,7 @@ class Enhanced_Ecommerce_Google_Analytics_Admin extends TVC_Admin_Helper {
57
  }else{
58
  if(!$this->get_subscriptionId()){
59
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_a">
60
- <p>'. esc_html__("Tatvic EE plugin is now fully compatible with Google Analytics 4. Also, explore the new features of Google Shopping and Dynamic remarketing to reach million of shoppers across Google and scale your eCommerce business faster.","conversios").' <a href="'.esc_url_raw('admin.php?page=conversios').'"><b><u>'. esc_html__("CONFIGURE NOW","conversios").'</u></b></a></p>
61
  </div>';
62
  }
63
  }
@@ -68,7 +68,7 @@ class Enhanced_Ecommerce_Google_Analytics_Admin extends TVC_Admin_Helper {
68
  $googleDetail = $google_detail['setting'];
69
  if(isset($googleDetail->google_merchant_center_id) && $googleDetail->google_merchant_center_id =="" && $this->subscriptionId != "" ){
70
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_b">
71
- <p>'. esc_html__("Leverage the power of Google Shopping to reach out millions of shoppers across Google. Automate entire Google Shopping and get eligible for free listing when user searches on Google for products similar to your eCommerce business.","conversios").' <a href="'.esc_url_raw('admin.php?page=conversios').'"><b><u>'. esc_html__("Automate now","conversios").'</u></b></a></p>
72
  </div>';
73
 
74
  }
@@ -77,7 +77,7 @@ class Enhanced_Ecommerce_Google_Analytics_Admin extends TVC_Admin_Helper {
77
  if(isset($ee_additional_data['dismissed_ee_adimin_notic_c']) && $ee_additional_data['dismissed_ee_adimin_notic_c'] == 1){
78
  }else{
79
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_c">
80
- <p>'. esc_html__("Now access important eCommerce KPIs and Google Ads campaign performance data directly in your wordpress backend to improve your marketing ROI.","conversios").' <a href="'.esc_url_raw('admin.php?page=conversios').'"><b><u>'. esc_html__("View it from here.","conversios").'</u></b></a></p>
81
  </div>';
82
 
83
  }
@@ -88,7 +88,7 @@ class Enhanced_Ecommerce_Google_Analytics_Admin extends TVC_Admin_Helper {
88
 
89
  if($fb_pixel_id == ""){
90
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_d">
91
- <img style="float: left; height: 45px;" src="'.esc_url_raw(ENHANCAD_PLUGIN_URL . "/admin/images/fb-pixel.jpg").'" ><p style="line-height: 28px; margin-left: 5px; display: inline-block;">'. esc_html__("Introducing the all-new Facebook Pixel Tracking in Conversios today!","conversios").' <a href="'.esc_url_raw('admin.php?page=conversios-google-analytics#fb_pixel_id').'"><b><u>'. esc_html__(" Check it out for yourself.","conversios").'</u></b></a></p>
92
  </div>';
93
  }
94
  }
@@ -98,14 +98,14 @@ class Enhanced_Ecommerce_Google_Analytics_Admin extends TVC_Admin_Helper {
98
  $gm_id = isset($ee_settings['gm_id'])?$ee_settings['gm_id']:"";
99
  if($gm_id != ""){
100
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_e">
101
- <img style="float: left; height: 45px;" src="'.esc_url_raw(ENHANCAD_PLUGIN_URL . "/admin/images/icon-dashboard.jpg").'" ><p style="line-height: 28px; margin-left: 5px; display: inline-block;">'. esc_html__("Your GA4 Dashboard is just a click away !","conversios").' <a href="'.esc_url_raw('admin.php?page=conversios&ga_type=ga4').'"><b><u>'. esc_html__(" Go to GA4 Dashboard.","conversios").'</u></b></a></p>
102
  </div>';
103
  }
104
  }
105
 
106
  if(isset($ee_additional_data['dismissed_ee_adimin_notic_f']) && $ee_additional_data['dismissed_ee_adimin_notic_f'] == 1){
107
  }else {
108
- echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_f"><p style="line-height: 28px; margin-left: 5px; display: inline-block;">'. esc_html__("Grow your business with Performance Max Campaigns. You can create a campaign through our plugin with just a few clicks, and promote products across Google Platforms,","conversios").' <a href="'.esc_url_raw('admin.php?page=conversios-pmax').'"><b><u>'. esc_html__(" Try now.","conversios").'</u></b></a></p>
109
  </div>';
110
 
111
  }
57
  }else{
58
  if(!$this->get_subscriptionId()){
59
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_a">
60
+ <p>'. esc_html__("Tatvic EE plugin is now fully compatible with Google Analytics 4. Also, explore the new features of Google Shopping and Dynamic remarketing to reach million of shoppers across Google and scale your eCommerce business faster.","enhanced-e-commerce-for-woocommerce-store").' <a href="'.esc_url_raw('admin.php?page=conversios').'"><b><u>'. esc_html__("CONFIGURE NOW","enhanced-e-commerce-for-woocommerce-store").'</u></b></a></p>
61
  </div>';
62
  }
63
  }
68
  $googleDetail = $google_detail['setting'];
69
  if(isset($googleDetail->google_merchant_center_id) && $googleDetail->google_merchant_center_id =="" && $this->subscriptionId != "" ){
70
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_b">
71
+ <p>'. esc_html__("Leverage the power of Google Shopping to reach out millions of shoppers across Google. Automate entire Google Shopping and get eligible for free listing when user searches on Google for products similar to your eCommerce business.","enhanced-e-commerce-for-woocommerce-store").' <a href="'.esc_url_raw('admin.php?page=conversios').'"><b><u>'. esc_html__("Automate now","enhanced-e-commerce-for-woocommerce-store").'</u></b></a></p>
72
  </div>';
73
 
74
  }
77
  if(isset($ee_additional_data['dismissed_ee_adimin_notic_c']) && $ee_additional_data['dismissed_ee_adimin_notic_c'] == 1){
78
  }else{
79
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_c">
80
+ <p>'. esc_html__("Now access important eCommerce KPIs and Google Ads campaign performance data directly in your wordpress backend to improve your marketing ROI.","enhanced-e-commerce-for-woocommerce-store").' <a href="'.esc_url_raw('admin.php?page=conversios').'"><b><u>'. esc_html__("View it from here.","enhanced-e-commerce-for-woocommerce-store").'</u></b></a></p>
81
  </div>';
82
 
83
  }
88
 
89
  if($fb_pixel_id == ""){
90
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_d">
91
+ <img style="float: left; height: 45px;" src="'.esc_url_raw(ENHANCAD_PLUGIN_URL . "/admin/images/fb-pixel.jpg").'" ><p style="line-height: 28px; margin-left: 5px; display: inline-block;">'. esc_html__("Introducing the all-new Facebook Pixel Tracking in Conversios today!","enhanced-e-commerce-for-woocommerce-store").' <a href="'.esc_url_raw('admin.php?page=conversios-google-analytics#fb_pixel_id').'"><b><u>'. esc_html__(" Check it out for yourself.","enhanced-e-commerce-for-woocommerce-store").'</u></b></a></p>
92
  </div>';
93
  }
94
  }
98
  $gm_id = isset($ee_settings['gm_id'])?$ee_settings['gm_id']:"";
99
  if($gm_id != ""){
100
  echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_e">
101
+ <img style="float: left; height: 45px;" src="'.esc_url_raw(ENHANCAD_PLUGIN_URL . "/admin/images/icon-dashboard.jpg").'" ><p style="line-height: 28px; margin-left: 5px; display: inline-block;">'. esc_html__("Your GA4 Dashboard is just a click away !","enhanced-e-commerce-for-woocommerce-store").' <a href="'.esc_url_raw('admin.php?page=conversios&ga_type=ga4').'"><b><u>'. esc_html__(" Go to GA4 Dashboard.","enhanced-e-commerce-for-woocommerce-store").'</u></b></a></p>
102
  </div>';
103
  }
104
  }
105
 
106
  if(isset($ee_additional_data['dismissed_ee_adimin_notic_f']) && $ee_additional_data['dismissed_ee_adimin_notic_f'] == 1){
107
  }else {
108
+ echo '<div class="notice notice-info is-dismissible" data-id="ee_adimin_notic_f"><p style="line-height: 28px; margin-left: 5px; display: inline-block;">'. esc_html__("Grow your business with Performance Max Campaigns. You can create a campaign through our plugin with just a few clicks, and promote products across Google Platforms,","enhanced-e-commerce-for-woocommerce-store").' <a href="'.esc_url_raw('admin.php?page=conversios-pmax').'"><b><u>'. esc_html__(" Try now.","enhanced-e-commerce-for-woocommerce-store").'</u></b></a></p>
109
  </div>';
110
 
111
  }
admin/class-survey.php CHANGED
@@ -113,7 +113,7 @@ if ( ! class_exists( 'TVC_Survey' ) ) {
113
  $form.submit(function(event) {
114
  event.preventDefault();
115
  if (! $form.find('input[type=radio]:checked').val()) {
116
- $form.find('.ee-survey-footer').prepend('<span class="error"><?php echo esc_js( esc_html__( 'Please select an option', 'conversios' ) ); ?></span>');
117
  return;
118
  }
119
  var data = {
@@ -249,32 +249,32 @@ if ( ! class_exists( 'TVC_Survey' ) ) {
249
 
250
  $options = array(
251
  1 => array(
252
- "title" => esc_html__("No longer need the plugin","enhanced-e-commerce-for-woocommerce-store", "conversios"),
253
  ),
254
  2 => array(
255
- 'title' => esc_html__("Switching to a different plugin","conversios"),
256
- 'details' => esc_html__( 'Please share which plugin', 'conversios' ),
257
  ),
258
  3 => array(
259
- 'title' => esc_html__("Couldn't get the plugin to work","conversios"),
260
  ),
261
  4 => array(
262
- 'title' => esc_html__("It's a temporary deactivation","conversios"),
263
  ),
264
  5 => array(
265
- 'title' => esc_html__("Other","conversios"),
266
- 'details' => esc_html__( 'Please share the reason', 'conversios' ),
267
  ),
268
  );
269
  ?>
270
  <div class="ee-survey-modal" id="ee-survey-<?php echo esc_attr($this->plugin); ?>">
271
  <div class="ee-survey-wrap">
272
  <form class="ee-survey" method="post">
273
- <span class="ee-survey-title"><span class="dashicons dashicons-admin-customizer"></span><?php echo ' ' . esc_html__( 'Quick Feedback', 'conversios' ); ?></span>
274
  <span class="ee-survey-desc">
275
  <?php
276
  // Translators: Placeholder for the plugin name.
277
- echo sprintf( esc_html__('If you have a moment, please share why you are deactivating %s:', 'conversios' ), esc_attr($this->name) );
278
  ?>
279
  </span>
280
  <div class="ee-survey-options">
@@ -293,10 +293,10 @@ if ( ! class_exists( 'TVC_Survey' ) ) {
293
  </div>
294
  <div class="ee-survey-footer">
295
  <button type="submit" class="ee-survey-submit button button-primary button-large">
296
- <?php echo sprintf( esc_html__('Submit %s Deactivate', 'conversios' ), '&amp;' ); ?>
297
  </button>
298
  <a href="#" class="ee-survey-deactivate">
299
- <?php echo esc_html__('Close', 'conversios' ); ?>
300
  </a>
301
  </div>
302
  </form>
113
  $form.submit(function(event) {
114
  event.preventDefault();
115
  if (! $form.find('input[type=radio]:checked').val()) {
116
+ $form.find('.ee-survey-footer').prepend('<span class="error"><?php echo esc_js( esc_html__( 'Please select an option', 'enhanced-e-commerce-for-woocommerce-store' ) ); ?></span>');
117
  return;
118
  }
119
  var data = {
249
 
250
  $options = array(
251
  1 => array(
252
+ "title" => esc_html__("No longer need the plugin","enhanced-e-commerce-for-woocommerce-store", "enhanced-e-commerce-for-woocommerce-store"),
253
  ),
254
  2 => array(
255
+ 'title' => esc_html__("Switching to a different plugin","enhanced-e-commerce-for-woocommerce-store"),
256
+ 'details' => esc_html__( 'Please share which plugin', 'enhanced-e-commerce-for-woocommerce-store' ),
257
  ),
258
  3 => array(
259
+ 'title' => esc_html__("Couldn't get the plugin to work","enhanced-e-commerce-for-woocommerce-store"),
260
  ),
261
  4 => array(
262
+ 'title' => esc_html__("It's a temporary deactivation","enhanced-e-commerce-for-woocommerce-store"),
263
  ),
264
  5 => array(
265
+ 'title' => esc_html__("Other","enhanced-e-commerce-for-woocommerce-store"),
266
+ 'details' => esc_html__( 'Please share the reason', 'enhanced-e-commerce-for-woocommerce-store' ),
267
  ),
268
  );
269
  ?>
270
  <div class="ee-survey-modal" id="ee-survey-<?php echo esc_attr($this->plugin); ?>">
271
  <div class="ee-survey-wrap">
272
  <form class="ee-survey" method="post">
273
+ <span class="ee-survey-title"><span class="dashicons dashicons-admin-customizer"></span><?php echo ' ' . esc_html__( 'Quick Feedback', 'enhanced-e-commerce-for-woocommerce-store' ); ?></span>
274
  <span class="ee-survey-desc">
275
  <?php
276
  // Translators: Placeholder for the plugin name.
277
+ echo sprintf( esc_html__('If you have a moment, please share why you are deactivating %s:', 'enhanced-e-commerce-for-woocommerce-store' ), esc_attr($this->name) );
278
  ?>
279
  </span>
280
  <div class="ee-survey-options">
293
  </div>
294
  <div class="ee-survey-footer">
295
  <button type="submit" class="ee-survey-submit button button-primary button-large">
296
+ <?php echo sprintf( esc_html__('Submit %s Deactivate', 'enhanced-e-commerce-for-woocommerce-store' ), '&amp;' ); ?>
297
  </button>
298
  <a href="#" class="ee-survey-deactivate">
299
+ <?php echo esc_html__('Close', 'enhanced-e-commerce-for-woocommerce-store' ); ?>
300
  </a>
301
  </div>
302
  </form>
admin/class-tvc-admin-helper.php CHANGED
@@ -218,7 +218,7 @@ Class TVC_Admin_Helper{
218
  $google_detail["prod_sync_status"] = (object) $syncProductStat;
219
  $this->set_ee_options_data($google_detail);
220
  }
221
- return array( "error"=>false, "api_rs"=>$api_rs, "message"=>esc_html__("Details updated successfully.","conversios") );
222
  }
223
  }
224
  /*
@@ -234,7 +234,7 @@ Class TVC_Admin_Helper{
234
  $googleDetail = $google_detail->data;
235
  }
236
  }else{
237
- return array("error"=>true, "message"=>esc_html__("Please try after some time.","conversios"));
238
  }
239
  //}
240
 
@@ -256,7 +256,7 @@ Class TVC_Admin_Helper{
256
  //print_r($prod_sync_status);
257
  //exit;
258
  $this->set_ee_options_data(array("setting" => $googleDetail, "prod_sync_status" => (object) $prod_sync_status, "campaigns_list"=>$campaigns_list, "sync_time"=>current_time( 'timestamp' )));
259
- return array("error"=>false, "message"=>esc_html__("Details updated successfully.","conversios"));
260
  }
261
  /*
262
  * update remarketing snippets
@@ -780,16 +780,16 @@ Class TVC_Admin_Helper{
780
  $notice_text ="";
781
  $call_js_function_args="";
782
  if (isset($googleDetail->is_site_verified) && isset($googleDetail->is_domain_claim) && $googleDetail->is_site_verified == '0' && $googleDetail->is_domain_claim == '0') {
783
- $title = esc_html__("Site verification and Domain claim for merchant center account failed.","conversios");
784
- $message = esc_html__("Without a verified and claimed website, your product will get disapproved.","conversios");
785
  $call_js_function_args = "both";
786
  }else if(isset($googleDetail->is_site_verified) && $googleDetail->is_site_verified == '0'){
787
- $title = esc_html__("Site verification for merchant center account failed.","conversios");
788
- $message = esc_html__("Without a verified website, your product will get disapproved.","conversios");
789
  $call_js_function_args = "site_verified";
790
  }else if(isset($googleDetail->is_domain_claim) && $googleDetail->is_domain_claim == '0'){
791
- $title = esc_html__("Site claimed website for merchant center account failed.","conversios");
792
- $message = esc_html__("Without a claimed website, your product will get disapproved.","conversios");
793
  $call_js_function_args = "domain_claim";
794
  }
795
  if($message!= "" && $title != ""){
@@ -801,7 +801,7 @@ Class TVC_Admin_Helper{
801
  </div>
802
  <div class="erralertrigt">
803
  <h6><?php echo esc_attr($title); ?></h6>
804
- <p><?php echo esc_attr($message); ?> <a href="javascript:void(0)" id="call_both_verification" onclick="call_tvc_site_verified_and_domain_claim('<?php echo esc_attr($call_js_function_args); ?>');"><?php esc_html_e("Click here","conversios"); ?></a> <?php esc_html_e("to verify and claim the domain.","conversios"); ?></p>
805
  </div>
806
  </div>
807
  </div>
@@ -868,7 +868,7 @@ Class TVC_Admin_Helper{
868
  if(isset($google_detail['setting']) && $google_detail['setting']){
869
  $googleDetail = $google_detail['setting'];
870
  if($googleDetail->is_site_verified == '0'){
871
- return array('error'=>true, 'msg'=>esc_html__("First need to verified your site. Click on site verification refresh icon to verified your site.","conversios"));
872
  }else if(property_exists($googleDetail,"is_domain_claim") && $googleDetail->is_domain_claim == '0'){
873
  //'website_url' => $googleDetail->site_url,
874
  $postData = [
@@ -882,10 +882,10 @@ Class TVC_Admin_Helper{
882
  return array('error'=>true, 'msg'=>$claimWebsite->errors);
883
  }else{
884
  $this->update_subscription_details_api_to_db();
885
- return array('error'=>false, 'msg'=>esc_html__("Domain claimed successfully.", "conversios"));
886
  }
887
  }else{
888
- return array('error'=>false, 'msg'=>esc_html__("Already domain claimed successfully.", "conversios"));
889
  }
890
  }
891
  }
@@ -936,7 +936,7 @@ Class TVC_Admin_Helper{
936
  return array('error'=>true, 'msg'=>esc_html($siteVerification_tag->errors));
937
  }else{
938
  $this->update_subscription_details_api_to_db();
939
- return array('error'=>false, 'msg'=>esc_html__("Site verification successfully.","conversios"));
940
  }
941
  }else{
942
  return array('error'=>true, 'msg'=> esc_html($siteVerificationToken_tag->errors));
@@ -944,11 +944,11 @@ Class TVC_Admin_Helper{
944
  // one more try
945
  }else{
946
  $this->update_subscription_details_api_to_db();
947
- return array('error'=>false, 'msg'=>esc_html__("Site verification successfully.","conversios"));
948
  }
949
  }
950
  }else{
951
- return array('error'=>false, 'msg'=>esc_html__("Already site verification successfully.","conversios"));
952
  }
953
  }
954
  }
@@ -1055,14 +1055,14 @@ Class TVC_Admin_Helper{
1055
  $nofifications = [];
1056
 
1057
  $nofifications["tvc_f_notif_1"] = array(
1058
- "tittle"=>esc_html__("Congratulations..!! You are one step closer.","conversios"),
1059
- "html"=>esc_html__("Thanks for installing the new avatar of Enhanced Ecommerce for WooCommerce plugin. Explore the full potential of Google Analytics, Google Ads and Google shopping by setting up all your Google accounts and take data driven decisions to scale your eCommerce business faster.", "conversios")
1060
  );
1061
  $nofifications["tvc_f_notif_2"] = array(
1062
- "tittle"=>esc_html__("Share your feedback.","conversios"),
1063
- "html"=>esc_html__("Your feedback is very important to us. Please write about your experience and the new feature requests here.","conversios"),
1064
  "link"=>"https://wordpress.org/support/plugin/enhanced-e-commerce-for-woocommerce-store/reviews/",
1065
- "link_title"=>esc_html__("Share Feedback", "conversios"),
1066
  "link_type"=>"external"
1067
  );
1068
 
@@ -1088,7 +1088,7 @@ Class TVC_Admin_Helper{
1088
  if($diffrent_day == 6 ){
1089
  $nofifications["tvc_expired_plan_not_".date("YYYY_m_d",$current)] = array(
1090
  "tittle"=>"Plan Expired..!!",
1091
- "html"=>esc_html__("Your plan is expired now. Contact “analytics2@tatvic.com” or call us at “(415) 968-6313” to renew your plan.", "conversios")
1092
  );
1093
  }
1094
  }
218
  $google_detail["prod_sync_status"] = (object) $syncProductStat;
219
  $this->set_ee_options_data($google_detail);
220
  }
221
+ return array( "error"=>false, "api_rs"=>$api_rs, "message"=>esc_html__("Details updated successfully.","enhanced-e-commerce-for-woocommerce-store") );
222
  }
223
  }
224
  /*
234
  $googleDetail = $google_detail->data;
235
  }
236
  }else{
237
+ return array("error"=>true, "message"=>esc_html__("Please try after some time.","enhanced-e-commerce-for-woocommerce-store"));
238
  }
239
  //}
240
 
256
  //print_r($prod_sync_status);
257
  //exit;
258
  $this->set_ee_options_data(array("setting" => $googleDetail, "prod_sync_status" => (object) $prod_sync_status, "campaigns_list"=>$campaigns_list, "sync_time"=>current_time( 'timestamp' )));
259
+ return array("error"=>false, "message"=>esc_html__("Details updated successfully.","enhanced-e-commerce-for-woocommerce-store"));
260
  }
261
  /*
262
  * update remarketing snippets
780
  $notice_text ="";
781
  $call_js_function_args="";
782
  if (isset($googleDetail->is_site_verified) && isset($googleDetail->is_domain_claim) && $googleDetail->is_site_verified == '0' && $googleDetail->is_domain_claim == '0') {
783
+ $title = esc_html__("Site verification and Domain claim for merchant center account failed.","enhanced-e-commerce-for-woocommerce-store");
784
+ $message = esc_html__("Without a verified and claimed website, your product will get disapproved.","enhanced-e-commerce-for-woocommerce-store");
785
  $call_js_function_args = "both";
786
  }else if(isset($googleDetail->is_site_verified) && $googleDetail->is_site_verified == '0'){
787
+ $title = esc_html__("Site verification for merchant center account failed.","enhanced-e-commerce-for-woocommerce-store");
788
+ $message = esc_html__("Without a verified website, your product will get disapproved.","enhanced-e-commerce-for-woocommerce-store");
789
  $call_js_function_args = "site_verified";
790
  }else if(isset($googleDetail->is_domain_claim) && $googleDetail->is_domain_claim == '0'){
791
+ $title = esc_html__("Site claimed website for merchant center account failed.","enhanced-e-commerce-for-woocommerce-store");
792
+ $message = esc_html__("Without a claimed website, your product will get disapproved.","enhanced-e-commerce-for-woocommerce-store");
793
  $call_js_function_args = "domain_claim";
794
  }
795
  if($message!= "" && $title != ""){
801
  </div>
802
  <div class="erralertrigt">
803
  <h6><?php echo esc_attr($title); ?></h6>
804
+ <p><?php echo esc_attr($message); ?> <a href="javascript:void(0)" id="call_both_verification" onclick="call_tvc_site_verified_and_domain_claim('<?php echo esc_attr($call_js_function_args); ?>');"><?php esc_html_e("Click here","enhanced-e-commerce-for-woocommerce-store"); ?></a> <?php esc_html_e("to verify and claim the domain.","enhanced-e-commerce-for-woocommerce-store"); ?></p>
805
  </div>
806
  </div>
807
  </div>
868
  if(isset($google_detail['setting']) && $google_detail['setting']){
869
  $googleDetail = $google_detail['setting'];
870
  if($googleDetail->is_site_verified == '0'){
871
+ return array('error'=>true, 'msg'=>esc_html__("First need to verified your site. Click on site verification refresh icon to verified your site.","enhanced-e-commerce-for-woocommerce-store"));
872
  }else if(property_exists($googleDetail,"is_domain_claim") && $googleDetail->is_domain_claim == '0'){
873
  //'website_url' => $googleDetail->site_url,
874
  $postData = [
882
  return array('error'=>true, 'msg'=>$claimWebsite->errors);
883
  }else{
884
  $this->update_subscription_details_api_to_db();
885
+ return array('error'=>false, 'msg'=>esc_html__("Domain claimed successfully.", "enhanced-e-commerce-for-woocommerce-store"));
886
  }
887
  }else{
888
+ return array('error'=>false, 'msg'=>esc_html__("Already domain claimed successfully.", "enhanced-e-commerce-for-woocommerce-store"));
889
  }
890
  }
891
  }
936
  return array('error'=>true, 'msg'=>esc_html($siteVerification_tag->errors));
937
  }else{
938
  $this->update_subscription_details_api_to_db();
939
+ return array('error'=>false, 'msg'=>esc_html__("Site verification successfully.","enhanced-e-commerce-for-woocommerce-store"));
940
  }
941
  }else{
942
  return array('error'=>true, 'msg'=> esc_html($siteVerificationToken_tag->errors));
944
  // one more try
945
  }else{
946
  $this->update_subscription_details_api_to_db();
947
+ return array('error'=>false, 'msg'=>esc_html__("Site verification successfully.","enhanced-e-commerce-for-woocommerce-store"));
948
  }
949
  }
950
  }else{
951
+ return array('error'=>false, 'msg'=>esc_html__("Already site verification successfully.","enhanced-e-commerce-for-woocommerce-store"));
952
  }
953
  }
954
  }
1055
  $nofifications = [];
1056
 
1057
  $nofifications["tvc_f_notif_1"] = array(
1058
+ "tittle"=>esc_html__("Congratulations..!! You are one step closer.","enhanced-e-commerce-for-woocommerce-store"),
1059
+ "html"=>esc_html__("Thanks for installing the new avatar of Enhanced Ecommerce for WooCommerce plugin. Explore the full potential of Google Analytics, Google Ads and Google shopping by setting up all your Google accounts and take data driven decisions to scale your eCommerce business faster.", "enhanced-e-commerce-for-woocommerce-store")
1060
  );
1061
  $nofifications["tvc_f_notif_2"] = array(
1062
+ "tittle"=>esc_html__("Share your feedback.","enhanced-e-commerce-for-woocommerce-store"),
1063
+ "html"=>esc_html__("Your feedback is very important to us. Please write about your experience and the new feature requests here.","enhanced-e-commerce-for-woocommerce-store"),
1064
  "link"=>"https://wordpress.org/support/plugin/enhanced-e-commerce-for-woocommerce-store/reviews/",
1065
+ "link_title"=>esc_html__("Share Feedback", "enhanced-e-commerce-for-woocommerce-store"),
1066
  "link_type"=>"external"
1067
  );
1068
 
1088
  if($diffrent_day == 6 ){
1089
  $nofifications["tvc_expired_plan_not_".date("YYYY_m_d",$current)] = array(
1090
  "tittle"=>"Plan Expired..!!",
1091
+ "html"=>esc_html__("Your plan is expired now. Contact “analytics2@tatvic.com” or call us at “(415) 968-6313” to renew your plan.", "enhanced-e-commerce-for-woocommerce-store")
1092
  );
1093
  }
1094
  }
admin/helper/class-dashboard-helper.php CHANGED
@@ -72,7 +72,7 @@ if(!class_exists('Conversios_Dashboard_Helper')){
72
  }
73
 
74
  }else{
75
- $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","conversios"));
76
  }
77
  echo json_encode($return);
78
  wp_die();
@@ -105,7 +105,7 @@ if(!class_exists('Conversios_Dashboard_Helper')){
105
  $return = array('error'=>true,'errors'=>$errormsg, 'status' => $api_rs->status);
106
  }
107
  }else{
108
- $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","conversios"));
109
  }
110
  echo json_encode($return);
111
  wp_die();
@@ -151,7 +151,7 @@ if(!class_exists('Conversios_Dashboard_Helper')){
151
  );
152
  $api_rs = $this->CustomApi->get_google_analytics_reports($data);
153
  }else{
154
- $return = array('error'=>true, 'errors'=>esc_html__("GA3 view id is not to be null","conversios"));
155
  }
156
  }else{
157
  if( $ga4_property_id !="" ){
@@ -163,7 +163,7 @@ if(!class_exists('Conversios_Dashboard_Helper')){
163
  );
164
  $api_rs = $this->CustomApi->get_google_analytics_reports_ga4($data);
165
  }else{
166
- $return = array('error'=>true, 'errors'=>esc_html__("GA4 property id is not to be null","conversios"));
167
  }
168
  }
169
 
@@ -175,10 +175,10 @@ if(!class_exists('Conversios_Dashboard_Helper')){
175
  $return = array('error'=>true,'errors'=>$api_rs->message);
176
  }
177
  }else if($subscription_id != "" && ( $ga_traking_type == "GA4" || $ga_traking_type == "BOTH" )){
178
- $return = array('error'=>true,'errors'=>esc_html__("GA tracking type is not to be null","conversios"));
179
  }
180
  }else{
181
- $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","conversios"));
182
  }
183
  echo json_encode($return);
184
  wp_die();
72
  }
73
 
74
  }else{
75
+ $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store"));
76
  }
77
  echo json_encode($return);
78
  wp_die();
105
  $return = array('error'=>true,'errors'=>$errormsg, 'status' => $api_rs->status);
106
  }
107
  }else{
108
+ $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store"));
109
  }
110
  echo json_encode($return);
111
  wp_die();
151
  );
152
  $api_rs = $this->CustomApi->get_google_analytics_reports($data);
153
  }else{
154
+ $return = array('error'=>true, 'errors'=>esc_html__("GA3 view id is not to be null","enhanced-e-commerce-for-woocommerce-store"));
155
  }
156
  }else{
157
  if( $ga4_property_id !="" ){
163
  );
164
  $api_rs = $this->CustomApi->get_google_analytics_reports_ga4($data);
165
  }else{
166
+ $return = array('error'=>true, 'errors'=>esc_html__("GA4 property id is not to be null","enhanced-e-commerce-for-woocommerce-store"));
167
  }
168
  }
169
 
175
  $return = array('error'=>true,'errors'=>$api_rs->message);
176
  }
177
  }else if($subscription_id != "" && ( $ga_traking_type == "GA4" || $ga_traking_type == "BOTH" )){
178
+ $return = array('error'=>true,'errors'=>esc_html__("GA tracking type is not to be null","enhanced-e-commerce-for-woocommerce-store"));
179
  }
180
  }else{
181
+ $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store"));
182
  }
183
  echo json_encode($return);
184
  wp_die();
admin/helper/class-onboarding-helper.php CHANGED
@@ -91,7 +91,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
91
  echo json_encode($api_obj->getAnalyticsWebProperties($_POST));
92
  wp_die();
93
  }else{
94
- echo esc_html__("Admin security nonce is not verified.","conversios");
95
  }
96
  }
97
 
@@ -109,7 +109,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
109
 
110
  wp_die();
111
  }else{
112
- echo esc_html__("Admin security nonce is not verified.","conversios");
113
  }
114
  }
115
 
@@ -126,7 +126,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
126
  echo json_encode($api_obj->getGoogleAdsAccountList($_POST));
127
  wp_die();
128
  }else{
129
- echo esc_html__("Admin security nonce is not verified.","conversios");
130
  }
131
  }
132
  /**
@@ -142,7 +142,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
142
  echo json_encode($api_obj->createGoogleAdsAccount($_POST));
143
  wp_die();
144
  }else{
145
- echo esc_html__("Admin security nonce is not verified.","conversios");
146
  }
147
  }
148
 
@@ -159,7 +159,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
159
  echo json_encode($api_obj->saveGoogleAdsData($_POST));
160
  wp_die();
161
  }else{
162
- echo esc_html__("Admin security nonce is not verified.","conversios");
163
  }
164
  }
165
 
@@ -176,7 +176,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
176
  echo json_encode($api_obj->linkAnalyticToAdsAccount($_POST));
177
  wp_die();
178
  }else{
179
- echo esc_html__("Admin security nonce is not verified.","conversios");
180
  }
181
  }
182
 
@@ -193,7 +193,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
193
  echo json_encode($api_obj->listMerchantCenterAccount($_POST));
194
  wp_die();
195
  }else{
196
- echo esc_html__("Admin security nonce is not verified.","conversios");
197
  }
198
  }
199
  /**
@@ -209,7 +209,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
209
  echo json_encode($api_obj->createMerchantAccount($_POST));
210
  wp_die();
211
  }else{
212
- echo esc_html__("Admin security nonce is not verified.","conversios");
213
  }
214
  }
215
 
@@ -226,7 +226,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
226
  echo json_encode($api_obj->saveMechantData($_POST));
227
  wp_die();
228
  }else{
229
- echo esc_html__("Admin security nonce is not verified.","conversios");
230
  }
231
  }
232
  /**
@@ -244,7 +244,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
244
  echo json_encode($api_obj->getConversionList($_POST));
245
  wp_die();
246
  }else{
247
- echo esc_html__("Admin security nonce is not verified.","conversios");
248
  }
249
  }
250
 
@@ -261,7 +261,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
261
  echo json_encode($api_obj->linkGoogleAdsToMerchantCenter($_POST));
262
  wp_die();
263
  }else{
264
- echo esc_html__("Admin security nonce is not verified.","conversios");
265
  }
266
  }
267
  /**
@@ -277,7 +277,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
277
  echo json_encode($api_obj->getSubscriptionDetails($tvc_data, sanitize_text_field($_POST['subscription_id']) ));
278
  wp_die();
279
  }else{
280
- echo esc_html__("Admin security nonce is not verified.","conversios");
281
  }
282
  }
283
 
@@ -297,7 +297,7 @@ if(!class_exists('Conversios_Onboarding_Helper')):
297
  echo json_encode($return_rs);
298
  wp_die();
299
  }else{
300
- echo esc_html__("Admin security nonce is not verified.","conversios");
301
  }
302
  }
303
 
@@ -1042,12 +1042,12 @@ if(!class_exists('Conversios_Onboarding_ApiCall') ){
1042
  $return->data =$response->data;
1043
  $return->error = false;
1044
  if(isset($response->data) && count($response->data) > 0){
1045
- $return->message = esc_html__("Google Ads conversion tracking setting success.","conversios");
1046
  }else{
1047
  $response = $this->createConversion($postData);
1048
  if(isset($response->error) && $response->error == false){
1049
  $return->error = false;
1050
- $return->message = esc_html__("Google Ads conversion tracking setting success.","conversios");
1051
  }else{
1052
  $return->error = true;
1053
  $errors = json_decode($response->errors[0]);
91
  echo json_encode($api_obj->getAnalyticsWebProperties($_POST));
92
  wp_die();
93
  }else{
94
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
95
  }
96
  }
97
 
109
 
110
  wp_die();
111
  }else{
112
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
113
  }
114
  }
115
 
126
  echo json_encode($api_obj->getGoogleAdsAccountList($_POST));
127
  wp_die();
128
  }else{
129
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
130
  }
131
  }
132
  /**
142
  echo json_encode($api_obj->createGoogleAdsAccount($_POST));
143
  wp_die();
144
  }else{
145
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
146
  }
147
  }
148
 
159
  echo json_encode($api_obj->saveGoogleAdsData($_POST));
160
  wp_die();
161
  }else{
162
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
163
  }
164
  }
165
 
176
  echo json_encode($api_obj->linkAnalyticToAdsAccount($_POST));
177
  wp_die();
178
  }else{
179
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
180
  }
181
  }
182
 
193
  echo json_encode($api_obj->listMerchantCenterAccount($_POST));
194
  wp_die();
195
  }else{
196
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
197
  }
198
  }
199
  /**
209
  echo json_encode($api_obj->createMerchantAccount($_POST));
210
  wp_die();
211
  }else{
212
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
213
  }
214
  }
215
 
226
  echo json_encode($api_obj->saveMechantData($_POST));
227
  wp_die();
228
  }else{
229
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
230
  }
231
  }
232
  /**
244
  echo json_encode($api_obj->getConversionList($_POST));
245
  wp_die();
246
  }else{
247
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
248
  }
249
  }
250
 
261
  echo json_encode($api_obj->linkGoogleAdsToMerchantCenter($_POST));
262
  wp_die();
263
  }else{
264
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
265
  }
266
  }
267
  /**
277
  echo json_encode($api_obj->getSubscriptionDetails($tvc_data, sanitize_text_field($_POST['subscription_id']) ));
278
  wp_die();
279
  }else{
280
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
281
  }
282
  }
283
 
297
  echo json_encode($return_rs);
298
  wp_die();
299
  }else{
300
+ echo esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store");
301
  }
302
  }
303
 
1042
  $return->data =$response->data;
1043
  $return->error = false;
1044
  if(isset($response->data) && count($response->data) > 0){
1045
+ $return->message = esc_html__("Google Ads conversion tracking setting success.","enhanced-e-commerce-for-woocommerce-store");
1046
  }else{
1047
  $response = $this->createConversion($postData);
1048
  if(isset($response->error) && $response->error == false){
1049
  $return->error = false;
1050
+ $return->message = esc_html__("Google Ads conversion tracking setting success.","enhanced-e-commerce-for-woocommerce-store");
1051
  }else{
1052
  $return->error = true;
1053
  $errors = json_decode($response->errors[0]);
admin/helper/class-pmax-helper.php CHANGED
@@ -80,7 +80,7 @@ if(!class_exists('Conversios_PMax_Helper')){
80
  }
81
  }
82
  }else{
83
- $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","conversios"));
84
  }
85
  echo json_encode($return);
86
  wp_die();
@@ -121,7 +121,7 @@ if(!class_exists('Conversios_PMax_Helper')){
121
  $require_fields = array("customer_id","merchant_id","campaign_name","budget","target_country");
122
  foreach($require_fields as $val){
123
  if(isset($form_array[$val]) && $form_array[$val] ==""){
124
- $return = array('error'=>true, 'message'=>esc_html__(str_replace("_"," ",$val)." is required field.","conversios"));
125
  }
126
  }
127
  if(!empty($return)){
@@ -148,7 +148,7 @@ if(!class_exists('Conversios_PMax_Helper')){
148
  }
149
  }
150
  }else{
151
- $return = array('error'=>true, 'message' => esc_html__("Admin security nonce is not verified.","conversios"));
152
  }
153
  echo json_encode($return);
154
  wp_die();
@@ -183,7 +183,7 @@ if(!class_exists('Conversios_PMax_Helper')){
183
  $require_fields = array("customer_id","merchant_id","campaign_name","budget","target_country","campaign_budget_resource_name","resource_name");
184
  foreach($require_fields as $val){
185
  if(isset($form_array[$val]) && $form_array[$val] ==""){
186
- $return = array('error'=>true, 'message'=>esc_html__(str_replace("_"," ",$val)." is required field.","conversios"));
187
  }
188
  }
189
  if(!empty($return)){
@@ -219,7 +219,7 @@ if(!class_exists('Conversios_PMax_Helper')){
219
  }
220
  }
221
  }else{
222
- $return = array('error'=>true, 'message' => esc_html__("Admin security nonce is not verified.","conversios"));
223
  }
224
  echo json_encode($return);
225
  wp_die();
@@ -252,7 +252,7 @@ if(!class_exists('Conversios_PMax_Helper')){
252
  $return = array('error'=>true,'errors'=>$errormsg, 'status' => $api_rs->status);
253
  }
254
  }else{
255
- $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","conversios"));
256
  }
257
  echo json_encode($return);
258
  wp_die();
80
  }
81
  }
82
  }else{
83
+ $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store"));
84
  }
85
  echo json_encode($return);
86
  wp_die();
121
  $require_fields = array("customer_id","merchant_id","campaign_name","budget","target_country");
122
  foreach($require_fields as $val){
123
  if(isset($form_array[$val]) && $form_array[$val] ==""){
124
+ $return = array('error'=>true, 'message'=>esc_html__(str_replace("_"," ",$val)." is required field.","enhanced-e-commerce-for-woocommerce-store"));
125
  }
126
  }
127
  if(!empty($return)){
148
  }
149
  }
150
  }else{
151
+ $return = array('error'=>true, 'message' => esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store"));
152
  }
153
  echo json_encode($return);
154
  wp_die();
183
  $require_fields = array("customer_id","merchant_id","campaign_name","budget","target_country","campaign_budget_resource_name","resource_name");
184
  foreach($require_fields as $val){
185
  if(isset($form_array[$val]) && $form_array[$val] ==""){
186
+ $return = array('error'=>true, 'message'=>esc_html__(str_replace("_"," ",$val)." is required field.","enhanced-e-commerce-for-woocommerce-store"));
187
  }
188
  }
189
  if(!empty($return)){
219
  }
220
  }
221
  }else{
222
+ $return = array('error'=>true, 'message' => esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store"));
223
  }
224
  echo json_encode($return);
225
  wp_die();
252
  $return = array('error'=>true,'errors'=>$errormsg, 'status' => $api_rs->status);
253
  }
254
  }else{
255
+ $return = array('error'=>true,'errors'=>esc_html__("Admin security nonce is not verified.","enhanced-e-commerce-for-woocommerce-store"));
256
  }
257
  echo json_encode($return);
258
  wp_die();
admin/partials/class-conversios-header.php CHANGED
@@ -47,8 +47,8 @@ if ( ! class_exists( 'Conversios_Header' ) ) {
47
  <span class="errmsgicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/error-white-icon.png'); ?>" alt="error" /></span>
48
  </div>
49
  <div class="erralertrigt">
50
- <h6><?php echo esc_html_e("Hey,","conversios"); ?></h6>
51
- <p><?php echo esc_html_e("It seems WooCommerce plugin is not active on your wp-admin. Conversios.io - Google Analytics and Google Shopping plugin required.","conversios"); ?> </p>
52
  </div>
53
  </div>
54
  </div>
@@ -62,12 +62,12 @@ if ( ! class_exists( 'Conversios_Header' ) ) {
62
  <div class="row">
63
  <div class="promoleft">
64
  <div class="promobandmsg">
65
- <?php esc_html_e("Level up your game by getting detail insights on every products. Make the informed decision for your next campaign.","conversios"); ?>
66
  </div>
67
  </div>
68
  <div class="promoright">
69
  <div class="prmoupgrdbtn">
70
- <a target="_blank" href="<?php echo esc_url_raw($this->get_pro_plan_site().'?utm_source=EE+Plugin+User+Interface&utm_medium=Top+Bar+upgrading+to+pro&utm_campaign=Upsell+at+Conversios'); ?>" class="upgradebtn"><?php esc_html_e("Upgrade","conversios"); ?></a>
71
  </div>
72
  </div>
73
  </div>
@@ -86,7 +86,7 @@ if ( ! class_exists( 'Conversios_Header' ) ) {
86
  */
87
  public function conversios_header(){
88
 
89
- $plan_name = esc_html__("Free Plan","conversios");
90
  if(isset($this->subscription_data->plan_name) && !in_array($this->subscription_data->plan_id, array("1"))){
91
  $plan_name = $this->subscription_data->plan_name;
92
  }
@@ -109,7 +109,7 @@ if ( ! class_exists( 'Conversios_Header' ) ) {
109
  </div>
110
  </div>
111
  <div class="hdrcntcbx mblhdrcntcbx">
112
- <?php printf("%s <span><a href=\"tel:+1 (415) 968-6313\">+1 (415) 968-6313</a></span>",esc_html_e("For any query, contact us at","conversios")); ?>
113
  </div>
114
  </div>
115
  </div>
@@ -138,17 +138,17 @@ if ( ! class_exists( 'Conversios_Header' ) ) {
138
  'icon'=>esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/conversios-menu.png"),
139
  'acitve_icon'=>esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/active-conversios-menu.png")
140
  ),
141
- 'conversios-google-shopping-feed'=>array('title'=>esc_html__('Google Shopping','conversios')),
142
- 'conversios-google-ads'=>array('title'=>esc_html__('Google Ads','conversios')),
143
- 'conversios-pmax'=>array('title'=>esc_html__('Performance Max','conversios'),
144
  'icon'=>esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/conversios-google-ads-menu.png"),
145
  'acitve_icon'=>esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/active-conversios-google-ads-menu.png")
146
  ),
147
- 'conversios-google-analytics'=>array('title'=>esc_html__('Account Settings','conversios')),
148
  );
149
  }
150
  if($this->plan_id == 1){
151
- $conversios_menu_list['conversios-pricings'] = array('title'=>esc_html__('Free Vs Pro','conversios'),'icon'=>'');
152
  }
153
  return apply_filters('conversios_menu_list', $conversios_menu_list, $conversios_menu_list);
154
  }
@@ -215,7 +215,7 @@ if ( ! class_exists( 'Conversios_Header' ) ) {
215
  <div id="feedback-form-wrapper">
216
  <div id="feedback_record_btn">
217
  <button type="button" class="feedback_btn btn-11">
218
- <?php esc_html_e("Feedback","conversios"); ?>
219
  </button>
220
  </div>
221
  <div id="feedback_form_modal" class="pp-modal whitepopup">
@@ -225,42 +225,42 @@ if ( ! class_exists( 'Conversios_Header' ) ) {
225
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-white.png'); ?>" alt="">
226
  </div>
227
  <div class="upgradsbscrptnpp-hdr">
228
- <h5><?php esc_html_e("Your feedback is valuable","conversios"); ?></h5>
229
  </div>
230
  <div class="ppmodal-body">
231
  <form id="customer_feedback_form">
232
  <div class="feedback-form-group">
233
- <label class="feedback_que_label" for="feedback_question_one"><?php esc_html_e("The Conversios plugin helps me to get more insight about business which helps me to take business decisions? *","conversios"); ?></label>
234
  <div class="rating-input-wrapper">
235
- <label class="feedback_label"><input name="feedback_question_one" type="radio" value="1" /><span class="feedback_options"><?php esc_html_e("Strongly Agree","conversios"); ?></span></label>
236
- <label class="feedback_label"><input type="radio" name="feedback_question_one" value="2" /><span class="feedback_options"><?php esc_html_e("Agree","conversios"); ?></span></label>
237
- <label class="feedback_label"><input type="radio" name="feedback_question_one" value="3" /><span class="feedback_options"><?php esc_html_e("Disagree","conversios"); ?></span></label>
238
- <label class="feedback_label"><input type="radio" name="feedback_question_one" value="4" /><span class="feedback_options"><?php esc_html_e("Strongly Disagree","conversios"); ?></span></label>
239
  </div>
240
  </div>
241
  <div class="feedback-form-group">
242
- <label class="feedback_que_label" for="feedback_question_two"><?php esc_html_e("The Conversios plugin helps me to simplified the Google Ads and Google Merchant Centre? *","conversios"); ?></label>
243
  <div class="rating-input-wrapper">
244
- <label class="feedback_label"><input type="radio" name="feedback_question_two" value="1" /><span class="feedback_options"><?php esc_html_e("Strongly Agree","conversios"); ?></span></label>
245
- <label class="feedback_label"><input type="radio" name="feedback_question_two" value="2" /><span class="feedback_options"><?php esc_html_e("Agree","conversios"); ?></span></label>
246
- <label class="feedback_label"><input type="radio" name="feedback_question_two" value="3" /><span class="feedback_options"><?php esc_html_e("Disagree","conversios"); ?></span></label>
247
- <label class="feedback_label"><input type="radio" name="feedback_question_two" value="4" /><span class="feedback_options"><?php esc_html_e("Strongly Disagree","conversios"); ?></span></label>
248
  </div>
249
  </div>
250
  <div class="feedback-form-group feedback_txtarea_div">
251
- <label class="feedback_que_label" for="feedback_question_three"><?php esc_html_e("You are satisfied with the Conversion plugin? *","conversios"); ?></label>
252
  <div class="rating-input-wrapper">
253
- <label class="feedback_label"><input type="radio" name="feedback_question_three" value="1" /><span class="feedback_options"><?php esc_html_e("Strongly Agree","conversios"); ?></span></label>
254
- <label class="feedback_label"><input type="radio" name="feedback_question_three" value="2" /><span class="feedback_options"><?php esc_html_e("Agree","conversios"); ?></span></label>
255
- <label class="feedback_label"><input type="radio" name="feedback_question_three" value="3" /><span class="feedback_options"><?php esc_html_e("Disagree","conversios"); ?></span></label>
256
- <label class="feedback_label"><input type="radio" name="feedback_question_three" value="4" /><span class="feedback_options"><?php esc_html_e("Strongly Disagree","conversios"); ?></span></label>
257
  </div>
258
  </div>
259
  <div class="feedback-form-group feedback_txtarea_div">
260
- <label class="feedback_que_label" for="feedback_description"><?php esc_html_e("How could we make the Conversios plugin better for you?","conversios"); ?></label>
261
  <textarea class="feedback_txtarea" id="feedback_description" onkeyup="feedback_charcountupdate(this.value)" rows="5" maxlength="300"></textarea><span id="charcount"></span>
262
  </div>
263
- <button id="submit_wooplugin_feedback" type="submit" class="blueupgrdbtn"><?php esc_html_e("Submit","conversios"); ?></button>
264
  </form>
265
  </div>
266
  </div>
47
  <span class="errmsgicon"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/error-white-icon.png'); ?>" alt="error" /></span>
48
  </div>
49
  <div class="erralertrigt">
50
+ <h6><?php echo esc_html_e("Hey,","enhanced-e-commerce-for-woocommerce-store"); ?></h6>
51
+ <p><?php echo esc_html_e("It seems WooCommerce plugin is not active on your wp-admin. Conversios.io - Google Analytics and Google Shopping plugin required.","enhanced-e-commerce-for-woocommerce-store"); ?> </p>
52
  </div>
53
  </div>
54
  </div>
62
  <div class="row">
63
  <div class="promoleft">
64
  <div class="promobandmsg">
65
+ <?php esc_html_e("Level up your game by getting detail insights on every products. Make the informed decision for your next campaign.","enhanced-e-commerce-for-woocommerce-store"); ?>
66
  </div>
67
  </div>
68
  <div class="promoright">
69
  <div class="prmoupgrdbtn">
70
+ <a target="_blank" href="<?php echo esc_url_raw($this->get_pro_plan_site().'?utm_source=EE+Plugin+User+Interface&utm_medium=Top+Bar+upgrading+to+pro&utm_campaign=Upsell+at+Conversios'); ?>" class="upgradebtn"><?php esc_html_e("Upgrade","enhanced-e-commerce-for-woocommerce-store"); ?></a>
71
  </div>
72
  </div>
73
  </div>
86
  */
87
  public function conversios_header(){
88
 
89
+ $plan_name = esc_html__("Free Plan","enhanced-e-commerce-for-woocommerce-store");
90
  if(isset($this->subscription_data->plan_name) && !in_array($this->subscription_data->plan_id, array("1"))){
91
  $plan_name = $this->subscription_data->plan_name;
92
  }
109
  </div>
110
  </div>
111
  <div class="hdrcntcbx mblhdrcntcbx">
112
+ <?php printf("%s <span><a href=\"tel:+1 (415) 968-6313\">+1 (415) 968-6313</a></span>",esc_html_e("For any query, contact us at","enhanced-e-commerce-for-woocommerce-store")); ?>
113
  </div>
114
  </div>
115
  </div>
138
  'icon'=>esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/conversios-menu.png"),
139
  'acitve_icon'=>esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/active-conversios-menu.png")
140
  ),
141
+ 'conversios-google-shopping-feed'=>array('title'=>esc_html__('Google Shopping','enhanced-e-commerce-for-woocommerce-store')),
142
+ 'conversios-google-ads'=>array('title'=>esc_html__('Google Ads','enhanced-e-commerce-for-woocommerce-store')),
143
+ 'conversios-pmax'=>array('title'=>esc_html__('Performance Max','enhanced-e-commerce-for-woocommerce-store'),
144
  'icon'=>esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/conversios-google-ads-menu.png"),
145
  'acitve_icon'=>esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/active-conversios-google-ads-menu.png")
146
  ),
147
+ 'conversios-google-analytics'=>array('title'=>esc_html__('Account Settings','enhanced-e-commerce-for-woocommerce-store')),
148
  );
149
  }
150
  if($this->plan_id == 1){
151
+ $conversios_menu_list['conversios-pricings'] = array('title'=>esc_html__('Free Vs Pro','enhanced-e-commerce-for-woocommerce-store'),'icon'=>'');
152
  }
153
  return apply_filters('conversios_menu_list', $conversios_menu_list, $conversios_menu_list);
154
  }
215
  <div id="feedback-form-wrapper">
216
  <div id="feedback_record_btn">
217
  <button type="button" class="feedback_btn btn-11">
218
+ <?php esc_html_e("Feedback","enhanced-e-commerce-for-woocommerce-store"); ?>
219
  </button>
220
  </div>
221
  <div id="feedback_form_modal" class="pp-modal whitepopup">
225
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/close-white.png'); ?>" alt="">
226
  </div>
227
  <div class="upgradsbscrptnpp-hdr">
228
+ <h5><?php esc_html_e("Your feedback is valuable","enhanced-e-commerce-for-woocommerce-store"); ?></h5>
229
  </div>
230
  <div class="ppmodal-body">
231
  <form id="customer_feedback_form">
232
  <div class="feedback-form-group">
233
+ <label class="feedback_que_label" for="feedback_question_one"><?php esc_html_e("The Conversios plugin helps me to get more insight about business which helps me to take business decisions? *","enhanced-e-commerce-for-woocommerce-store"); ?></label>
234
  <div class="rating-input-wrapper">
235
+ <label class="feedback_label"><input name="feedback_question_one" type="radio" value="1" /><span class="feedback_options"><?php esc_html_e("Strongly Agree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
236
+ <label class="feedback_label"><input type="radio" name="feedback_question_one" value="2" /><span class="feedback_options"><?php esc_html_e("Agree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
237
+ <label class="feedback_label"><input type="radio" name="feedback_question_one" value="3" /><span class="feedback_options"><?php esc_html_e("Disagree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
238
+ <label class="feedback_label"><input type="radio" name="feedback_question_one" value="4" /><span class="feedback_options"><?php esc_html_e("Strongly Disagree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
239
  </div>
240
  </div>
241
  <div class="feedback-form-group">
242
+ <label class="feedback_que_label" for="feedback_question_two"><?php esc_html_e("The Conversios plugin helps me to simplified the Google Ads and Google Merchant Centre? *","enhanced-e-commerce-for-woocommerce-store"); ?></label>
243
  <div class="rating-input-wrapper">
244
+ <label class="feedback_label"><input type="radio" name="feedback_question_two" value="1" /><span class="feedback_options"><?php esc_html_e("Strongly Agree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
245
+ <label class="feedback_label"><input type="radio" name="feedback_question_two" value="2" /><span class="feedback_options"><?php esc_html_e("Agree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
246
+ <label class="feedback_label"><input type="radio" name="feedback_question_two" value="3" /><span class="feedback_options"><?php esc_html_e("Disagree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
247
+ <label class="feedback_label"><input type="radio" name="feedback_question_two" value="4" /><span class="feedback_options"><?php esc_html_e("Strongly Disagree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
248
  </div>
249
  </div>
250
  <div class="feedback-form-group feedback_txtarea_div">
251
+ <label class="feedback_que_label" for="feedback_question_three"><?php esc_html_e("You are satisfied with the Conversion plugin? *","enhanced-e-commerce-for-woocommerce-store"); ?></label>
252
  <div class="rating-input-wrapper">
253
+ <label class="feedback_label"><input type="radio" name="feedback_question_three" value="1" /><span class="feedback_options"><?php esc_html_e("Strongly Agree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
254
+ <label class="feedback_label"><input type="radio" name="feedback_question_three" value="2" /><span class="feedback_options"><?php esc_html_e("Agree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
255
+ <label class="feedback_label"><input type="radio" name="feedback_question_three" value="3" /><span class="feedback_options"><?php esc_html_e("Disagree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
256
+ <label class="feedback_label"><input type="radio" name="feedback_question_three" value="4" /><span class="feedback_options"><?php esc_html_e("Strongly Disagree","enhanced-e-commerce-for-woocommerce-store"); ?></span></label>
257
  </div>
258
  </div>
259
  <div class="feedback-form-group feedback_txtarea_div">
260
+ <label class="feedback_que_label" for="feedback_description"><?php esc_html_e("How could we make the Conversios plugin better for you?","enhanced-e-commerce-for-woocommerce-store"); ?></label>
261
  <textarea class="feedback_txtarea" id="feedback_description" onkeyup="feedback_charcountupdate(this.value)" rows="5" maxlength="300"></textarea><span id="charcount"></span>
262
  </div>
263
+ <button id="submit_wooplugin_feedback" type="submit" class="blueupgrdbtn"><?php esc_html_e("Submit","enhanced-e-commerce-for-woocommerce-store"); ?></button>
264
  </form>
265
  </div>
266
  </div>
admin/partials/general-fields.php CHANGED
@@ -46,7 +46,7 @@ if (isset($_POST['ee_submit_plugin'])) {
46
  $TVC_Admin_Helper->update_app_status();
47
 
48
  $class='alert-message tvc-alert-success';
49
- $message_p = esc_html__( 'Your settings have been saved.', 'conversios' );
50
  }
51
  $data = unserialize(get_option('ee_options'));
52
  $subscription_id = $TVC_Admin_Helper->get_subscriptionId();
@@ -72,11 +72,11 @@ if(isset($google_detail['setting'])){
72
  <?php if($plan_id == 1){?>
73
  <div class="licence tvc-licence" >
74
  <div class="tvc_licence_key_wapper <?php if($plan_id != 1){?>tvc-hide<?php }?>">
75
- <p><?php esc_html_e("You are using our free plugin, no licence needed ! Happy analyzing..!! :)","conversios"); ?></p>
76
- <p class="font-weight-bold"><?php esc_html_e("To unlock more features of google products, consider our","conversios"); ?> <a href="<?php echo esc_url_raw($TVC_Admin_Helper->get_pro_plan_site().'?utm_source=EE+Plugin+User+Interface&utm_medium=Google+Analytics+Screen+pro+version&utm_campaign=Upsell+at+Conversios'); ?>" target="_blank"><?php esc_html_e("pro version.","conversios"); ?></a></p>
77
  <form method="post" name="google-analytic" id="tvc-licence-active">
78
  <div class="input-group">
79
- <input type="text" id="licence_key" name="licence_key" class="form-control" placeholder="<?php esc_html_e("Already purchased? Enter licence key","conversios"); ?>" required="">
80
  <div class="input-group-append">
81
  <button type="submit" class="btn btn-primary" name="verify-licence-key"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/icon/right-arrow.svg'); ?>" alt="active licence key"></button>
82
  </div>
@@ -89,12 +89,12 @@ if(isset($google_detail['setting'])){
89
  <div class="">
90
  <div class="row mb-3">
91
  <div class="col-6 col-md-6 col-lg-6">
92
- <h2 class="ga-title"><?php esc_html_e("Connected Google Analytics Account:","conversios"); ?></h2>
93
  </div>
94
  <div class="col-6 col-md-6 col-lg-6 text-right">
95
  <div class="acc-num">
96
  <p class="ga-text">
97
- <?php echo (isset($data['ga_id']) && $data['ga_id'] != '') ? $data['ga_id'] : '<span>'.esc_html__("Get started","conversios").'</span>'; ?>
98
  </p>
99
  <?php
100
  if (isset($data['ga_id']) && $data['ga_id'] != '') {
@@ -107,12 +107,12 @@ if(isset($google_detail['setting'])){
107
  </div>
108
  <div class="row mb-3">
109
  <div class="col-6 col-md-6 col-lg-6">
110
- <h2 class="ga-title"><?php esc_html_e("Connected Google Analytics 4 Account:","conversios"); ?></h2>
111
  </div>
112
  <div class="col-6 col-md-6 col-lg-6 text-right">
113
  <div class="acc-num">
114
  <p class="ga-text">
115
- <?php echo (isset($data['gm_id']) && $data['gm_id'] != '') ? esc_attr($data['gm_id']) : '<span>'.esc_html__("Get started","conversios").'</span>'; ?>
116
  </p>
117
  <?php
118
  if (isset($data['gm_id']) && esc_attr($data['gm_id']) != '') {
@@ -125,12 +125,12 @@ if(isset($google_detail['setting'])){
125
  </div>
126
  <div class="row mb-3">
127
  <div class="col-6 col-md-6 col-lg-6">
128
- <h2 class="ga-title"><?php esc_html_e("Linked Google Ads Account:","conversios"); ?></h2>
129
  </div>
130
  <div class="col-6 col-md-6 col-lg-6 text-right">
131
  <div class="acc-num">
132
  <p class="ga-text">
133
- <?php echo (isset($data['google_ads_id']) && $data['google_ads_id'] != '') ? esc_attr($data['google_ads_id']) : '<span>'.esc_html__("Get started","conversios").'</span>'; ?>
134
  </p>
135
  <?php
136
  if (isset($data['google_ads_id']) && esc_attr($data['google_ads_id']) != '') {
@@ -143,12 +143,12 @@ if(isset($google_detail['setting'])){
143
  </div>
144
  <div class="row mb-3">
145
  <div class="col-6 col-md-6 col-lg-6">
146
- <h2 class="ga-title"><?php esc_html_e("Linked Google Merchant Center Account:","conversios"); ?></h2>
147
  </div>
148
  <div class="col-6 col-md-6 col-lg-6 text-right">
149
  <div class="acc-num">
150
  <p class="ga-text">
151
- <?php echo (isset($data['google_merchant_id']) && $data['google_merchant_id'] != '') ? esc_attr($data['google_merchant_id']) : '<span>'.esc_html__("Get started","conversios").'</span>'; ?>
152
  </p>
153
  <?php
154
  if (isset($data['google_merchant_id']) && esc_attr($data['google_merchant_id']) != '') {
@@ -166,33 +166,33 @@ if(isset($google_detail['setting'])){
166
  <tbody>
167
  <tr>
168
  <th width="155px">
169
- <label class="ga-title align-middle" for="tracking_code"><?php esc_html_e("Tracking Code","conversios"); ?></label>
170
  </th>
171
  <td>
172
  <label class="align-middle">
173
  <?php $ga_ST = !empty($data['ga_ST']) ? 'checked' : ''; ?>
174
  <input type="checkbox" name="ga_ST" id="ga_ST" <?php echo esc_attr($ga_ST); ?> >
175
- <label class="custom-control-label" for="ga_ST"><?php esc_html_e("Add Global Site Tracking Code 'gtag.js'","conversios"); ?></label>
176
  <div class="tvc-tooltip">
177
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("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.","conversios"); ?></span>
178
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
179
  </div>
180
  </label><br/>
181
  <label class="align-middle">
182
  <?php $ga_eeT = !empty($data['ga_eeT']) ? 'checked' : ''; ?>
183
  <input type="checkbox" name="ga_eeT" id="ga_eeT" <?php echo esc_attr($ga_eeT); ?> >
184
- <label class="custom-control-label" for="ga_eeT"><?php esc_html_e("Add Enhanced Ecommerce Tracking Code","conversios"); ?></label>
185
  <div class="tvc-tooltip">
186
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("This feature adds Enhanced Ecommerce Tracking Code to your Store.","conversios"); ?></span>
187
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
188
  </div>
189
  </label><br/>
190
  <label class="align-middle">
191
  <?php $ga_gUser = !empty($data['ga_gUser']) ? 'checked' : ''; ?>
192
  <input type="checkbox" name="ga_gUser" id="ga_gUser" <?php echo esc_attr($ga_gUser); ?> >
193
- <label class="custom-control-label" for="ga_gUser"><?php esc_html_e("Add Code to Track the Login Step of Guest Users (Optional)","conversios"); ?></label>
194
  <div class="tvc-tooltip">
195
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("If you have Guest Check out enable, we recommend you to add this code.","conversios"); ?></span>
196
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
197
  </div>
198
  </label>
@@ -201,13 +201,13 @@ if(isset($google_detail['setting'])){
201
  <?php if(isset($data['gm_id']) && $data['gm_id'] != '' && $plan_id != 1){ ?>
202
  <tr>
203
  <th>
204
- <label class="ga-title align-middle"><?php esc_html_e("GA4 - API secrets ","conversios"); ?><span class="tvc-pro"> (PRO)</span></label>
205
  </th>
206
  <td>
207
  <?php $ga4_api_secret = isset($data['ga4_api_secret'])?$data['ga4_api_secret']:""; ?>
208
  <input type="text" class="fromfiled" name="ga4_api_secret" id="ga4_api_secret" value="<?php echo esc_attr($ga4_api_secret); ?>">
209
  <div class="tvc-tooltip">
210
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("How to get 'Measurement Protocol API Secret' in GA4: Click Admin > Click Data streams (Under Property) > Select the stream > Additional Settings - Measurement Protocol API secrets > Create a new API secret.","conversios"); ?></span>
211
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
212
  </div>
213
  <br>To track refund order
@@ -216,16 +216,16 @@ if(isset($google_detail['setting'])){
216
  <?php } ?>
217
  <tr>
218
  <th>
219
- <label class="ga-title align-middle" for= "ga_CG" ><?php esc_html_e("Content Grouping","conversios"); ?> <span class="tvc-pro"> (PRO)</span></label>
220
  </th>
221
  <td>
222
  <label class="align-middle">
223
  <?php $ga_CG = (!empty($data['ga_CG'])) ? 'checked' : '';
224
  if($plan_id==1){ $ga_CG ="";}?>
225
  <input type="checkbox" name="ga_CG" id="ga_CG" <?php if($plan_id==1){?> onclick="return false;"<?php } ?> <?php echo esc_attr($ga_CG);?> >
226
- <label class="custom-control-label" for="ga_CG"><?php esc_html_e("Add Code to enable content grouping","conversios"); ?></label>
227
  <div class="tvc-tooltip">
228
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("Content grouping helps you group your web pages (content).","conversios"); ?></span>
229
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
230
  </div>
231
  </label>
@@ -233,17 +233,17 @@ if(isset($google_detail['setting'])){
233
  </tr>
234
  <tr>
235
  <th>
236
- <label class="ga-title align-middle" for= "ga_optimize" ><?php esc_html_e("Google Optimize","conversios"); ?> <span class="tvc-pro"> (PRO)</span></label>
237
  </th>
238
  <td>
239
  <?php
240
  if($plan_id==1){?>
241
- <input type="text" name="ga_optimize_id" id="ga_optimize_id" value = "<?php echo !empty($data['ga_optimize_id']) ? esc_attr($data['ga_optimize_id']) : '';?>" placeholder="<?php esc_html_e("Google Optimize ID","conversios"); ?>" disabled>
242
  <?php }else{ ?>
243
- <input type="text" name="ga_optimize_id" id="ga_optimize_id" value = "<?php echo !empty($data['ga_optimize_id']) ? esc_attr($data['ga_optimize_id']) : '';?>" placeholder="<?php esc_html_e("Google Optimize ID","conversios"); ?>">
244
  <?php } ?>
245
  <div class="tvc-tooltip">
246
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("Enter a valid google optimize container ID.","conversios"); ?></span>
247
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
248
  </div>
249
 
@@ -251,30 +251,30 @@ if(isset($google_detail['setting'])){
251
  </tr>
252
  <tr>
253
  <th>
254
- <label class="ga-title align-middle" for="ga_Impr"><?php esc_html_e("Impression Thresold","conversios"); ?></label>
255
  </th>
256
  <td>
257
  <?php $ga_Impr = !empty($data['ga_Impr']) ? $data['ga_Impr'] : 6; ?>
258
  <input type="number" min="1" id="ga_Impr" name = "ga_Impr" value = "<?php echo esc_attr($ga_Impr); ?>">
259
  <label for="ga_Impr"></label>
260
  <div class="tvc-tooltip">
261
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("This feature sets Impression threshold for category page. It sends hit after these many numbers of products impressions.","conversios"); ?></span>
262
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
263
  </div>
264
- <p class="description"><b><?php esc_html_e("Note : To avoid processing load on server we recommend upto 6 Impression Thresold.","conversios"); ?></b></p>
265
  </td>
266
  </tr>
267
  <tr>
268
  <th>
269
- <label class="ga-title align-middle" for="ga_IPA"><?php esc_html_e("I.P. Anoymization","conversios"); ?></label>
270
  </th>
271
  <td>
272
  <label class="align-middle">
273
  <?php $ga_IPA = !empty($data['ga_IPA']) ? 'checked' : ''; ?>
274
  <input class="" type="checkbox" name="ga_IPA" id="ga_IPA" <?php echo esc_attr($ga_IPA); ?>>
275
- <label class="custom-control-label" for="ga_IPA"><?php esc_html_e("Enable I.P. Anonymization","conversios"); ?></label>
276
  <div class="tvc-tooltip">
277
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("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.","conversios"); ?></span>
278
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
279
  </div>
280
  </label>
@@ -282,13 +282,13 @@ if(isset($google_detail['setting'])){
282
  </tr>
283
  <tr>
284
  <th>
285
- <label class="ga-title align-middle"><img style="height: 20px;" src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL . "/admin/images/fb-icon.png"); ?>" > <?php esc_html_e("Facebook pixel ID","conversios"); ?></label>
286
  </th>
287
  <td>
288
  <?php $fb_pixel_id = isset($data['fb_pixel_id'])?$data['fb_pixel_id']:""; ?>
289
  <input type="text" class="fromfiled" name="fb_pixel_id" id="fb_pixel_id" value="<?php echo esc_attr($fb_pixel_id); ?>">
290
  <div class="tvc-tooltip">
291
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("The Facebook pixel ID looks like. 518896233175751","conversios"); ?></span>
292
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
293
  </div>
294
  </td>
@@ -296,9 +296,9 @@ if(isset($google_detail['setting'])){
296
  <tr>
297
  <td colspan="2" style="padding: 0.5rem 0;">
298
  <div class="ga-title con_tracking_integration con_faq_title" data-id="sec_con_integration">
299
- <?php esc_html_e("Google Analytics Event Tracking - Custom Integration","conversios"); ?>
300
  <div class="tvc-tooltip">
301
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("This feature is for the woocommerce store which has changed standard woocommerce hooks or implemented custom woocommerce hooks.","conversios"); ?></span>
302
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
303
  </div>
304
  <img class="faq_icon" style="height: 20px;" src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL . "/admin/images/arrow-down-sign.png"); ?>" ></div>
@@ -306,9 +306,9 @@ if(isset($google_detail['setting'])){
306
  <table class="tracking-trigger">
307
  <tr><th colspan="2">
308
  <span>
309
- <?php esc_html_e("Product data collection method ","conversios"); ?>
310
  <div class="tvc-tooltip">
311
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("When you have custom woocommerce implementation and you have modified standard woocommerce hooks, you can configure/select your custom hooks from below to enable google analytics tracking for specific events.","conversios"); ?></span>
312
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
313
  </div>
314
  </span>
@@ -316,7 +316,7 @@ if(isset($google_detail['setting'])){
316
  </th></tr>
317
  <tr>
318
  <th style="padding: 0 1rem; width: 35%;">
319
- <label class="ga-title align-middle"><?php esc_html_e("Product list","conversios"); ?></label>
320
  </th>
321
  <td>
322
  <?php $tvc_product_list_data_collection_method = isset($data['tvc_product_list_data_collection_method'])?$data['tvc_product_list_data_collection_method']:"woocommerce_after_shop_loop_item";
@@ -339,7 +339,7 @@ if(isset($google_detail['setting'])){
339
  }?>
340
  </select>
341
  <div class="tvc-tooltip">
342
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("When product impressions, clicks or add to cart google analytics ecommerce events are not working on your store, select the implemented hook from the dropdown.","conversios"); ?></span>
343
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
344
  </div>
345
  <small>(At home, collection, shop, product details and cart page)</small>
@@ -347,7 +347,7 @@ if(isset($google_detail['setting'])){
347
  </tr>
348
  <tr>
349
  <th style="padding: 0 1rem;">
350
- <label class="ga-title align-middle"><?php esc_html_e("Product detail page","conversios"); ?></label>
351
  </th>
352
  <td>
353
  <?php $tvc_product_detail_data_collection_method = isset($data['tvc_product_detail_data_collection_method'])?$data['tvc_product_detail_data_collection_method']:"woocommerce_after_single_product";
@@ -369,14 +369,14 @@ if(isset($google_detail['setting'])){
369
  }?>
370
  </select>
371
  <div class="tvc-tooltip">
372
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("When your product detail page is not being tracked in google analytics (view_item), try changing the relevant hook from the dropdown.","conversios"); ?></span>
373
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
374
  </div>
375
  </td>
376
  </tr>
377
  <tr>
378
  <th style="padding: 0 1rem;">
379
- <label class="ga-title align-middle"><?php esc_html_e("Checkout page","conversios"); ?></label>
380
  </th>
381
  <td>
382
  <?php
@@ -401,7 +401,7 @@ if(isset($google_detail['setting'])){
401
  }?>
402
  </select>
403
  <div class="tvc-tooltip">
404
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("When your checkout is not being tracked in google analytics (checkout events), try changing the relevant hook from the dropdown.","conversios"); ?></span>
405
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
406
  </div>
407
  </td>
@@ -409,7 +409,7 @@ if(isset($google_detail['setting'])){
409
 
410
  <tr>
411
  <th style="padding: 0 1rem;">
412
- <label class="ga-title align-middle"><?php esc_html_e("Order confirmation page","conversios"); ?></label>
413
  </th>
414
  <td>
415
  <?php
@@ -431,7 +431,7 @@ if(isset($google_detail['setting'])){
431
  }?>
432
  </select>
433
  <div class="tvc-tooltip">
434
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("When your transactions are not being tracked in google analytics (purchase event), try changing the relevant hook from the dropdown.","conversios"); ?></span>
435
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
436
  </div>
437
  </td>
@@ -439,16 +439,16 @@ if(isset($google_detail['setting'])){
439
 
440
  <tr><th colspan="2">
441
  <span>
442
- <?php esc_html_e("Event selector","conversios"); ?>
443
  <div class="tvc-tooltip">
444
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("If you change your front end class or id for below events, select/input the changed class or id.","conversios"); ?></span>
445
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
446
  </div>
447
  </span>
448
  </th></tr>
449
  <tr>
450
  <th style="padding: 0 1rem;">
451
- <label class="ga-title align-middle"><?php esc_html_e("Product page AddToCart button","conversios"); ?></label>
452
  </th>
453
  <td>
454
  <?php $tvc_product_detail_addtocart_selector = isset($data['tvc_product_detail_addtocart_selector'])?$data['tvc_product_detail_addtocart_selector']:"default";
@@ -492,7 +492,7 @@ if(isset($google_detail['setting'])){
492
  <?php $tvc_product_detail_addtocart_selector_val = isset($data['tvc_product_detail_addtocart_selector_val'])?$data['tvc_product_detail_addtocart_selector_val']:""; ?>
493
  <input type="text" class="fromfiled" name="tvc_product_detail_addtocart_selector_val" id="tvc_product_detail_addtocart_selector_val" value="<?php echo esc_attr($tvc_product_detail_addtocart_selector_val); ?>">
494
  <div class="tvc-tooltip">
495
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("Enter your button selector (id or calss) value. You can add multiple classes using comma separated string.","conversios"); ?></span>
496
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
497
  </div>
498
  </span>
@@ -501,7 +501,7 @@ if(isset($google_detail['setting'])){
501
  </tr>
502
  <tr>
503
  <th style="padding: 0 1rem;">
504
- <label class="ga-title align-middle"><?php esc_html_e("Checkout Step 2","conversios"); ?></label>
505
  </th>
506
  <td>
507
  <?php $tvc_checkout_step_2_selector = isset($data['tvc_checkout_step_2_selector'])?$data['tvc_checkout_step_2_selector']:"default";
@@ -543,7 +543,7 @@ if(isset($google_detail['setting'])){
543
  <?php $tvc_checkout_step_2_selector_val = isset($data['tvc_checkout_step_2_selector_val'])?$data['tvc_checkout_step_2_selector_val']:""; ?>
544
  <input type="text" class="fromfiled" name="tvc_checkout_step_2_selector_val" id="tvc_checkout_step_2_selector_val" value="<?php echo esc_attr($tvc_checkout_step_2_selector_val); ?>">
545
  <div class="tvc-tooltip">
546
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("Enter your selector (id or calss) value. You can add multiple classes using comma separated string.","conversios"); ?></span>
547
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
548
  </div>
549
  </span>
@@ -551,7 +551,7 @@ if(isset($google_detail['setting'])){
551
  </tr>
552
  <tr>
553
  <th style="padding: 0 1rem;">
554
- <label class="ga-title align-middle"><?php esc_html_e("Checkout Step 3","conversios"); ?></label>
555
  </th>
556
  <td>
557
  <?php $tvc_checkout_step_3_selector = isset($data['tvc_checkout_step_3_selector'])?$data['tvc_checkout_step_3_selector']:"default";
@@ -593,7 +593,7 @@ if(isset($google_detail['setting'])){
593
  <?php $tvc_checkout_step_3_selector_val = isset($data['tvc_checkout_step_3_selector_val'])?$data['tvc_checkout_step_3_selector_val']:""; ?>
594
  <input type="text" class="fromfiled" name="tvc_checkout_step_3_selector_val" id="tvc_checkout_step_3_selector_val" value="<?php echo esc_attr($tvc_checkout_step_3_selector_val); ?>">
595
  <div class="tvc-tooltip">
596
- <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("Enter your button selector (id or calss) value. You can add multiple classes using comma separated string.","conversios"); ?></span>
597
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
598
  </div>
599
  </span>
@@ -605,15 +605,15 @@ if(isset($google_detail['setting'])){
605
  </tr>
606
  <tr>
607
  <th>
608
- <label class="ga-title align-middle" for="ga_PrivacyPolicy"><?php esc_html_e("Privacy Policy","conversios"); ?></label>
609
  </th>
610
  <td>
611
  <label class="align-middle">
612
  <?php $ga_PrivacyPolicy = !empty($data['ga_PrivacyPolicy']) ? 'checked' : ''; ?>
613
  <input type="checkbox" name="ga_PrivacyPolicy" id="ga_PrivacyPolicy" required="required" <?php echo esc_attr($ga_PrivacyPolicy); ?>>
614
- <label class="custom-control-label" for="ga_PrivacyPolicy"><?php esc_html_e("Accept Privacy Policy of Plugin","conversios"); ?></label>
615
 
616
- <p class="description"><?php esc_html_e("By using Conversios plugin, you agree to Conversios plugin's","conversios"); ?> <a href= "<?php echo esc_url_raw("https://www.tatvic.com/privacy-policy/?ref=plugin_policy&utm_source=plugin_backend&utm_medium=woo_premium_plugin&utm_campaign=GDPR_complaince_ecomm_plugins"); ?>" target="_blank"><?php esc_html_e("Privacy Policy","conversios"); ?></a></p>
617
  </label>
618
  </td>
619
  </tr>
@@ -625,7 +625,7 @@ if(isset($google_detail['setting'])){
625
  <input type="hidden" id="google_ads_id" name = "google_ads_id" value="<?= esc_attr((!empty($data['google_ads_id']))?$data['google_ads_id']:""); ?>"/>
626
  <input type="hidden" id="google_merchant_id" name = "google_merchant_id" value="<?= esc_attr((!empty($data['google_merchant_id']))?$data['google_merchant_id']:""); ?>"/>
627
  <input type="hidden" name="subscription_id" value="<?php echo esc_attr((!empty($data['subscription_id']))?$data['subscription_id']:""); ?>">
628
- <button type="submit" class="btn btn-primary" id="ee_submit_plugin" name="ee_submit_plugin"><?php esc_html_e("Save","conversios"); ?></button>
629
  </p>
630
  </form>
631
  </div>
46
  $TVC_Admin_Helper->update_app_status();
47
 
48
  $class='alert-message tvc-alert-success';
49
+ $message_p = esc_html__( 'Your settings have been saved.', 'enhanced-e-commerce-for-woocommerce-store' );
50
  }
51
  $data = unserialize(get_option('ee_options'));
52
  $subscription_id = $TVC_Admin_Helper->get_subscriptionId();
72
  <?php if($plan_id == 1){?>
73
  <div class="licence tvc-licence" >
74
  <div class="tvc_licence_key_wapper <?php if($plan_id != 1){?>tvc-hide<?php }?>">
75
+ <p><?php esc_html_e("You are using our free plugin, no licence needed ! Happy analyzing..!! :)","enhanced-e-commerce-for-woocommerce-store"); ?></p>
76
+ <p class="font-weight-bold"><?php esc_html_e("To unlock more features of google products, consider our","enhanced-e-commerce-for-woocommerce-store"); ?> <a href="<?php echo esc_url_raw($TVC_Admin_Helper->get_pro_plan_site().'?utm_source=EE+Plugin+User+Interface&utm_medium=Google+Analytics+Screen+pro+version&utm_campaign=Upsell+at+Conversios'); ?>" target="_blank"><?php esc_html_e("pro version.","enhanced-e-commerce-for-woocommerce-store"); ?></a></p>
77
  <form method="post" name="google-analytic" id="tvc-licence-active">
78
  <div class="input-group">
79
+ <input type="text" id="licence_key" name="licence_key" class="form-control" placeholder="<?php esc_html_e("Already purchased? Enter licence key","enhanced-e-commerce-for-woocommerce-store"); ?>" required="">
80
  <div class="input-group-append">
81
  <button type="submit" class="btn btn-primary" name="verify-licence-key"><img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL.'/admin/images/icon/right-arrow.svg'); ?>" alt="active licence key"></button>
82
  </div>
89
  <div class="">
90
  <div class="row mb-3">
91
  <div class="col-6 col-md-6 col-lg-6">
92
+ <h2 class="ga-title"><?php esc_html_e("Connected Google Analytics Account:","enhanced-e-commerce-for-woocommerce-store"); ?></h2>
93
  </div>
94
  <div class="col-6 col-md-6 col-lg-6 text-right">
95
  <div class="acc-num">
96
  <p class="ga-text">
97
+ <?php echo (isset($data['ga_id']) && $data['ga_id'] != '') ? $data['ga_id'] : '<span>'.esc_html__("Get started","enhanced-e-commerce-for-woocommerce-store").'</span>'; ?>
98
  </p>
99
  <?php
100
  if (isset($data['ga_id']) && $data['ga_id'] != '') {
107
  </div>
108
  <div class="row mb-3">
109
  <div class="col-6 col-md-6 col-lg-6">
110
+ <h2 class="ga-title"><?php esc_html_e("Connected Google Analytics 4 Account:","enhanced-e-commerce-for-woocommerce-store"); ?></h2>
111
  </div>
112
  <div class="col-6 col-md-6 col-lg-6 text-right">
113
  <div class="acc-num">
114
  <p class="ga-text">
115
+ <?php echo (isset($data['gm_id']) && $data['gm_id'] != '') ? esc_attr($data['gm_id']) : '<span>'.esc_html__("Get started","enhanced-e-commerce-for-woocommerce-store").'</span>'; ?>
116
  </p>
117
  <?php
118
  if (isset($data['gm_id']) && esc_attr($data['gm_id']) != '') {
125
  </div>
126
  <div class="row mb-3">
127
  <div class="col-6 col-md-6 col-lg-6">
128
+ <h2 class="ga-title"><?php esc_html_e("Linked Google Ads Account:","enhanced-e-commerce-for-woocommerce-store"); ?></h2>
129
  </div>
130
  <div class="col-6 col-md-6 col-lg-6 text-right">
131
  <div class="acc-num">
132
  <p class="ga-text">
133
+ <?php echo (isset($data['google_ads_id']) && $data['google_ads_id'] != '') ? esc_attr($data['google_ads_id']) : '<span>'.esc_html__("Get started","enhanced-e-commerce-for-woocommerce-store").'</span>'; ?>
134
  </p>
135
  <?php
136
  if (isset($data['google_ads_id']) && esc_attr($data['google_ads_id']) != '') {
143
  </div>
144
  <div class="row mb-3">
145
  <div class="col-6 col-md-6 col-lg-6">
146
+ <h2 class="ga-title"><?php esc_html_e("Linked Google Merchant Center Account:","enhanced-e-commerce-for-woocommerce-store"); ?></h2>
147
  </div>
148
  <div class="col-6 col-md-6 col-lg-6 text-right">
149
  <div class="acc-num">
150
  <p class="ga-text">
151
+ <?php echo (isset($data['google_merchant_id']) && $data['google_merchant_id'] != '') ? esc_attr($data['google_merchant_id']) : '<span>'.esc_html__("Get started","enhanced-e-commerce-for-woocommerce-store").'</span>'; ?>
152
  </p>
153
  <?php
154
  if (isset($data['google_merchant_id']) && esc_attr($data['google_merchant_id']) != '') {
166
  <tbody>
167
  <tr>
168
  <th width="155px">
169
+ <label class="ga-title align-middle" for="tracking_code"><?php esc_html_e("Tracking Code","enhanced-e-commerce-for-woocommerce-store"); ?></label>
170
  </th>
171
  <td>
172
  <label class="align-middle">
173
  <?php $ga_ST = !empty($data['ga_ST']) ? 'checked' : ''; ?>
174
  <input type="checkbox" name="ga_ST" id="ga_ST" <?php echo esc_attr($ga_ST); ?> >
175
+ <label class="custom-control-label" for="ga_ST"><?php esc_html_e("Add Global Site Tracking Code 'gtag.js'","enhanced-e-commerce-for-woocommerce-store"); ?></label>
176
  <div class="tvc-tooltip">
177
+ <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("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.","enhanced-e-commerce-for-woocommerce-store"); ?></span>
178
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
179
  </div>
180
  </label><br/>
181
  <label class="align-middle">
182
  <?php $ga_eeT = !empty($data['ga_eeT']) ? 'checked' : ''; ?>
183
  <input type="checkbox" name="ga_eeT" id="ga_eeT" <?php echo esc_attr($ga_eeT); ?> >
184
+ <label class="custom-control-label" for="ga_eeT"><?php esc_html_e("Add Enhanced Ecommerce Tracking Code","enhanced-e-commerce-for-woocommerce-store"); ?></label>
185
  <div class="tvc-tooltip">
186
+ <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("This feature adds Enhanced Ecommerce Tracking Code to your Store.","enhanced-e-commerce-for-woocommerce-store"); ?></span>
187
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
188
  </div>
189
  </label><br/>
190
  <label class="align-middle">
191
  <?php $ga_gUser = !empty($data['ga_gUser']) ? 'checked' : ''; ?>
192
  <input type="checkbox" name="ga_gUser" id="ga_gUser" <?php echo esc_attr($ga_gUser); ?> >
193
+ <label class="custom-control-label" for="ga_gUser"><?php esc_html_e("Add Code to Track the Login Step of Guest Users (Optional)","enhanced-e-commerce-for-woocommerce-store"); ?></label>
194
  <div class="tvc-tooltip">
195
+ <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("If you have Guest Check out enable, we recommend you to add this code.","enhanced-e-commerce-for-woocommerce-store"); ?></span>
196
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
197
  </div>
198
  </label>
201
  <?php if(isset($data['gm_id']) && $data['gm_id'] != '' && $plan_id != 1){ ?>
202
  <tr>
203
  <th>
204
+ <label class="ga-title align-middle"><?php esc_html_e("GA4 - API secrets ","enhanced-e-commerce-for-woocommerce-store"); ?><span class="tvc-pro"> (PRO)</span></label>
205
  </th>
206
  <td>
207
  <?php $ga4_api_secret = isset($data['ga4_api_secret'])?$data['ga4_api_secret']:""; ?>
208
  <input type="text" class="fromfiled" name="ga4_api_secret" id="ga4_api_secret" value="<?php echo esc_attr($ga4_api_secret); ?>">
209
  <div class="tvc-tooltip">
210
+ <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("How to get 'Measurement Protocol API Secret' in GA4: Click Admin > Click Data streams (Under Property) > Select the stream > Additional Settings - Measurement Protocol API secrets > Create a new API secret.","enhanced-e-commerce-for-woocommerce-store"); ?></span>
211
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
212
  </div>
213
  <br>To track refund order
216
  <?php } ?>
217
  <tr>
218
  <th>
219
+ <label class="ga-title align-middle" for= "ga_CG" ><?php esc_html_e("Content Grouping","enhanced-e-commerce-for-woocommerce-store"); ?> <span class="tvc-pro"> (PRO)</span></label>
220
  </th>
221
  <td>
222
  <label class="align-middle">
223
  <?php $ga_CG = (!empty($data['ga_CG'])) ? 'checked' : '';
224
  if($plan_id==1){ $ga_CG ="";}?>
225
  <input type="checkbox" name="ga_CG" id="ga_CG" <?php if($plan_id==1){?> onclick="return false;"<?php } ?> <?php echo esc_attr($ga_CG);?> >
226
+ <label class="custom-control-label" for="ga_CG"><?php esc_html_e("Add Code to enable content grouping","enhanced-e-commerce-for-woocommerce-store"); ?></label>
227
  <div class="tvc-tooltip">
228
+ <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("Content grouping helps you group your web pages (content).","enhanced-e-commerce-for-woocommerce-store"); ?></span>
229
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
230
  </div>
231
  </label>
233
  </tr>
234
  <tr>
235
  <th>
236
+ <label class="ga-title align-middle" for= "ga_optimize" ><?php esc_html_e("Google Optimize","enhanced-e-commerce-for-woocommerce-store"); ?> <span class="tvc-pro"> (PRO)</span></label>
237
  </th>
238
  <td>
239
  <?php
240
  if($plan_id==1){?>
241
+ <input type="text" name="ga_optimize_id" id="ga_optimize_id" value = "<?php echo !empty($data['ga_optimize_id']) ? esc_attr($data['ga_optimize_id']) : '';?>" placeholder="<?php esc_html_e("Google Optimize ID","enhanced-e-commerce-for-woocommerce-store"); ?>" disabled>
242
  <?php }else{ ?>
243
+ <input type="text" name="ga_optimize_id" id="ga_optimize_id" value = "<?php echo !empty($data['ga_optimize_id']) ? esc_attr($data['ga_optimize_id']) : '';?>" placeholder="<?php esc_html_e("Google Optimize ID","enhanced-e-commerce-for-woocommerce-store"); ?>">
244
  <?php } ?>
245
  <div class="tvc-tooltip">
246
+ <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("Enter a valid google optimize container ID.","enhanced-e-commerce-for-woocommerce-store"); ?></span>
247
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
248
  </div>
249
 
251
  </tr>
252
  <tr>
253
  <th>
254
+ <label class="ga-title align-middle" for="ga_Impr"><?php esc_html_e("Impression Thresold","enhanced-e-commerce-for-woocommerce-store"); ?></label>
255
  </th>
256
  <td>
257
  <?php $ga_Impr = !empty($data['ga_Impr']) ? $data['ga_Impr'] : 6; ?>
258
  <input type="number" min="1" id="ga_Impr" name = "ga_Impr" value = "<?php echo esc_attr($ga_Impr); ?>">
259
  <label for="ga_Impr"></label>
260
  <div class="tvc-tooltip">
261
+ <span class="tvc-tooltiptext tvc-tooltip-right"><?php esc_html_e("This feature sets Impression threshold for category page. It sends hit after these many numbers of products impressions.","enhanced-e-commerce-for-woocommerce-store"); ?></span>
262
  <img src="<?php echo esc_url_raw(ENHANCAD_PLUGIN_URL."/admin/images/icon/informationI.svg"); ?>" alt=""/>
263
  </div>
264