Google Analytics for WordPress by MonsterInsights - Version 6.2.3

Version Description

= 6.0.0 =

This is a major release. Please back up your site before upgrading.

Download this release

Release Info

Developer chriscct7
Plugin Icon 128x128 Google Analytics for WordPress by MonsterInsights
Version 6.2.3
Comparing to
See all releases

Code changes from version 6.2.2 to 6.2.3

googleanalytics.php CHANGED
@@ -6,7 +6,7 @@
6
  * Author: MonsterInsights
7
  * Author URI: https://www.monsterinsights.com/
8
  *
9
- * Version: 6.2.2
10
  * Requires at least: 3.9.0
11
  * Tested up to: 4.8.1
12
  *
@@ -69,7 +69,7 @@ final class MonsterInsights_Lite {
69
  * @access public
70
  * @var string $version Plugin version.
71
  */
72
- public $version = '6.2.2';
73
 
74
  /**
75
  * Plugin file.
6
  * Author: MonsterInsights
7
  * Author URI: https://www.monsterinsights.com/
8
  *
9
+ * Version: 6.2.3
10
  * Requires at least: 3.9.0
11
  * Tested up to: 4.8.1
12
  *
69
  * @access public
70
  * @var string $version Plugin version.
71
  */
72
+ public $version = '6.2.3';
73
 
74
  /**
75
  * Plugin file.
includes/admin/reports/overview.php CHANGED
@@ -102,8 +102,9 @@ final class MonsterInsights_Report_Overview extends MonsterInsights_Report {
102
  $countries = ! empty( $data['countries'] ) ? $data['countries'] : false;
103
  ?>
104
  <?php
105
- if ( empty( $pageviews ) && empty( $top ) && empty( $sources ) && empty( $countries ) ) {
106
- echo MonsterInsights()->notices->display_inline_notice( 'monsterinsights_standard_notice', '', __( 'If you\'ve just installed MonsterInsights, data may take up to 24 hours to populate here. Check back soon!','google-analytics-for-wordpress'), 'notice', false, array() );
 
107
  }
108
 
109
  if ( ! empty( $pageviews ) ) {
102
  $countries = ! empty( $data['countries'] ) ? $data['countries'] : false;
103
  ?>
104
  <?php
105
+ if ( ( empty( $pageviews ) && empty( $top ) && empty( $sources ) && empty( $countries ) ) || ( empty( $top['total']['ga:pageviews'] ) ) || ( empty( $top['data'] ) ) ) {
106
+ echo MonsterInsights()->notices->display_inline_notice( 'monsterinsights_standard_notice', '', __( 'If you\'ve just installed MonsterInsights, data may take up to 24 hours to populate here. Check back soon!','google-analytics-for-wordpress'), 'info', false, array() );
107
+ return;
108
  }
109
 
110
  if ( ! empty( $pageviews ) ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.wpbeginner.com/wpbeginner-needs-your-help/
4
  Tags: analytics, analytics dashboard, google analytics, google analytics dashboard, google analytics widget, universal google analytics, statistics, tracking, stats, google, yoast, google analytics by yoast, ga, monster insights, monsterinsights, universal analytics, web stats, ecommerce, ecommerce tracking
5
  Requires at least: 3.9
6
  Tested up to: 4.8.1
7
- Stable tag: 6.2.2
8
  License: GPL v3
9
 
10
  The best Google Analytics plugin for WordPress. See how visitors find and use your website, so you can keep them coming back.
@@ -136,9 +136,12 @@ You can also learn about other <a href="http://www.wpbeginner.com/category/plugi
136
  4. Want more features? <a href="https://www.monsterinsights.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">Purchase MonsterInsights Pro</a>!
137
 
138
  == Changelog ==
 
 
 
139
  = 6.2.2: August 16, 2017 =
140
  * Tweak: Adjusted order of setup/config notices
141
- * Fix: Fixed an issue with the sanitization of number fields. Solves an issue with the Google Optimize extension.
142
 
143
  = 6.2.1: August 9, 2017 =
144
  * New: MonsterInsights now has the ability to automatically update itself and it's addons. You can set MonsterInsights to automatically update minor versions only or all new versions inside the MonsterInsights settings panel in Tracking -> Permissions.
4
  Tags: analytics, analytics dashboard, google analytics, google analytics dashboard, google analytics widget, universal google analytics, statistics, tracking, stats, google, yoast, google analytics by yoast, ga, monster insights, monsterinsights, universal analytics, web stats, ecommerce, ecommerce tracking
5
  Requires at least: 3.9
6
  Tested up to: 4.8.1
7
+ Stable tag: 6.2.3
8
  License: GPL v3
9
 
10
  The best Google Analytics plugin for WordPress. See how visitors find and use your website, so you can keep them coming back.
136
  4. Want more features? <a href="https://www.monsterinsights.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">Purchase MonsterInsights Pro</a>!
137
 
138
  == Changelog ==
139
+ = 6.2.3: September, 9, 2017 =
140
+ * Tweak: Added a notice for new users of MonsterInsights about when the reports will begin populating.
141
+
142
  = 6.2.2: August 16, 2017 =
143
  * Tweak: Adjusted order of setup/config notices
144
+ * Fix: Fixed an issue with the sanitation of number fields. Solves an issue with the Google Optimize extension.
145
 
146
  = 6.2.1: August 9, 2017 =
147
  * New: MonsterInsights now has the ability to automatically update itself and it's addons. You can set MonsterInsights to automatically update minor versions only or all new versions inside the MonsterInsights settings panel in Tracking -> Permissions.