Version Description
Download this release
Release Info
Developer | chriscct7 |
Plugin | Google Analytics Dashboard for WP (GADWP) |
Version | 5.3.9 |
Comparing to | |
See all releases |
Code changes from version 5.3.8 to 5.3.9
- front/js/tracking-analytics-events.js +1 -1
- gadwp.php +2 -2
- readme.txt +6 -5
front/js/tracking-analytics-events.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
"use strict";var gadwpRedirectLink
|
1 |
+
"use strict";var gadwpRedirectLink,gadwpRedirectCalled=!1,gadwpDefaultPrevented=!1;function gadwpRedirect(){gadwpRedirectCalled||(gadwpRedirectCalled=!0,0==gadwpDefaultPrevented?document.location.href=gadwpRedirectLink:gadwpDefaultPrevented=!1)}function gadwp_send_event(t,e,a,n){if(gadwpUAEventsData.options.ga_with_gtag){if("undefined"==typeof gtag)return;n?gadwpUAEventsData.options.event_bouncerate?gtag("event",e,{event_category:t,event_label:a,non_interaction:1,event_callback:gadwpRedirect}):gtag("event",e,{event_category:t,event_label:a,event_callback:gadwpRedirect}):gadwpUAEventsData.options.event_bouncerate?gtag("event",e,{event_category:t,event_label:a,non_interaction:1}):gtag("event",e,{event_category:t,event_label:a})}else{if("undefined"==typeof ga)return;n?gadwpUAEventsData.options.event_bouncerate?ga("send","event",t,e,a,{nonInteraction:1,hitCallback:gadwpRedirect}):ga("send","event",t,e,a,{hitCallback:gadwpRedirect}):gadwpUAEventsData.options.event_bouncerate?ga("send","event",t,e,a,{nonInteraction:1}):ga("send","event",t,e,a)}}jQuery(window).on("load",function(){gadwpUAEventsData.options.event_tracking&&(jQuery("a").filter(function(){if("string"==typeof this.href){var t=new RegExp(".*\\.("+gadwpUAEventsData.options.event_downloads+")(\\?.*)?$");return this.href.match(t)}}).click(function(t){gadwp_send_event(this.getAttribute("data-vars-ga-category")||"download",this.getAttribute("data-vars-ga-action")||"click",this.getAttribute("data-vars-ga-label")||this.href,!1)}),jQuery('a[href^="mailto"]').click(function(t){gadwp_send_event(this.getAttribute("data-vars-ga-category")||"email",this.getAttribute("data-vars-ga-action")||"send",this.getAttribute("data-vars-ga-label")||this.href,!1)}),jQuery('a[href^="tel"]').click(function(t){gadwp_send_event(this.getAttribute("data-vars-ga-category")||"telephone",this.getAttribute("data-vars-ga-action")||"call",this.getAttribute("data-vars-ga-label")||this.href,!1)}),gadwpUAEventsData.options.root_domain&&jQuery('a[href^="http"]').filter(function(){if("string"==typeof this.href)var t=new RegExp(".*\\.("+gadwpUAEventsData.options.event_downloads+")(\\?.*)?$");if(t&&!this.href.match(t)&&-1==this.href.indexOf(gadwpUAEventsData.options.root_domain)&&-1<this.href.indexOf("://"))return this.href}).click(function(t){gadwpRedirectCalled=!1,gadwpRedirectLink=this.href;var e=this.getAttribute("data-vars-ga-category")||"outbound",a=this.getAttribute("data-vars-ga-action")||"click",n=this.getAttribute("data-vars-ga-label")||this.href;if("_blank"!=this.target&&gadwpUAEventsData.options.event_precision?t.isDefaultPrevented()&&(gadwpRedirectCalled=!(gadwpDefaultPrevented=!0)):gadwpDefaultPrevented=!(gadwpRedirectCalled=!0),"_blank"!=this.target&&gadwpUAEventsData.options.event_precision)return gadwp_send_event(e,a,n,!0),setTimeout(gadwpRedirect,gadwpUAEventsData.options.event_timeout),!1;gadwp_send_event(e,a,n,!1)})),gadwpUAEventsData.options.event_affiliates&&gadwpUAEventsData.options.aff_tracking&&jQuery("a").filter(function(){if(""!=gadwpUAEventsData.options.event_affiliates&&"string"==typeof this.href){var t=new RegExp("("+gadwpUAEventsData.options.event_affiliates.replace(/\//g,"/")+")");return this.href.match(t)}}).click(function(t){gadwpRedirectCalled=!1,gadwpRedirectLink=this.href;var e=this.getAttribute("data-vars-ga-category")||"affiliates",a=this.getAttribute("data-vars-ga-action")||"click",n=this.getAttribute("data-vars-ga-label")||this.href;if("_blank"!=this.target&&gadwpUAEventsData.options.event_precision?t.isDefaultPrevented()&&(gadwpRedirectCalled=!(gadwpDefaultPrevented=!0)):gadwpDefaultPrevented=!(gadwpRedirectCalled=!0),"_blank"!=this.target&&gadwpUAEventsData.options.event_precision)return gadwp_send_event(e,a,n,!0),setTimeout(gadwpRedirect,gadwpUAEventsData.options.event_timeout),!1;gadwp_send_event(e,a,n,!1)}),gadwpUAEventsData.options.root_domain&&gadwpUAEventsData.options.hash_tracking&&jQuery("a").filter(function(){if(-1!=this.href.indexOf(gadwpUAEventsData.options.root_domain)||-1==this.href.indexOf("://"))return this.hash}).click(function(t){gadwp_send_event(this.getAttribute("data-vars-ga-category")||"hashmark",this.getAttribute("data-vars-ga-action")||"click",this.getAttribute("data-vars-ga-label")||this.href,!1)}),gadwpUAEventsData.options.event_formsubmit&&jQuery('input[type="submit"], button[type="submit"]').click(function(t){var e=this;gadwp_send_event(e.getAttribute("data-vars-ga-category")||"form",e.getAttribute("data-vars-ga-action")||"submit",e.getAttribute("data-vars-ga-label")||e.name||e.value,!1)}),gadwpUAEventsData.options.ga_pagescrolldepth_tracking&&jQuery.scrollDepth({percentage:!0,userTiming:!1,pixelDepth:!1,gtmOverride:!0,nonInteraction:!0})});
|
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: 5.3.
|
8 |
* Author URI: https://exactmetrics.com
|
9 |
* Text Domain: google-analytics-dashboard-for-wp
|
10 |
* Domain Path: /languages
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) )
|
|
16 |
|
17 |
// Plugin Version
|
18 |
if ( ! defined( 'GADWP_CURRENT_VERSION' ) ) {
|
19 |
-
define( 'GADWP_CURRENT_VERSION', '5.3.
|
20 |
}
|
21 |
|
22 |
if ( ! defined( 'GADWP_ENDPOINT_URL' ) ) {
|
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: 5.3.9
|
8 |
* Author URI: https://exactmetrics.com
|
9 |
* Text Domain: google-analytics-dashboard-for-wp
|
10 |
* Domain Path: /languages
|
16 |
|
17 |
// Plugin Version
|
18 |
if ( ! defined( 'GADWP_CURRENT_VERSION' ) ) {
|
19 |
+
define( 'GADWP_CURRENT_VERSION', '5.3.9' );
|
20 |
}
|
21 |
|
22 |
if ( ! defined( 'GADWP_ENDPOINT_URL' ) ) {
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
=== Google Analytics Dashboard for WP by ExactMetrics (formerly GADWP) ===
|
2 |
Contributors: chriscct7, smub
|
3 |
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.5
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 5.3.
|
8 |
Requires PHP: 5.2.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -164,8 +164,9 @@ Google Analytics Dashboard for WP it's released under the GPLv2, you can use it
|
|
164 |
== Upgrade Notice ==
|
165 |
|
166 |
== Changelog ==
|
167 |
-
|
168 |
-
|
|
|
169 |
|
170 |
= 5.3.8 =
|
171 |
* Enhancements:
|
1 |
+
=== Google Analytics Dashboard for WP by ExactMetrics (formerly GADWP) ===
|
2 |
Contributors: chriscct7, smub
|
3 |
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.5
|
6 |
+
Tested up to: 5.3
|
7 |
+
Stable tag: 5.3.9
|
8 |
Requires PHP: 5.2.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
164 |
== Upgrade Notice ==
|
165 |
|
166 |
== Changelog ==
|
167 |
+
= Bug Fixes =
|
168 |
+
* Enhancements:
|
169 |
+
* Fixes conflict with WordFence
|
170 |
|
171 |
= 5.3.8 =
|
172 |
* Enhancements:
|