Version Description
- Fixed reporting time zone issue when using a numeric GMT offset
Download this release
Release Info
Developer | digitalpoint |
Plugin | Better Google Analytics |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
better-analytics.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
Plugin Name: Better Analytics
|
8 |
Plugin URI: https://marketplace.digitalpoint.com/better-analytics.3354/item
|
9 |
Description: Adds Google Universal Analytics code to your WordPress site. Options to track most everything (social button interactions, advertising clicks, emails sent/opened, YouTube video engagement, custom dimension tracking of authors/categories, etc.) Integrates with API for reports/charts on dashboard, heat maps and real-time traffic tracking.
|
10 |
-
Version: 1.2.
|
11 |
Author: Digital Point
|
12 |
Author URI: https://www.digitalpoint.com/
|
13 |
License: GPLv2
|
@@ -23,7 +23,7 @@ if (!function_exists('add_action'))
|
|
23 |
exit;
|
24 |
}
|
25 |
|
26 |
-
define('BETTER_ANALYTICS_VERSION', '1.2.
|
27 |
define('BETTER_ANALYTICS_MINIMUM_WP_VERSION', '3.8'); // Dashicons: https://codex.wordpress.org/Function_Reference/add_menu_page
|
28 |
define('BETTER_ANALYTICS_PRODUCT_URL', 'https://marketplace.digitalpoint.com/better-analytics.3354/item');
|
29 |
define('BETTER_ANALYTICS_PRO_PRODUCT_URL', 'https://marketplace.digitalpoint.com/better-analytics-pro.3355/item');
|
7 |
Plugin Name: Better Analytics
|
8 |
Plugin URI: https://marketplace.digitalpoint.com/better-analytics.3354/item
|
9 |
Description: Adds Google Universal Analytics code to your WordPress site. Options to track most everything (social button interactions, advertising clicks, emails sent/opened, YouTube video engagement, custom dimension tracking of authors/categories, etc.) Integrates with API for reports/charts on dashboard, heat maps and real-time traffic tracking.
|
10 |
+
Version: 1.2.3
|
11 |
Author: Digital Point
|
12 |
Author URI: https://www.digitalpoint.com/
|
13 |
License: GPLv2
|
23 |
exit;
|
24 |
}
|
25 |
|
26 |
+
define('BETTER_ANALYTICS_VERSION', '1.2.3');
|
27 |
define('BETTER_ANALYTICS_MINIMUM_WP_VERSION', '3.8'); // Dashicons: https://codex.wordpress.org/Function_Reference/add_menu_page
|
28 |
define('BETTER_ANALYTICS_PRODUCT_URL', 'https://marketplace.digitalpoint.com/better-analytics.3354/item');
|
29 |
define('BETTER_ANALYTICS_PRO_PRODUCT_URL', 'https://marketplace.digitalpoint.com/better-analytics-pro.3355/item');
|
library/DigitalPointBetterAnalytics/Helper/Reporting/Abstract.php
CHANGED
@@ -677,10 +677,18 @@ abstract class DigitalPointBetterAnalytics_Helper_Reporting_Abstract
|
|
677 |
}
|
678 |
}
|
679 |
|
680 |
-
if (
|
681 |
{
|
682 |
-
$timeZoneString = '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
683 |
}
|
|
|
684 |
$timeZone = new DateTimeZone($timeZoneString);
|
685 |
|
686 |
$date = new DateTime('now', $timeZone);
|
677 |
}
|
678 |
}
|
679 |
|
680 |
+
if (!$timeZoneString = get_option('timezone_string'))
|
681 |
{
|
682 |
+
if ($timeZoneString = get_option('gmt_offset'))
|
683 |
+
{
|
684 |
+
$timeZoneString = 'GMT' . ($timeZoneString > 0 ? '+' : '') . $timeZoneString;
|
685 |
+
}
|
686 |
+
else
|
687 |
+
{
|
688 |
+
$timeZoneString = 'GMT+0';
|
689 |
+
}
|
690 |
}
|
691 |
+
|
692 |
$timeZone = new DateTimeZone($timeZoneString);
|
693 |
|
694 |
$date = new DateTime('now', $timeZone);
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: digitalpoint
|
|
3 |
Tags: analytics, google analytics, universal analytics, statistics, tracking, code, dashboard, analytics dashboard, google analytics dashboard, google analytics plugin, google analytics widget, reports, charts, multisite, api, stats, web stats, visits, javascript, pageviews, marketing, widget, realtime, real time, youtube, outbrain, taboola, adsense, twitter, pinterest, linkedin, facebook, google, digitalpoint, ab testing, ab tests, split testing, google analytics content experiments, content experiments
|
4 |
Donate link: https://marketplace.digitalpoint.com/better-analytics.3354/item#utm_source=readme&utm_medium=wordpress&utm_campaign=plugin
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.7.
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -203,6 +203,9 @@ Thank you to all the individuals who have contributed translations for Better Go
|
|
203 |
26. Advanced settings allow you to fine tune how the system works with Google Analytics.
|
204 |
|
205 |
== Changelog ==
|
|
|
|
|
|
|
206 |
= 1.2.2 =
|
207 |
* Made some changes to address suppressed PHP notices in PHP 7.1
|
208 |
* Fixed stray string being output in admin in certain situations
|
3 |
Tags: analytics, google analytics, universal analytics, statistics, tracking, code, dashboard, analytics dashboard, google analytics dashboard, google analytics plugin, google analytics widget, reports, charts, multisite, api, stats, web stats, visits, javascript, pageviews, marketing, widget, realtime, real time, youtube, outbrain, taboola, adsense, twitter, pinterest, linkedin, facebook, google, digitalpoint, ab testing, ab tests, split testing, google analytics content experiments, content experiments
|
4 |
Donate link: https://marketplace.digitalpoint.com/better-analytics.3354/item#utm_source=readme&utm_medium=wordpress&utm_campaign=plugin
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.7.4
|
7 |
+
Stable tag: 1.2.3
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
203 |
26. Advanced settings allow you to fine tune how the system works with Google Analytics.
|
204 |
|
205 |
== Changelog ==
|
206 |
+
= 1.2.3 =
|
207 |
+
* Fixed reporting time zone issue when using a numeric GMT offset
|
208 |
+
|
209 |
= 1.2.2 =
|
210 |
* Made some changes to address suppressed PHP notices in PHP 7.1
|
211 |
* Fixed stray string being output in admin in certain situations
|