Google Analytics - Version 1.0.6

Version Description

  • 29-Aug-2016
  • Fix : Check for cURL extension.
  • New : Use PageViews in the pages tab.
Download this release

Release Info

Developer amribrahim
Plugin Icon 128x128 Google Analytics
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

core/GoogleAnalyticsAPI.class.php CHANGED
@@ -4,7 +4,7 @@ namespace Lara\Utils\Google;
4
  use Lara\Utils\Common as Common;
5
 
6
  /**
7
- * @package Lara, Google Analytics Dashboard Widget
8
  * @author Amr M. Ibrahim <mailamr@gmail.com>
9
  * @link https://www.whmcsadmintheme.com
10
  * @copyright Copyright (c) WHMCSAdminTheme 2016
4
  use Lara\Utils\Common as Common;
5
 
6
  /**
7
+ * @package Google Analytics by Lara
8
  * @author Amr M. Ibrahim <mailamr@gmail.com>
9
  * @link https://www.whmcsadmintheme.com
10
  * @copyright Copyright (c) WHMCSAdminTheme 2016
core/callURL.class.php CHANGED
@@ -4,7 +4,7 @@ namespace Lara\Utils\Common;
4
  use Lara\Utils\Common as Common;
5
 
6
  /**
7
- * @package Lara, Google Analytics Dashboard Widget
8
  * @author Amr M. Ibrahim <mailamr@gmail.com>
9
  * @link https://www.whmcsadmintheme.com
10
  * @copyright Copyright (c) WHMCSAdminTheme 2016
@@ -83,6 +83,11 @@ class callURL{
83
  }
84
  $this->callOptions[CURLOPT_URL] = $this->url.$query;
85
  }
 
 
 
 
 
86
 
87
  ## Do Call
88
  $handle = curl_init();
4
  use Lara\Utils\Common as Common;
5
 
6
  /**
7
+ * @package Google Analytics by Lara
8
  * @author Amr M. Ibrahim <mailamr@gmail.com>
9
  * @link https://www.whmcsadmintheme.com
10
  * @copyright Copyright (c) WHMCSAdminTheme 2016
83
  }
84
  $this->callOptions[CURLOPT_URL] = $this->url.$query;
85
  }
86
+
87
+ ## Check for cURL
88
+ if (!extension_loaded('curl')) {
89
+ Common\ErrorHandler::FatalError("Fatal Error","cURL is not installed/enabled on your server. Please contact your server administrator or hosting provider for assistance with installing/enabling cURL extension for PHP.");
90
+ }
91
 
92
  ## Do Call
93
  $handle = curl_init();
core/exception.class.php CHANGED
@@ -3,7 +3,7 @@
3
  namespace Lara\Utils\Common;
4
 
5
  /**
6
- * @package Lara, Google Analytics Dashboard Widget
7
  * @author Amr M. Ibrahim <mailamr@gmail.com>
8
  * @link https://www.whmcsadmintheme.com
9
  * @copyright Copyright (c) WHMCSAdminTheme 2016
3
  namespace Lara\Utils\Common;
4
 
5
  /**
6
+ * @package Google Analytics by Lara
7
  * @author Amr M. Ibrahim <mailamr@gmail.com>
8
  * @link https://www.whmcsadmintheme.com
9
  * @copyright Copyright (c) WHMCSAdminTheme 2016
core/lrgawidget.class.php CHANGED
@@ -5,7 +5,7 @@ use Lara\Utils\Google\GoogleAnalyticsAPI as GoogleAnalyticsAPI;
5
  use Lara\Utils\Common\registryStore as registryStore;
6
 
7
  /**
8
- * @package Lara, Google Analytics Dashboard Widget
9
  * @author Amr M. Ibrahim <mailamr@gmail.com>
10
  * @link https://www.whmcsadmintheme.com
11
  * @copyright Copyright (c) WHMCSAdminTheme 2016
5
  use Lara\Utils\Common\registryStore as registryStore;
6
 
7
  /**
8
+ * @package Google Analytics by Lara
9
  * @author Amr M. Ibrahim <mailamr@gmail.com>
10
  * @link https://www.whmcsadmintheme.com
11
  * @copyright Copyright (c) WHMCSAdminTheme 2016
core/lrgawidget.handler.php CHANGED
@@ -5,7 +5,7 @@ use Lara\Widgets\GoogleAnalytics as GoogleAnalytics;
5
  use Lara\Utils\Common as Common;
6
 
7
  /**
8
- * @package Lara, Google Analytics Dashboard Widget
9
  * @author Amr M. Ibrahim <mailamr@gmail.com>
10
  * @link https://www.whmcsadmintheme.com
11
  * @copyright Copyright (c) WHMCSAdminTheme 2016
5
  use Lara\Utils\Common as Common;
6
 
7
  /**
8
+ * @package Google Analytics by Lara
9
  * @author Amr M. Ibrahim <mailamr@gmail.com>
10
  * @link https://www.whmcsadmintheme.com
11
  * @copyright Copyright (c) WHMCSAdminTheme 2016
core/storage.class.php CHANGED
@@ -6,7 +6,7 @@ use Lara\Utils\Common as Common;
6
  use Illuminate\Database\Capsule\Manager as Capsule;
7
 
8
  /**
9
- * @package Lara, Google Analytics Dashboard Widget
10
  * @author Amr M. Ibrahim <mailamr@gmail.com>
11
  * @link https://www.whmcsadmintheme.com
12
  * @copyright Copyright (c) WHMCSAdminTheme 2016
6
  use Illuminate\Database\Capsule\Manager as Capsule;
7
 
8
  /**
9
+ * @package Google Analytics by Lara
10
  * @author Amr M. Ibrahim <mailamr@gmail.com>
11
  * @link https://www.whmcsadmintheme.com
12
  * @copyright Copyright (c) WHMCSAdminTheme 2016
dist/js/lrgawidget.js CHANGED
@@ -1,6 +1,6 @@
1
 
2
  /**
3
- * @package Lara, Google Analytics Dashboard Widget
4
  * @author Amr M. Ibrahim <mailamr@gmail.com>
5
  * @link https://www.whmcsadmintheme.com
6
  * @copyright Copyright (c) WHMCSAdminTheme 2016
1
 
2
  /**
3
+ * @package Google Analytics by Lara
4
  * @author Amr M. Ibrahim <mailamr@gmail.com>
5
  * @link https://www.whmcsadmintheme.com
6
  * @copyright Copyright (c) WHMCSAdminTheme 2016
dist/js/lrgawidget_control.js CHANGED
@@ -1,6 +1,6 @@
1
 
2
  /**
3
- * @package Lara, Google Analytics Dashboard Widget
4
  * @author Amr M. Ibrahim <mailamr@gmail.com>
5
  * @link https://www.whmcsadmintheme.com
6
  * @copyright Copyright (c) WHMCSAdminTheme 2016
1
 
2
  /**
3
+ * @package Google Analytics by Lara
4
  * @author Amr M. Ibrahim <mailamr@gmail.com>
5
  * @link https://www.whmcsadmintheme.com
6
  * @copyright Copyright (c) WHMCSAdminTheme 2016
lara-google-analytics.php CHANGED
@@ -4,14 +4,14 @@
4
  Plugin Name: Google Analytics
5
  Plugin URI: https://www.whmcsadmintheme.com
6
  Description: Easily connects your Google Analytics account with WordPress.
7
- Version: 1.0.5
8
  Author: Amr M. Ibrahim
9
  Author URI: https://www.whmcsadmintheme.com
10
  License: GPL2
11
  */
12
 
13
- define ("lrgawidget_plugin_version", "1.0.5");
14
- define ("lrgawidget_plugin_scripts_version", "12");
15
  define ("lrgawidget_plugin_prefiex", "lrgalite-");
16
  define ("lrgawidget_plugin_dist_dir", plugin_dir_url( __FILE__ ).'dist/');
17
  define ("lrgawidget_plugin_plugins_dir", plugin_dir_url( __FILE__ ).'dist/plugins/');
4
  Plugin Name: Google Analytics
5
  Plugin URI: https://www.whmcsadmintheme.com
6
  Description: Easily connects your Google Analytics account with WordPress.
7
+ Version: 1.0.6
8
  Author: Amr M. Ibrahim
9
  Author URI: https://www.whmcsadmintheme.com
10
  License: GPL2
11
  */
12
 
13
+ define ("lrgawidget_plugin_version", "1.0.6");
14
+ define ("lrgawidget_plugin_scripts_version", "14");
15
  define ("lrgawidget_plugin_prefiex", "lrgalite-");
16
  define ("lrgawidget_plugin_dist_dir", plugin_dir_url( __FILE__ ).'dist/');
17
  define ("lrgawidget_plugin_plugins_dir", plugin_dir_url( __FILE__ ).'dist/plugins/');
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Tags: analyticator, analytics, analytics dashboard, better google analytics, analitics, charts, counter, dashboard, demographics, easy analytics, ga, ga code, gogle, google, google analytic, google analytics, google analytics dashboard, google analytics for wordpress, google analytics manager, google analytics plugin, google analytics tracking code, google analytics widget, hit, hit counter, hits website, install analytics, interests, keywords, marketing, pageview counter, pageviews, reports, simple analytics, statistic, stats, stats counter, statscounter, track, tracker, tracking, tracking code, universal tracking, visitor tracker, web statistics, web stats, website visitors, wordpress analytics, hitcounter, hits, statistics, visitor tracking, visitors, googleanalytics, universal google analytics, lara
3
  Contributors: amribrahim
4
  Requires at least: 4.0
5
- Tested up to: 4.6
6
- Stable tag: 1.0.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -53,4 +53,9 @@ Adds a full width Google Analytics dashboard widget for WordPress admin interfac
53
 
54
  = 1.0.5 =
55
  * 7-May-2016
56
- * Fix : Track subscribers and anonymous visitors only.
 
 
 
 
 
2
  Tags: analyticator, analytics, analytics dashboard, better google analytics, analitics, charts, counter, dashboard, demographics, easy analytics, ga, ga code, gogle, google, google analytic, google analytics, google analytics dashboard, google analytics for wordpress, google analytics manager, google analytics plugin, google analytics tracking code, google analytics widget, hit, hit counter, hits website, install analytics, interests, keywords, marketing, pageview counter, pageviews, reports, simple analytics, statistic, stats, stats counter, statscounter, track, tracker, tracking, tracking code, universal tracking, visitor tracker, web statistics, web stats, website visitors, wordpress analytics, hitcounter, hits, statistics, visitor tracking, visitors, googleanalytics, universal google analytics, lara
3
  Contributors: amribrahim
4
  Requires at least: 4.0
5
+ Tested up to: 4.7
6
+ Stable tag: 1.0.6
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
53
 
54
  = 1.0.5 =
55
  * 7-May-2016
56
+ * Fix : Track subscribers and anonymous visitors only.
57
+
58
+ = 1.0.6 =
59
+ * 29-Aug-2016
60
+ * Fix : Check for cURL extension.
61
+ * New : Use PageViews in the pages tab.