Google Analytics Dashboard for WP (GADWP) - Version 6.5.1

Version Description

Download this release

Release Info

Developer gripgrip
Plugin Icon 128x128 Google Analytics Dashboard for WP (GADWP)
Version 6.5.1
Comparing to
See all releases

Code changes from version 6.5.0 to 6.5.1

gadwp.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://exactmetrics.com
5
  * Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
6
  * Author: ExactMetrics
7
- * Version: 6.5.0
8
  * Requires at least: 3.8.0
9
  * Requires PHP: 5.2
10
  * Author URI: https://exactmetrics.com
@@ -44,7 +44,7 @@ final class ExactMetrics_Lite {
44
  * @access public
45
  * @var string $version Plugin version.
46
  */
47
- public $version = '6.5.0';
48
 
49
  /**
50
  * Plugin file.
4
  * Plugin URI: https://exactmetrics.com
5
  * Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
6
  * Author: ExactMetrics
7
+ * Version: 6.5.1
8
  * Requires at least: 3.8.0
9
  * Requires PHP: 5.2
10
  * Author URI: https://exactmetrics.com
44
  * @access public
45
  * @var string $version Plugin version.
46
  */
47
+ public $version = '6.5.1';
48
 
49
  /**
50
  * Plugin file.
includes/frontend/tracking/class-tracking-gtag.php CHANGED
@@ -118,7 +118,15 @@ class ExactMetrics_Tracking_Gtag extends ExactMetrics_Tracking_Abstract {
118
 
119
  // Add cross-domain tracking.
120
  if ( is_array( $cross_domains ) && ! empty( $cross_domains ) ) {
121
- $options['linker'] = array( $cross_domains );
 
 
 
 
 
 
 
 
122
  }
123
 
124
  $options = apply_filters( 'exactmetrics_frontend_tracking_options_gtag_before_pageview', $options );
118
 
119
  // Add cross-domain tracking.
120
  if ( is_array( $cross_domains ) && ! empty( $cross_domains ) ) {
121
+ $linker_domains = array();
122
+ foreach ( $cross_domains as $cross_domain ) {
123
+ if ( ! empty( $cross_domain['domain'] ) ) {
124
+ $linker_domains[] = $cross_domain['domain'];
125
+ }
126
+ }
127
+ $options['linker'] = json_encode( array(
128
+ 'domains' => $linker_domains,
129
+ ) );
130
  }
131
 
132
  $options = apply_filters( 'exactmetrics_frontend_tracking_options_gtag_before_pageview', $options );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.wpbeginner.com/wpbeginner-needs-your-help/
4
  Tags: analytics,google analytics,google analytics dashboard,google analytics plugin,google analytics widget,gtag
5
  Requires at least: 3.8.0
6
  Tested up to: 5.6
7
- Stable tag: 6.5.0
8
  Requires PHP: 5.2
9
  License: GPL v3
10
 
@@ -156,6 +156,9 @@ You can translate Google Analytics Dashboard for WP by ExactMetrics on [translat
156
  4. Want more features? <a href="https://www.exactmetrics.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">Purchase ExactMetrics Pro</a>!
157
 
158
  == Changelog ==
 
 
 
159
  = 6.5.0: January 19, 2021 =
160
  - New: We added support for Google’s global site tag (gtag.js) with a seamless upgrade experience for all your existing events or integrations with analytics.js. Upgrading to this version will give you the option to manually opt-in to gtag.js that will become the standard tracking code in a future version.
161
  - Fix: We added an extra check to prevent a potential error on older PHP versions from our Popular Posts feature.
4
  Tags: analytics,google analytics,google analytics dashboard,google analytics plugin,google analytics widget,gtag
5
  Requires at least: 3.8.0
6
  Tested up to: 5.6
7
+ Stable tag: 6.5.1
8
  Requires PHP: 5.2
9
  License: GPL v3
10
 
156
  4. Want more features? <a href="https://www.exactmetrics.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">Purchase ExactMetrics Pro</a>!
157
 
158
  == Changelog ==
159
+ = 6.5.1: January 27, 2021 =
160
+ - Fix: We made an adjustment to fix an issue with the cross-domain tracking for the gtag.js tracking option.
161
+
162
  = 6.5.0: January 19, 2021 =
163
  - New: We added support for Google’s global site tag (gtag.js) with a seamless upgrade experience for all your existing events or integrations with analytics.js. Upgrading to this version will give you the option to manually opt-in to gtag.js that will become the standard tracking code in a future version.
164
  - Fix: We added an extra check to prevent a potential error on older PHP versions from our Popular Posts feature.