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 | Google Analytics for WordPress by MonsterInsights |
Version | 6.0.15 |
Comparing to | |
See all releases |
Code changes from version 6.0.14 to 6.0.15
- assets/js/frontend.js +14 -2
- assets/js/frontend.min.js +22 -22
- googleanalytics.php +3 -3
- includes/admin/common.php +12 -3
- includes/frontend/tracking/class-tracking-disabled.php +1 -1
- languages/google-analytics-for-wordpress.pot +39 -33
- readme.txt +7 -2
assets/js/frontend.js
CHANGED
@@ -353,10 +353,15 @@
|
|
353 |
} else {
|
354 |
__gaTracker( 'send', 'event', internal_label, link, el.title, { transport: 'beacon' } );
|
355 |
}
|
|
|
356 |
} else {
|
357 |
console.log( "Not Target | Internal-As-Outbound | Send | event | " + internal_label + " | " + link + " | " + el.title );
|
|
|
358 |
}
|
359 |
};
|
|
|
|
|
|
|
360 |
} else if ( type == 'external' ) {
|
361 |
window.onbeforeunload = function(e) {
|
362 |
if ( ! is_debug_mode ) {
|
@@ -365,21 +370,28 @@
|
|
365 |
} else {
|
366 |
__gaTracker( 'send', 'event', 'outbound-link', link, el.title, { transport: 'beacon' } )
|
367 |
}
|
|
|
368 |
} else {
|
369 |
console.log( "Not Target | External | Send | 'outbound-link' | " + link + " | " + el.title );
|
|
|
370 |
}
|
371 |
};
|
|
|
|
|
|
|
372 |
} else {
|
373 |
if ( is_debug_mode ) {
|
374 |
console.log( "Not Target | " + type + " | " + link + " is not a tracked click." );
|
375 |
}
|
376 |
}
|
377 |
|
378 |
-
if ( ! is_debug_mode ) {
|
379 |
/* Run hitCallback again if GA takes longer than 1 second */
|
380 |
setTimeout( __gaTrackerHitBack, 1000 );
|
381 |
} else {
|
382 |
-
|
|
|
|
|
383 |
}
|
384 |
}
|
385 |
}
|
353 |
} else {
|
354 |
__gaTracker( 'send', 'event', internal_label, link, el.title, { transport: 'beacon' } );
|
355 |
}
|
356 |
+
setTimeout( __gaTrackerHitBack, 1000 );
|
357 |
} else {
|
358 |
console.log( "Not Target | Internal-As-Outbound | Send | event | " + internal_label + " | " + link + " | " + el.title );
|
359 |
+
console.log( "Internal as Outbound: Not redirecting" );
|
360 |
}
|
361 |
};
|
362 |
+
if ( is_debug_mode ) {
|
363 |
+
console.log( "Internal as Outbound: Not redirecting" );
|
364 |
+
}
|
365 |
} else if ( type == 'external' ) {
|
366 |
window.onbeforeunload = function(e) {
|
367 |
if ( ! is_debug_mode ) {
|
370 |
} else {
|
371 |
__gaTracker( 'send', 'event', 'outbound-link', link, el.title, { transport: 'beacon' } )
|
372 |
}
|
373 |
+
setTimeout( __gaTrackerHitBack, 1000 );
|
374 |
} else {
|
375 |
console.log( "Not Target | External | Send | 'outbound-link' | " + link + " | " + el.title );
|
376 |
+
console.log( "External: Redirecting" );
|
377 |
}
|
378 |
};
|
379 |
+
if ( is_debug_mode ) {
|
380 |
+
console.log( "External: Not redirecting" );
|
381 |
+
}
|
382 |
} else {
|
383 |
if ( is_debug_mode ) {
|
384 |
console.log( "Not Target | " + type + " | " + link + " is not a tracked click." );
|
385 |
}
|
386 |
}
|
387 |
|
388 |
+
if ( ! is_debug_mode && ( type != 'external' && type != 'internal-as-outbound' ) ) {
|
389 |
/* Run hitCallback again if GA takes longer than 1 second */
|
390 |
setTimeout( __gaTrackerHitBack, 1000 );
|
391 |
} else {
|
392 |
+
if ( type != 'external' && type != 'internal-as-outbound' ) {
|
393 |
+
window.location.href = link;
|
394 |
+
}
|
395 |
}
|
396 |
}
|
397 |
}
|
assets/js/frontend.min.js
CHANGED
@@ -1,31 +1,31 @@
|
|
1 |
-
(function(){function o(){var t=!1;if(monsterinsights_frontend.is_debug_mode==="true"){t=!0};var e=[],n=[];if(typeof monsterinsights_frontend.download_extensions=="string"){n=monsterinsights_frontend.download_extensions.split(",")};if(typeof monsterinsights_frontend.inbound_paths=="string"){e=monsterinsights_frontend.inbound_paths.split(",")};var o={"is_debug_mode":t,"download_extensions":n,"inbound_paths":e,"home_url":monsterinsights_frontend.home_url,"track_download_as":monsterinsights_frontend.track_download_as,"internal_label":"outbound-link-"+monsterinsights_frontend.internal_label,};return o};function t(e){var s=o(),
|
2 |
-
while(n&&(typeof n.tagName=="undefined"||n.tagName.toLowerCase()!="a"||!n.href)){n=n.parentNode};if(n&&n.href){var t=n.href,
|
3 |
-
else if(e!=0&&e!=(1/0)&&e!=-(1/0)){e=(e>0||-1)*Math.floor(Math.abs(e))}};for(t=e>=0?Math.min(e,o-1):o-Math.abs(e);t>=0;t--){if(t in l&&l[t]===n){return t}};return-1}};function v(e){return e.replace(/^\s+|\s+$/gm,"")};if(
|
4 |
-
else if(m.length>0&&
|
5 |
else if(n.hostname.length>0&&d.length>0&&!n.hostname.endsWith(d)){a="external"}
|
6 |
-
else{var
|
7 |
else{console.log("Target | Download | Send | Pageview | "+t)}}
|
8 |
-
else{if(!
|
9 |
else{console.log("Target | Download | Send | Event | "+t)}}}
|
10 |
-
else if(a=="mailto"){if(!
|
11 |
else{console.log("Target | Mailto | Send | Event | Mailto | "+t)}}
|
12 |
-
else if(a=="internal-as-outbound"){if(!
|
13 |
else{console.log("Target | Internal-As-Outbound | Send | event | "+c+" | "+t+" | "+n.title)}}
|
14 |
-
else if(a=="external"){if(!
|
15 |
else{console.log("Target | External | Send | 'outbound-link' | "+t+" | "+n.title)}}
|
16 |
-
else{if(
|
17 |
-
else{if(!e.defaultPrevented){e.preventDefault?e.preventDefault():e.returnValue=!1};if(a=="download"){if(w=="pageview"){if(!
|
18 |
else{console.log("Not Target | Download | Send | Pageview | "+t)}}
|
19 |
-
else{if(!
|
20 |
else{console.log("Not Target | Download | Send | Event | "+t)}}}
|
21 |
-
else if(a=="mailto"){if(!
|
22 |
else{console.log("Not Target | Mailto | Send | Event | Mailto | "+t)}}
|
23 |
-
else if(a=="internal-as-outbound"){window.onbeforeunload=function(e){if(!
|
24 |
-
else{__gaTracker("send","event",c,t,n.title,{transport:"beacon"})}}
|
25 |
-
else{console.log("Not Target | Internal-As-Outbound | Send | event | "+c+" | "+t+" | "+n.title)}}}
|
26 |
-
else if(a=="external"){window.onbeforeunload=function(e){if(!
|
27 |
-
else{__gaTracker("send","event","outbound-link",t,n.title,{transport:"beacon"})}}
|
28 |
-
else{console.log("Not Target | External | Send | 'outbound-link' | "+t+" | "+n.title)}}}
|
29 |
-
else{if(
|
30 |
-
else{window.location.href=t}}}}
|
31 |
-
else{if(
|
1 |
+
(function(){function o(){var t=!1;if(monsterinsights_frontend.is_debug_mode==="true"){t=!0};var e=[],n=[];if(typeof monsterinsights_frontend.download_extensions=="string"){n=monsterinsights_frontend.download_extensions.split(",")};if(typeof monsterinsights_frontend.inbound_paths=="string"){e=monsterinsights_frontend.inbound_paths.split(",")};var o={"is_debug_mode":t,"download_extensions":n,"inbound_paths":e,"home_url":monsterinsights_frontend.home_url,"track_download_as":monsterinsights_frontend.track_download_as,"internal_label":"outbound-link-"+monsterinsights_frontend.internal_label,};return o};function t(e){var s=o(),l=s.is_debug_mode||window.monsterinsights_debug_mode,n=e.srcElement||e.target;if(l){console.log("__gaTracker.hasOwnProperty(loaded)");console.log(__gaTracker.hasOwnProperty("loaded"));console.log("__gaTracker.loaded");console.log(__gaTracker.loaded);console.log("Event.which: "+e.which);console.log("El: ");console.log(n);console.log("GA Loaded and click: "+!(!__gaTracker.hasOwnProperty("loaded")||__gaTracker.loaded!=!0||(e.which!=1&&e.which!=2&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey)))};if(!__gaTracker.hasOwnProperty("loaded")||__gaTracker.loaded!=!0||(e.which!=1&&e.which!=2&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey)){if(l){console.log("Will track: false")};return}
|
2 |
+
while(n&&(typeof n.tagName=="undefined"||n.tagName.toLowerCase()!="a"||!n.href)){n=n.parentNode};if(n&&n.href){var t=n.href,i=n.href,a="internal",m=s.download_extensions,p=s.inbound_paths,k=s.home_url,w=s.track_download_as,c=s.internal_label;if(l){console.log("Will track: true")};i=i.substring(0,(i.indexOf("#")==-1)?i.length:i.indexOf("#"));i=i.substring(0,(i.indexOf("?")==-1)?i.length:i.indexOf("?"));i=i.substring(i.lastIndexOf("/")+1,i.length);i=i.substring(i.indexOf(".")+1);var d=(function(){var t=0,e=document.domain,o=e.split("."),n="_gd"+(new Date()).getTime();while(t<(o.length-1)&&document.cookie.indexOf(n+"="+n)==-1){e=o.slice(-1-(++t)).join(".");document.cookie=n+"="+n+";domain="+e+";"};document.cookie=n+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+e+";";return e})();if(typeof String.prototype.endsWith!=="function"){String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1}};if(typeof String.prototype.startsWith!=="function"){String.prototype.startsWith=function(e){return this.indexOf(e)===0}};if(typeof Array.prototype.includes!=="function"){Object.defineProperty(Array.prototype,"includes",{value:function(e,i){if(this==null){throw new TypeError("\"this\" is null or not defined")};var l=Object(this),o=l.length>>>0;if(o===0){return!1};var n=i|0,t=Math.max(n>=0?n:o-Math.abs(n),0);while(t<o){if(l[t]===e){return!0};t++};return!1}})};if(typeof Array.prototype.lastIndexOf!=="function"){Array.prototype.lastIndexOf=function(n){"use strict";if(this===void 0||this===null){throw new TypeError()};var e,t,l=Object(this),o=l.length>>>0;if(o===0){return-1};e=o-1;if(arguments.length>1){e=Number(arguments[1]);if(e!=e){e=0}
|
3 |
+
else if(e!=0&&e!=(1/0)&&e!=-(1/0)){e=(e>0||-1)*Math.floor(Math.abs(e))}};for(t=e>=0?Math.min(e,o-1):o-Math.abs(e);t>=0;t--){if(t in l&&l[t]===n){return t}};return-1}};function v(e){return e.replace(/^\s+|\s+$/gm,"")};if(l){console.log("Link: "+t);console.log("Extension: "+i);console.log("Protocol: "+n.protocol);console.log("External: "+(n.hostname.length>0&&d.length>0&&!n.hostname.endsWith(d)));console.log("Current domain: "+d);console.log("Link domain: "+n.hostname)};if(v(n.protocol)=="mailto"||v(n.protocol)=="mailto:"){a="mailto"}
|
4 |
+
else if(m.length>0&&i.length>0&&m.includes(i)){a="download"}
|
5 |
else if(n.hostname.length>0&&d.length>0&&!n.hostname.endsWith(d)){a="external"}
|
6 |
+
else{var g,u,b=n.pathname;for(g=0,u=p.length;g<u;++g){if(b.startsWith(p[g])){a="internal-as-outbound";break}}};if(l){console.log("Type: "+a)};if(a!=="internal"&&!t.match(/^javascript\:/i)){var f=(n.target&&!n.target.match(/^_(self|parent|top)$/i))?n.target:!1;if(e.ctrlKey||e.shiftKey||e.metaKey||e.which==2){f="_blank"};if(l){console.log("Control Key: "+e.ctrlKey);console.log("Shift Key: "+e.shiftKey);console.log("Meta Key: "+e.metaKey);console.log("Which Key: "+e.which);console.log("Target: "+f)};var h=!1,r=function(){if(h){return};h=!0;window.location.href=t};if(f){if(a=="download"){if(w=="pageview"){if(!l){__gaTracker("send","pageview",t)}
|
7 |
else{console.log("Target | Download | Send | Pageview | "+t)}}
|
8 |
+
else{if(!l){__gaTracker("send","event","download",t)}
|
9 |
else{console.log("Target | Download | Send | Event | "+t)}}}
|
10 |
+
else if(a=="mailto"){if(!l){__gaTracker("send","event","mailto",t)}
|
11 |
else{console.log("Target | Mailto | Send | Event | Mailto | "+t)}}
|
12 |
+
else if(a=="internal-as-outbound"){if(!l){__gaTracker("send","event",c,t,n.title)}
|
13 |
else{console.log("Target | Internal-As-Outbound | Send | event | "+c+" | "+t+" | "+n.title)}}
|
14 |
+
else if(a=="external"){if(!l){__gaTracker("send","event","outbound-link",t,n.title)}
|
15 |
else{console.log("Target | External | Send | 'outbound-link' | "+t+" | "+n.title)}}
|
16 |
+
else{if(l){console.log("Target | "+a+" | "+t+" is not a tracked click.")}}}
|
17 |
+
else{if(!e.defaultPrevented){e.preventDefault?e.preventDefault():e.returnValue=!1};if(a=="download"){if(w=="pageview"){if(!l){__gaTracker("send","pageview",t,{"hitCallback":r})}
|
18 |
else{console.log("Not Target | Download | Send | Pageview | "+t)}}
|
19 |
+
else{if(!l){__gaTracker("send","event","download",{"hitCallback":r})}
|
20 |
else{console.log("Not Target | Download | Send | Event | "+t)}}}
|
21 |
+
else if(a=="mailto"){if(!l){__gaTracker("send","event","mailto",t,{"hitCallback":r})}
|
22 |
else{console.log("Not Target | Mailto | Send | Event | Mailto | "+t)}}
|
23 |
+
else if(a=="internal-as-outbound"){window.onbeforeunload=function(e){if(!l){if(!navigator.sendBeacon){__gaTracker("send","event",c,t,n.title,{"hitCallback":r})}
|
24 |
+
else{__gaTracker("send","event",c,t,n.title,{transport:"beacon"})};setTimeout(r,1000)}
|
25 |
+
else{console.log("Not Target | Internal-As-Outbound | Send | event | "+c+" | "+t+" | "+n.title);console.log("Internal as Outbound: Not redirecting")}};if(l){console.log("Internal as Outbound: Not redirecting")}}
|
26 |
+
else if(a=="external"){window.onbeforeunload=function(e){if(!l){if(!navigator.sendBeacon){__gaTracker("send","event","outbound-link",t,n.title,{"hitCallback":r})}
|
27 |
+
else{__gaTracker("send","event","outbound-link",t,n.title,{transport:"beacon"})};setTimeout(r,1000)}
|
28 |
+
else{console.log("Not Target | External | Send | 'outbound-link' | "+t+" | "+n.title);console.log("External: Redirecting")}};if(l){console.log("External: Not redirecting")}}
|
29 |
+
else{if(l){console.log("Not Target | "+a+" | "+t+" is not a tracked click.")}};if(!l&&(a!="external"&&a!="internal-as-outbound")){setTimeout(r,1000)}
|
30 |
+
else{if(a!="external"&&a!="internal-as-outbound"){window.location.href=t}}}}}
|
31 |
+
else{if(l){console.log("Will track: false")}}};var e=window,n="click";e.addEventListener?e.addEventListener("load",function(){document.body.addEventListener(n,t,!1)},!1):e.attachEvent&&e.attachEvent("onload",function(){document.body.attachEvent("on"+n,t)})})();
|
googleanalytics.php
CHANGED
@@ -6,9 +6,9 @@
|
|
6 |
* Author: MonsterInsights
|
7 |
* Author URI: https://www.monsterinsights.com/
|
8 |
*
|
9 |
-
* Version: 6.0.
|
10 |
* Requires at least: 3.9.0
|
11 |
-
* Tested up to: 4.7.
|
12 |
*
|
13 |
* License: GPL v3
|
14 |
*
|
@@ -69,7 +69,7 @@ final class MonsterInsights_Lite {
|
|
69 |
* @access public
|
70 |
* @var string $version Plugin version.
|
71 |
*/
|
72 |
-
public $version = '6.0.
|
73 |
|
74 |
/**
|
75 |
* Plugin file.
|
6 |
* Author: MonsterInsights
|
7 |
* Author URI: https://www.monsterinsights.com/
|
8 |
*
|
9 |
+
* Version: 6.0.15
|
10 |
* Requires at least: 3.9.0
|
11 |
+
* Tested up to: 4.7.4
|
12 |
*
|
13 |
* License: GPL v3
|
14 |
*
|
69 |
* @access public
|
70 |
* @var string $version Plugin version.
|
71 |
*/
|
72 |
+
public $version = '6.0.15';
|
73 |
|
74 |
/**
|
75 |
* Plugin file.
|
includes/admin/common.php
CHANGED
@@ -111,7 +111,16 @@ function monsterinsights_admin_scripts() {
|
|
111 |
if ( ! file_exists( MONSTERINSIGHTS_PLUGIN_DIR . 'assets/js/admin.min.js' ) ) {
|
112 |
$suffix = '';
|
113 |
}
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-admin-script' );
|
116 |
wp_localize_script(
|
117 |
MONSTERINSIGHTS_PLUGIN_SLUG . '-admin-script',
|
@@ -144,7 +153,7 @@ function monsterinsights_admin_scripts() {
|
|
144 |
|
145 |
// See if there's an admin.js file for this plugin version
|
146 |
if ( file_exists( MONSTERINSIGHTS_PLUGIN_DIR . 'pro/assets/js/admin.js' ) ) {
|
147 |
-
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-pro-admin-script', plugins_url( 'pro/assets/js/admin.js', MONSTERINSIGHTS_PLUGIN_FILE ),
|
148 |
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-pro-admin-script' );
|
149 |
wp_localize_script(
|
150 |
MONSTERINSIGHTS_PLUGIN_SLUG . '-pro-admin-script',
|
@@ -154,7 +163,7 @@ function monsterinsights_admin_scripts() {
|
|
154 |
)
|
155 |
);
|
156 |
} else if ( file_exists( MONSTERINSIGHTS_PLUGIN_DIR . 'lite/assets/js/admin.js' ) ) {
|
157 |
-
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-only-admin-script', plugins_url( 'only/assets/js/admin.js', MONSTERINSIGHTS_PLUGIN_FILE ),
|
158 |
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-only-admin-script' );
|
159 |
wp_localize_script(
|
160 |
MONSTERINSIGHTS_PLUGIN_SLUG . '-only-admin-script',
|
111 |
if ( ! file_exists( MONSTERINSIGHTS_PLUGIN_DIR . 'assets/js/admin.min.js' ) ) {
|
112 |
$suffix = '';
|
113 |
}
|
114 |
+
|
115 |
+
$deps = array(
|
116 |
+
'jquery',
|
117 |
+
MONSTERINSIGHTS_PLUGIN_SLUG . '-select300-script',
|
118 |
+
MONSTERINSIGHTS_PLUGIN_SLUG . '-jvectormap-script',
|
119 |
+
MONSTERINSIGHTS_PLUGIN_SLUG . '-chartjs-script',
|
120 |
+
MONSTERINSIGHTS_PLUGIN_SLUG . '-list-script'
|
121 |
+
);
|
122 |
+
|
123 |
+
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-admin-script', plugins_url( 'assets/js/admin' . $suffix . '.js', MONSTERINSIGHTS_PLUGIN_FILE ), $deps, monsterinsights_get_asset_version() );
|
124 |
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-admin-script' );
|
125 |
wp_localize_script(
|
126 |
MONSTERINSIGHTS_PLUGIN_SLUG . '-admin-script',
|
153 |
|
154 |
// See if there's an admin.js file for this plugin version
|
155 |
if ( file_exists( MONSTERINSIGHTS_PLUGIN_DIR . 'pro/assets/js/admin.js' ) ) {
|
156 |
+
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-pro-admin-script', plugins_url( 'pro/assets/js/admin.js', MONSTERINSIGHTS_PLUGIN_FILE ), $deps, monsterinsights_get_asset_version() );
|
157 |
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-pro-admin-script' );
|
158 |
wp_localize_script(
|
159 |
MONSTERINSIGHTS_PLUGIN_SLUG . '-pro-admin-script',
|
163 |
)
|
164 |
);
|
165 |
} else if ( file_exists( MONSTERINSIGHTS_PLUGIN_DIR . 'lite/assets/js/admin.js' ) ) {
|
166 |
+
wp_register_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-only-admin-script', plugins_url( 'only/assets/js/admin.js', MONSTERINSIGHTS_PLUGIN_FILE ), $deps, monsterinsights_get_asset_version() );
|
167 |
wp_enqueue_script( MONSTERINSIGHTS_PLUGIN_SLUG . '-only-admin-script' );
|
168 |
wp_localize_script(
|
169 |
MONSTERINSIGHTS_PLUGIN_SLUG . '-only-admin-script',
|
includes/frontend/tracking/class-tracking-disabled.php
CHANGED
@@ -87,7 +87,7 @@ class MonsterInsights_Tracking_Disabled extends MonsterInsights_Tracking_Abstrac
|
|
87 |
$output = PHP_EOL . '<!-- This site uses the Google Analytics by MonsterInsights plugin v ' . MONSTERINSIGHTS_VERSION .' - https://www.monsterinsights.com/ -->' . PHP_EOL;
|
88 |
|
89 |
if ( current_user_can( 'monsterinsights_save_settings' ) ) {
|
90 |
-
$output .= '<!-- ' . sprintf( esc_html__( '@Webmaster, normally you will find the Google Analytics tracking code here, but you are in the disabled user groups. To change this, navigate to Insights %1$s Settings %
|
91 |
} else {
|
92 |
$output .= '<!-- ' . esc_html__( 'Normally you will find the Google Analytics tracking code here, but the webmaster disabled your user group.', 'google-analytics-for-wordpress' ) . ' -->' . PHP_EOL;
|
93 |
}
|
87 |
$output = PHP_EOL . '<!-- This site uses the Google Analytics by MonsterInsights plugin v ' . MONSTERINSIGHTS_VERSION .' - https://www.monsterinsights.com/ -->' . PHP_EOL;
|
88 |
|
89 |
if ( current_user_can( 'monsterinsights_save_settings' ) ) {
|
90 |
+
$output .= '<!-- ' . sprintf( esc_html__( '@Webmaster, normally you will find the Google Analytics tracking code here, but you are in the disabled user groups. To change this, navigate to Insights %1$s Settings %2$s Ignore Users', 'google-analytics-for-wordpress' ), '->' ) . ' -->' . PHP_EOL;
|
91 |
} else {
|
92 |
$output .= '<!-- ' . esc_html__( 'Normally you will find the Google Analytics tracking code here, but the webmaster disabled your user group.', 'google-analytics-for-wordpress' ) . ' -->' . PHP_EOL;
|
93 |
}
|
languages/google-analytics-for-wordpress.pot
CHANGED
@@ -5,7 +5,7 @@ msgstr ""
|
|
5 |
"Project-Id-Version: MonsterInsights Lite\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/awesomemotive/monsterinsights/"
|
7 |
"issues\n"
|
8 |
-
"POT-Creation-Date: 2017-
|
9 |
"PO-Revision-Date: 2016-07-21 17:01-0400\n"
|
10 |
"Last-Translator: Chris Christoff <support@monsterinsights.com>\n"
|
11 |
"Language-Team: Chris Christoff <support@monsterinsights.com>\n"
|
@@ -141,71 +141,71 @@ msgid ""
|
|
141 |
"the word. Thank you from the MonsterInsights team!"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: includes/admin/common.php:
|
145 |
msgid "Loading..."
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: includes/admin/common.php:
|
149 |
msgid ""
|
150 |
"Warning: You have unsaved setting changes. If you leave the settings page "
|
151 |
"without saving your changes will be lost. Did you still want to leave the "
|
152 |
"page?"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: includes/admin/common.php:
|
156 |
msgid "Status: Active"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: includes/admin/common.php:
|
160 |
msgid "Activate"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: includes/admin/common.php:
|
164 |
msgid "Status: Network Activated"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: includes/admin/common.php:
|
168 |
msgid "Network activate"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: includes/admin/common.php:
|
172 |
msgid "Activating..."
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: includes/admin/common.php:
|
176 |
#: includes/admin/pages/addons.php:467
|
177 |
msgid "Deactivate"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: includes/admin/common.php:
|
181 |
msgid "Network deactivate"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: includes/admin/common.php:
|
185 |
msgid "Deactivating..."
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: includes/admin/common.php:
|
189 |
msgid "Status: Inactive"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: includes/admin/common.php:
|
193 |
msgid "Status: Network inactive"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: includes/admin/common.php:
|
197 |
msgid "Install"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: includes/admin/common.php:
|
201 |
msgid "Installing..."
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: includes/admin/common.php:
|
205 |
msgid "Proceed"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: includes/admin/common.php:
|
209 |
#, php-format
|
210 |
msgid ""
|
211 |
"MonsterInsights has detected that it's files are being blocked. This is "
|
@@ -218,52 +218,58 @@ msgid ""
|
|
218 |
"happy to help diagnose the issue."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: includes/admin/google.php:
|
222 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: includes/admin/google.php:
|
226 |
msgid "Permission Denied"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: includes/admin/google.php:
|
230 |
msgid "Cannot connect to Google"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: includes/admin/google.php:
|
234 |
msgid "No profiles viewable for that account. Please use another account."
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: includes/admin/google.php:
|
238 |
msgid "Bad Google Code. Please try again."
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: includes/admin/google.php:
|
242 |
msgid "Please paste in your Google code."
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: includes/admin/google.php:
|
246 |
msgid "Invalid profile selected."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: includes/admin/google.php:
|
250 |
msgid "Please select a profile."
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: includes/admin/google.php:
|
254 |
msgid "Analytics profile"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: includes/admin/google.php:
|
258 |
msgid "Select a profile"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: includes/admin/google.php:
|
262 |
#, php-format
|
263 |
msgid "Please configure your %1$sGoogle Analytics settings%2$s!"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: includes/admin/google.php:
|
267 |
#, php-format
|
268 |
msgid ""
|
269 |
"It seems the authentication for the plugin has expired or the connection to "
|
@@ -271,7 +277,7 @@ msgid ""
|
|
271 |
"Google Analytics to allow the plugin to fetch data."
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: includes/admin/google.php:
|
275 |
#, php-format
|
276 |
msgid ""
|
277 |
"It seems the authentication for the plugin is missing permissions. Please "
|
@@ -279,7 +285,7 @@ msgid ""
|
|
279 |
"data."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: includes/admin/google.php:
|
283 |
#: includes/admin/pages/reports.php:164
|
284 |
#, php-format
|
285 |
msgid ""
|
@@ -1153,7 +1159,7 @@ msgstr ""
|
|
1153 |
msgid ""
|
1154 |
"@Webmaster, normally you will find the Google Analytics tracking code here, "
|
1155 |
"but you are in the disabled user groups. To change this, navigate to "
|
1156 |
-
"Insights %1$s Settings %
|
1157 |
msgstr ""
|
1158 |
|
1159 |
#: includes/frontend/tracking/class-tracking-disabled.php:92
|
5 |
"Project-Id-Version: MonsterInsights Lite\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/awesomemotive/monsterinsights/"
|
7 |
"issues\n"
|
8 |
+
"POT-Creation-Date: 2017-03-07 01:42-0500\n"
|
9 |
"PO-Revision-Date: 2016-07-21 17:01-0400\n"
|
10 |
"Last-Translator: Chris Christoff <support@monsterinsights.com>\n"
|
11 |
"Language-Team: Chris Christoff <support@monsterinsights.com>\n"
|
141 |
"the word. Thank you from the MonsterInsights team!"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: includes/admin/common.php:131
|
145 |
msgid "Loading..."
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: includes/admin/common.php:132
|
149 |
msgid ""
|
150 |
"Warning: You have unsaved setting changes. If you leave the settings page "
|
151 |
"without saving your changes will be lost. Did you still want to leave the "
|
152 |
"page?"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: includes/admin/common.php:134
|
156 |
msgid "Status: Active"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: includes/admin/common.php:135 includes/admin/pages/addons.php:492
|
160 |
msgid "Activate"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: includes/admin/common.php:136
|
164 |
msgid "Status: Network Activated"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: includes/admin/common.php:137 includes/admin/pages/addons.php:490
|
168 |
msgid "Network activate"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: includes/admin/common.php:139
|
172 |
msgid "Activating..."
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: includes/admin/common.php:140 includes/admin/pages/addons.php:465
|
176 |
#: includes/admin/pages/addons.php:467
|
177 |
msgid "Deactivate"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: includes/admin/common.php:141 includes/admin/pages/addons.php:463
|
181 |
msgid "Network deactivate"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: includes/admin/common.php:143
|
185 |
msgid "Deactivating..."
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: includes/admin/common.php:144
|
189 |
msgid "Status: Inactive"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: includes/admin/common.php:145
|
193 |
msgid "Status: Network inactive"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: includes/admin/common.php:146 includes/admin/pages/addons.php:422
|
197 |
msgid "Install"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: includes/admin/common.php:148
|
201 |
msgid "Installing..."
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: includes/admin/common.php:149
|
205 |
msgid "Proceed"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: includes/admin/common.php:353
|
209 |
#, php-format
|
210 |
msgid ""
|
211 |
"MonsterInsights has detected that it's files are being blocked. This is "
|
218 |
"happy to help diagnose the issue."
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: includes/admin/google.php:316 includes/admin/google.php:361
|
222 |
+
msgid ""
|
223 |
+
"MonsterInsights requires WordPress version 4.6 or newer to use oAuth. Please "
|
224 |
+
"update your WordPress version."
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: includes/admin/google.php:318 includes/admin/google.php:363
|
228 |
+
msgid "Google Analytics had a connection error."
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: includes/admin/google.php:472 includes/admin/google.php:579
|
232 |
msgid "Permission Denied"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: includes/admin/google.php:485
|
236 |
msgid "Cannot connect to Google"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: includes/admin/google.php:511
|
240 |
msgid "No profiles viewable for that account. Please use another account."
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: includes/admin/google.php:518
|
244 |
msgid "Bad Google Code. Please try again."
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: includes/admin/google.php:525
|
248 |
msgid "Please paste in your Google code."
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: includes/admin/google.php:551
|
252 |
msgid "Invalid profile selected."
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: includes/admin/google.php:557
|
256 |
msgid "Please select a profile."
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: includes/admin/google.php:617
|
260 |
msgid "Analytics profile"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: includes/admin/google.php:618
|
264 |
msgid "Select a profile"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: includes/admin/google.php:728
|
268 |
#, php-format
|
269 |
msgid "Please configure your %1$sGoogle Analytics settings%2$s!"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: includes/admin/google.php:741
|
273 |
#, php-format
|
274 |
msgid ""
|
275 |
"It seems the authentication for the plugin has expired or the connection to "
|
277 |
"Google Analytics to allow the plugin to fetch data."
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: includes/admin/google.php:754
|
281 |
#, php-format
|
282 |
msgid ""
|
283 |
"It seems the authentication for the plugin is missing permissions. Please "
|
285 |
"data."
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: includes/admin/google.php:767 includes/admin/pages/dashboard.php:121
|
289 |
#: includes/admin/pages/reports.php:164
|
290 |
#, php-format
|
291 |
msgid ""
|
1159 |
msgid ""
|
1160 |
"@Webmaster, normally you will find the Google Analytics tracking code here, "
|
1161 |
"but you are in the disabled user groups. To change this, navigate to "
|
1162 |
+
"Insights %1$s Settings %2$s Ignore Users"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
#: includes/frontend/tracking/class-tracking-disabled.php:92
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: chriscct7, smub
|
|
3 |
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.7.
|
7 |
-
Stable tag: 6.0.
|
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.
|
@@ -137,6 +137,11 @@ You can also learn about other <a href="http://www.wpbeginner.com/category/plugi
|
|
137 |
|
138 |
== Changelog ==
|
139 |
|
|
|
|
|
|
|
|
|
|
|
140 |
= 6.0.14, March 1, 2017 =
|
141 |
* Tweak: Allow for invalid license to be removed if debug turned on.
|
142 |
* Fixed: Issues with internal links being tracked as internal-as-outbound
|
3 |
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.7.4
|
7 |
+
Stable tag: 6.0.15
|
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.
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= 6.0.15, March 7, 2017 =
|
141 |
+
* Fixed: Issue with translation string numbering in the disabled user group frontend template.
|
142 |
+
* Fixed: Resolved issue that caused issue with lightbox-style redirects.
|
143 |
+
* Fixed: Issue where admin pages had JS issues from mis-ordered JS files.
|
144 |
+
|
145 |
= 6.0.14, March 1, 2017 =
|
146 |
* Tweak: Allow for invalid license to be removed if debug turned on.
|
147 |
* Fixed: Issues with internal links being tracked as internal-as-outbound
|