Google Analytics Counter Tracker - Version 3.0.1

Version Description

Download this release

Release Info

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

Code changes from version 3.0.0 to 3.0.1

Files changed (3) hide show
  1. analytics-counter.php +1 -1
  2. readme.txt +1 -1
  3. view/scripts/wpadm-ga.js +6 -0
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.0.0
7
  Author: WPAdm
8
  Author URI: http://www.wpadm.com
9
  Plugin URI: http://www.wpadm.com
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.0.1
7
  Author: WPAdm
8
  Author URI: http://www.wpadm.com
9
  Plugin URI: http://www.wpadm.com
readme.txt CHANGED
@@ -1,6 +1,6 @@
1
  === Google Analytics Counter Tracker ===
2
  Plugin Name: Google Analytics Counter Tracker
3
- Version: 3.0.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.4
1
  === Google Analytics Counter Tracker ===
2
  Plugin Name: Google Analytics Counter Tracker
3
+ Version: 3.0.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.4
view/scripts/wpadm-ga.js CHANGED
@@ -146,6 +146,12 @@ function wpadm_ga_formatError(error) {
146
 
147
 
148
  function wpadm_ga_getCache(gapi_object) {
 
 
 
 
 
 
149
  var query = gapi_object.wc.query;
150
  var object_type = (undefined !== gapi_object.wc.chart) ? 'chart': 'data';
151
 
146
 
147
 
148
  function wpadm_ga_getCache(gapi_object) {
149
+
150
+ if (!gapi_object.wc) {
151
+ gapi_object.execute();
152
+ return;
153
+ }
154
+
155
  var query = gapi_object.wc.query;
156
  var object_type = (undefined !== gapi_object.wc.chart) ? 'chart': 'data';
157