Google Analytics Counter Tracker - Version 3.5.1

Version Description

Download this release

Release Info

Developer Analytics Counter
Plugin Icon 128x128 Google Analytics Counter Tracker
Version 3.5.1
Comparing to
See all releases

Code changes from version 3.5.0 to 3.5.1

analytics-counter.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Google Analytics Counter Tracker
4
 
5
  Description: Google analytics counter tracker - analyse the visitors hits on you website and display it graphically
6
- Version: 3.5.0
7
  Author: WPAdm
8
  Domain Path: /languages
9
  Text Domain: analytics-counter
3
  Plugin Name: Google Analytics Counter Tracker
4
 
5
  Description: Google analytics counter tracker - analyse the visitors hits on you website and display it graphically
6
+ Version: 3.5.1
7
  Author: WPAdm
8
  Domain Path: /languages
9
  Text Domain: analytics-counter
class.wpadm-ga.php CHANGED
@@ -666,7 +666,7 @@ class WPAdm_GA
666
  }
667
  }
668
 
669
- protected function get_plugin_version() {
670
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
671
  $slug = WPADM_GA__PLUGIN_NAME . '/' . WPADM_GA__PLUGIN_NAME . '.php';
672
 
666
  }
667
  }
668
 
669
+ public static function get_plugin_version() {
670
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
671
  $slug = WPADM_GA__PLUGIN_NAME . '/' . WPADM_GA__PLUGIN_NAME . '.php';
672
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Google Analytics Counter Tracker ===
2
  Plugin Name: Google Analytics Counter Tracker
3
- Version: 3.5.0
4
  Tags: Google Analytics, Analytics, Statistics, Analytics dashboard, Reports, Charts, Stats, Web stats, Visit, Audience Overview, Visitors Overview, Marketing, Google, Keywords, Counter, Tracker, Hit counter, hitcounter, visitor tracker, visitor tracking, visitors, tracking, stats, statscounter, analyse, hits, hit, track
5
  Requires at least: 3.9
6
- Tested up to: 4.6.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
1
  === Google Analytics Counter Tracker ===
2
  Plugin Name: Google Analytics Counter Tracker
3
+ Version: 3.5.1
4
  Tags: Google Analytics, Analytics, Statistics, Analytics dashboard, Reports, Charts, Stats, Web stats, Visit, Audience Overview, Visitors Overview, Marketing, Google, Keywords, Counter, Tracker, Hit counter, hitcounter, visitor tracker, visitor tracking, visitors, tracking, stats, statscounter, analyse, hits, hit, track
5
  Requires at least: 3.9
6
+ Tested up to: 4.7
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
view/error_admin_empty_ga_token.php CHANGED
@@ -6,7 +6,7 @@ $current_uri = home_url( add_query_arg( NULL, NULL ) );
6
 
7
  <div class="row">
8
  <div class="col-md-3" style="text-align: center">
9
- <?php echo '<a href="'.WPAdm_GA::URL_GA_AUTH.'?fix&redirect='. urlencode(WPAdm_GA::getCurUrl()).'" class="btn btn-success" style="margin-top: 20px;"><b>'.__('Connect Google Analytics services', 'analytics-counter') .'</b></a>'; ?>
10
  </div>
11
  <div class="col-md-5">
12
  <div style="margin-top: 20px;"><a href='https://analytics.google.com/analytics/web/#management/Settings//%3Fm.page%3DNewAccount/' class='btn btn-xs btn-success'><?php _e('Create Google Analytics account', 'analytics-counter');?></a></div>
@@ -29,7 +29,7 @@ $current_uri = home_url( add_query_arg( NULL, NULL ) );
29
  <div class="col-md-8">
30
  <div class="wpadm_ga_code_tab" id="wpadm_ga_tab_auto">
31
  <p style="text-align: center">
32
- <?php printf(__('Click here to <a href="%s">connect your Google Analytics account</a>, automatically generate Google Analytics code <br>and automatically paste Google Analytics code in your website.', 'analytics-counter'), WPAdm_GA::URL_GA_AUTH.'?fix&redirect='. urlencode(WPAdm_GA::getCurUrl())); ?>
33
  </p>
34
  </div>
35
  <div class="wpadm_ga_code_tab" style="display: none;" id="wpadm_ga_tab_manual">
6
 
7
  <div class="row">
8
  <div class="col-md-3" style="text-align: center">
9
+ <?php echo '<a href="'.WPAdm_GA::URL_GA_AUTH.'?fix&v='.urldecode(WPAdm_GA::get_plugin_version()).'&redirect='. urlencode(WPAdm_GA::getCurUrl()).'" class="btn btn-success" style="margin-top: 20px;"><b>'.__('Connect Google Analytics services', 'analytics-counter') .'</b></a>'; ?>
10
  </div>
11
  <div class="col-md-5">
12
  <div style="margin-top: 20px;"><a href='https://analytics.google.com/analytics/web/#management/Settings//%3Fm.page%3DNewAccount/' class='btn btn-xs btn-success'><?php _e('Create Google Analytics account', 'analytics-counter');?></a></div>
29
  <div class="col-md-8">
30
  <div class="wpadm_ga_code_tab" id="wpadm_ga_tab_auto">
31
  <p style="text-align: center">
32
+ <?php printf(__('Click here to <a href="%s">connect your Google Analytics account</a>, automatically generate Google Analytics code <br>and automatically paste Google Analytics code in your website.', 'analytics-counter'), WPAdm_GA::URL_GA_AUTH.'?fix&v='.urldecode(WPAdm_GA::get_plugin_version()).'&redirect='. urlencode(WPAdm_GA::getCurUrl())); ?>
33
  </p>
34
  </div>
35
  <div class="wpadm_ga_code_tab" style="display: none;" id="wpadm_ga_tab_manual">
view/layout.php CHANGED
@@ -27,9 +27,9 @@
27
  <ol style="margin-left: 17px; margin-top: 0px; font-size: 15px;">
28
  <li>Google Analytics account. The account can be created here: <a href="https://analytics.google.com/analytics/web/#management/Settings//%3Fm.page%3DNewAccount/" style="font-weight:bold">create account</a></li>
29
  <li>Your website must be added to Google Analytics account.</li>
30
- <li>This plugin must be connected to your Google Analytics account: <a href="<?php echo WPAdm_GA::URL_GA_AUTH.'?fix&redirect='. urlencode(WPAdm_GA::getCurUrl()).'"'; ?>" style="font-weight:bold">connect</a></li>
31
  <li>You meet conditions of 1,2 and 3, but Google Analytics stats not shown:<br>
32
- try to <button type="submit" style="padding: 0px; font-weight: bold" name="ga-disconnect-btn" value="disconnect" class="btn-link">disconnect</button> this plugin from Google Analytics account and <a href="<?php echo WPAdm_GA::URL_GA_AUTH.'?fix&redirect='. urlencode(WPAdm_GA::getCurUrl()).'"'; ?>" style="font-weight:bold">connect</a> it again.
33
  </li>
34
  </ol>
35
 
27
  <ol style="margin-left: 17px; margin-top: 0px; font-size: 15px;">
28
  <li>Google Analytics account. The account can be created here: <a href="https://analytics.google.com/analytics/web/#management/Settings//%3Fm.page%3DNewAccount/" style="font-weight:bold">create account</a></li>
29
  <li>Your website must be added to Google Analytics account.</li>
30
+ <li>This plugin must be connected to your Google Analytics account: <a href="<?php echo WPAdm_GA::URL_GA_AUTH.'?fix&v='.urldecode(WPAdm_GA::get_plugin_version()).'&redirect='. urlencode(WPAdm_GA::getCurUrl()).'"'; ?>" style="font-weight:bold">connect</a></li>
31
  <li>You meet conditions of 1,2 and 3, but Google Analytics stats not shown:<br>
32
+ try to <button type="submit" style="padding: 0px; font-weight: bold" name="ga-disconnect-btn" value="disconnect" class="btn-link">disconnect</button> this plugin from Google Analytics account and <a href="<?php echo WPAdm_GA::URL_GA_AUTH.'?fix&v='.urldecode(WPAdm_GA::get_plugin_version()).'&redirect='. urlencode(WPAdm_GA::getCurUrl()).'"'; ?>" style="font-weight:bold">connect</a> it again.
33
  </li>
34
  </ol>
35