Version Description
= 7.0.0 =
This is a major release. Please back up your site before upgrading.
= 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 | 7.0.8 |
Comparing to | |
See all releases |
Code changes from version 7.0.7 to 7.0.8
- googleanalytics.php +4 -4
- includes/admin/admin.php +11 -11
- includes/admin/common.php +72 -17
- includes/admin/pages/addons.php +1 -1
- includes/admin/pages/network-settings.php +2 -2
- includes/admin/reports/abstract-report.php +6 -6
- includes/admin/review.php +1 -1
- includes/admin/settings/register-settings.php +2 -2
- includes/admin/settings/settings-api.php +1 -1
- includes/admin/settings/tab-general.php +3 -3
- includes/admin/settings/tab-tracking.php +1 -1
- includes/license.php +2 -2
- languages/google-analytics-for-wordpress.pot +5 -5
- readme.txt +4 -1
googleanalytics.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Google Analytics for WordPress by MonsterInsights
|
4 |
-
* Plugin URI: https://www.monsterinsights.com/?utm_source=
|
5 |
* Description: The best Google Analytics plugin for WordPress. See how visitors find and use your website, so you can keep them coming back.
|
6 |
* Author: MonsterInsights
|
7 |
-
* Author URI: https://www.monsterinsights.com
|
8 |
*
|
9 |
-
* Version: 7.0.
|
10 |
* Requires at least: 3.8.0
|
11 |
* Tested up to: 4.9
|
12 |
*
|
@@ -69,7 +69,7 @@ final class MonsterInsights_Lite {
|
|
69 |
* @access public
|
70 |
* @var string $version Plugin version.
|
71 |
*/
|
72 |
-
public $version = '7.0.
|
73 |
|
74 |
/**
|
75 |
* Plugin file.
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Google Analytics for WordPress by MonsterInsights
|
4 |
+
* Plugin URI: https://www.monsterinsights.com/?utm_source=liteplugin&utm_medium=pluginheader&utm_campaign=pluginurl&utm_content=7%2E0%2E0
|
5 |
* Description: The best Google Analytics plugin for WordPress. See how visitors find and use your website, so you can keep them coming back.
|
6 |
* Author: MonsterInsights
|
7 |
+
* Author URI: https://www.monsterinsights.com/?utm_source=liteplugin&utm_medium=pluginheader&utm_campaign=authoruri&utm_content=7%2E0%2E0
|
8 |
*
|
9 |
+
* Version: 7.0.8
|
10 |
* Requires at least: 3.8.0
|
11 |
* Tested up to: 4.9
|
12 |
*
|
69 |
* @access public
|
70 |
* @var string $version Plugin version.
|
71 |
*/
|
72 |
+
public $version = '7.0.8';
|
73 |
|
74 |
/**
|
75 |
* Plugin file.
|
includes/admin/admin.php
CHANGED
@@ -118,22 +118,22 @@ add_filter( 'admin_body_class', 'monsterinsights_add_admin_body_class', 10, 1 );
|
|
118 |
* @return array $links
|
119 |
*/
|
120 |
function monsterinsights_add_action_links( $links ) {
|
121 |
-
$docs = '<a title="' . esc_html__( 'MonsterInsights Knowledge Base', 'google-analytics-for-wordpress' ) . '" href="https://www.monsterinsights.com/docs/">' . esc_html__( 'Documentation', 'google-analytics-for-wordpress' ) . '</a>';
|
122 |
array_unshift( $links, $docs );
|
123 |
|
124 |
// If lite, show a link where they can get pro from
|
125 |
if ( ! monsterinsights_is_pro_version() ) {
|
126 |
-
$get_pro = '<a title="' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) .'" href="https://www.monsterinsights.com/
|
127 |
array_unshift( $links, $get_pro );
|
128 |
-
}
|
129 |
-
|
130 |
// If Lite, support goes to forum. If pro, it goes to our website
|
131 |
if ( monsterinsights_is_pro_version() ) {
|
132 |
-
$support = '<a title="MonsterInsights Pro Support" href="https://www.monsterinsights.com/my-account/support/">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>';
|
133 |
array_unshift( $links, $support );
|
134 |
} else {
|
135 |
-
$support = '<a title="MonsterInsights Lite Support" href="https://
|
136 |
-
array_unshift( $links, $support );
|
137 |
}
|
138 |
|
139 |
$settings_link = '<a href="' . esc_url( admin_url( 'admin.php?page=monsterinsights_settings' ) ) . '">' . esc_html__( 'Settings', 'google-analytics-for-wordpress' ) . '</a>';
|
@@ -291,7 +291,7 @@ function monsterinsights_admin_setup_notices() {
|
|
291 |
$message = '';
|
292 |
if ( MonsterInsights()->license->get_site_license_key() ){
|
293 |
if ( MonsterInsights()->license->site_license_expired() ) {
|
294 |
-
$message = sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="https://www.monsterinsights.com/login/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
295 |
} else if ( MonsterInsights()->license->site_license_disabled() ) {
|
296 |
$message = esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
297 |
} else if ( MonsterInsights()->license->site_license_invalid() ) {
|
@@ -299,7 +299,7 @@ function monsterinsights_admin_setup_notices() {
|
|
299 |
}
|
300 |
} else if ( MonsterInsights()->license->get_network_license_key() ) {
|
301 |
if ( MonsterInsights()->license->network_license_expired() ) {
|
302 |
-
$message = sprintf( esc_html__( 'Your network license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="https://www.monsterinsights.com/login/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
303 |
} else if ( MonsterInsights()->license->network_license_disabled() ) {
|
304 |
$message = esc_html__( 'Your network license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
305 |
} else if ( MonsterInsights()->license->network_license_invalid() ) {
|
@@ -391,7 +391,7 @@ function monsterinsights_admin_setup_notices() {
|
|
391 |
echo '<p>';
|
392 |
echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' );
|
393 |
echo '</p>';
|
394 |
-
echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="
|
395 |
echo '</p>';
|
396 |
echo '</div><div class="monsterinsights-wooedd-upsell-right">';
|
397 |
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
@@ -422,7 +422,7 @@ function monsterinsights_admin_setup_notices() {
|
|
422 |
echo '<p>';
|
423 |
echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' );
|
424 |
echo '</p>';
|
425 |
-
echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="
|
426 |
echo '</p>';
|
427 |
echo '</div><div class="monsterinsights-wooedd-upsell-right">';
|
428 |
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
118 |
* @return array $links
|
119 |
*/
|
120 |
function monsterinsights_add_action_links( $links ) {
|
121 |
+
$docs = '<a title="' . esc_html__( 'MonsterInsights Knowledge Base', 'google-analytics-for-wordpress' ) . '" href="'. monsterinsights_get_url( 'all-plugins', 'kb-link', "https://www.monsterinsights.com/docs/" ) .'"">' . esc_html__( 'Documentation', 'google-analytics-for-wordpress' ) . '</a>';
|
122 |
array_unshift( $links, $docs );
|
123 |
|
124 |
// If lite, show a link where they can get pro from
|
125 |
if ( ! monsterinsights_is_pro_version() ) {
|
126 |
+
$get_pro = '<a title="' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) .'" href="'. monsterinsights_get_upgrade_link( 'all-plugins', 'upgrade-link', "https://www.monsterinsights.com/docs/" ) .'">' . esc_html__( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ) . '</a>';
|
127 |
array_unshift( $links, $get_pro );
|
128 |
+
}
|
129 |
+
|
130 |
// If Lite, support goes to forum. If pro, it goes to our website
|
131 |
if ( monsterinsights_is_pro_version() ) {
|
132 |
+
$support = '<a title="MonsterInsights Pro Support" href="'. monsterinsights_get_url( 'all-plugins', 'pro-support-link', "https://www.monsterinsights.com/my-account/support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>';
|
133 |
array_unshift( $links, $support );
|
134 |
} else {
|
135 |
+
$support = '<a title="MonsterInsights Lite Support" href="'. monsterinsights_get_url( 'all-plugins', 'lite-support-link', "https://www.monsterinsights.com/lite-support/" ) .'">' . esc_html__( 'Support', 'google-analytics-for-wordpress' ) . '</a>';
|
136 |
+
array_unshift( $links, $support );
|
137 |
}
|
138 |
|
139 |
$settings_link = '<a href="' . esc_url( admin_url( 'admin.php?page=monsterinsights_settings' ) ) . '">' . esc_html__( 'Settings', 'google-analytics-for-wordpress' ) . '</a>';
|
291 |
$message = '';
|
292 |
if ( MonsterInsights()->license->get_site_license_key() ){
|
293 |
if ( MonsterInsights()->license->site_license_expired() ) {
|
294 |
+
$message = sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
295 |
} else if ( MonsterInsights()->license->site_license_disabled() ) {
|
296 |
$message = esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
297 |
} else if ( MonsterInsights()->license->site_license_invalid() ) {
|
299 |
}
|
300 |
} else if ( MonsterInsights()->license->get_network_license_key() ) {
|
301 |
if ( MonsterInsights()->license->network_license_expired() ) {
|
302 |
+
$message = sprintf( esc_html__( 'Your network license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'admin-notices', 'expired-license', "https://www.monsterinsights.com/login/" ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
303 |
} else if ( MonsterInsights()->license->network_license_disabled() ) {
|
304 |
$message = esc_html__( 'Your network license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
305 |
} else if ( MonsterInsights()->license->network_license_invalid() ) {
|
391 |
echo '<p>';
|
392 |
echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' );
|
393 |
echo '</p>';
|
394 |
+
echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'woocommerce-upgrade' ) .'">', ' »</a>' );
|
395 |
echo '</p>';
|
396 |
echo '</div><div class="monsterinsights-wooedd-upsell-right">';
|
397 |
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
422 |
echo '<p>';
|
423 |
echo esc_html( 'Start making data-driven decisions to grow your business.', 'google-analytics-for-wordpress' );
|
424 |
echo '</p>';
|
425 |
+
echo sprintf( esc_html__( '%1$sGet MonsterInsights Pro%2$s', 'google-analytics-for-wordpress' ), '<a class="button button-primary button-hero" href="'. monsterinsights_get_upgrade_link( 'admin-notices', 'edd-upgrade' ) .'">', ' »</a>' );
|
426 |
echo '</p>';
|
427 |
echo '</div><div class="monsterinsights-wooedd-upsell-right">';
|
428 |
echo '<img class="monsterinsights-wooedd-upsell-image monsterinsights-wooedd-upsell-image-large" src="' . trailingslashit( MONSTERINSIGHTS_PLUGIN_URL ) . 'assets/images/upsell/woo-edd-upsell.png">';
|
includes/admin/common.php
CHANGED
@@ -274,7 +274,15 @@ function monsterinsights_remove_conflicting_asset_files() {
|
|
274 |
'theme-script-main', // My Listing Theme by 27collective
|
275 |
'selz', // Selz eCommerce
|
276 |
'tie-admin-scripts', // Tie Theme
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
'td-wp-admin-js', // Newspaper by tagDiv
|
|
|
278 |
);
|
279 |
|
280 |
if ( ! empty( $styles ) ) {
|
@@ -449,27 +457,50 @@ add_action('admin_print_scripts', 'hide_non_monsterinsights_warnings');
|
|
449 |
*
|
450 |
* @return string Upgrade link.
|
451 |
*/
|
452 |
-
function monsterinsights_get_upgrade_link() {
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
// as the API will tell us the direct URL to send the user to based on their license key,
|
458 |
-
// so they see pro-rata pricing.
|
459 |
-
return 'https://www.monsterinsights.com/lite/?utm_source=proplugin&utm_medium=link&utm_campaign=WordPress';
|
460 |
}
|
461 |
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
//
|
466 |
-
if ( empty( $shareasale_id ) ) {
|
467 |
-
|
|
|
|
|
|
|
468 |
}
|
|
|
469 |
|
470 |
-
|
471 |
-
//
|
472 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
473 |
}
|
474 |
|
475 |
function monsterinsights_get_shareasale_id() {
|
@@ -486,9 +517,33 @@ function monsterinsights_get_shareasale_id() {
|
|
486 |
|
487 |
// Whether we have an ID or not, filter the ID.
|
488 |
$shareasale_id = apply_filters( 'monsterinsights_shareasale_id', $shareasale_id );
|
|
|
|
|
|
|
489 |
return $shareasale_id;
|
490 |
}
|
491 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
function monsterinsights_settings_ublock_error_js(){
|
493 |
echo "<script type='text/javascript'>\n";
|
494 |
echo "jQuery( document ).ready( function( $ ) {
|
274 |
'theme-script-main', // My Listing Theme by 27collective
|
275 |
'selz', // Selz eCommerce
|
276 |
'tie-admin-scripts', // Tie Theme
|
277 |
+
'blossomthemes-toolkit', // BlossomThemes Toolkit
|
278 |
+
'illdy-widget-upload-image', // Illdy Companion By Colorlib
|
279 |
+
'moment.js', // WooCommerce Table Rate Shipping
|
280 |
+
'default', // Bridge Theme
|
281 |
+
'qode-tax-js', // Bridge Theme
|
282 |
+
'wc_smartship_moment_js', // WooCommerce Posti SmartShip by markup.fi
|
283 |
+
'ecwid-admin-js', // Fixes Conflict for Ecwid Shopping Cart
|
284 |
'td-wp-admin-js', // Newspaper by tagDiv
|
285 |
+
'moment', // Screets Live Chat
|
286 |
);
|
287 |
|
288 |
if ( ! empty( $styles ) ) {
|
457 |
*
|
458 |
* @return string Upgrade link.
|
459 |
*/
|
460 |
+
function monsterinsights_get_upgrade_link( $medium = '', $campaign = '', $url = '' ) {
|
461 |
+
$url = monsterinsights_get_url( $medium, $campaign, $url, false );
|
462 |
+
|
463 |
+
if ( monsterinsights_is_pro_version() ) {
|
464 |
+
return esc_url( $url );
|
|
|
|
|
|
|
465 |
}
|
466 |
|
467 |
+
// Get the ShareASale ID
|
468 |
+
$shareasale_id = monsterinsights_get_shareasale_id();
|
469 |
+
|
470 |
+
// If we have a shareasale ID return the shareasale url
|
471 |
+
if ( ! empty( $shareasale_id ) ) {
|
472 |
+
$shareasale_id = absint( $shareasale_id );
|
473 |
+
return esc_url( monsterinsights_get_shareasale_url( $shareasale_id, $url ) );
|
474 |
+
} else {
|
475 |
+
return esc_url( $url );
|
476 |
}
|
477 |
+
}
|
478 |
|
479 |
+
function monsterinsights_get_url( $medium = '', $campaign = '', $url = '', $escape = true ) {
|
480 |
+
// Setup Campaign variables
|
481 |
+
$source = monsterinsights_is_pro_version() ? 'proplugin' : 'liteplugin';
|
482 |
+
$medium = ! empty( $medium ) ? $medium : 'defaultmedium';
|
483 |
+
$campaign = ! empty( $campaign ) ? $campaign : 'defaultcampaign';
|
484 |
+
$content = MONSTERINSIGHTS_VERSION;
|
485 |
+
$default_url = monsterinsights_is_pro_version() ? '' : 'lite/';
|
486 |
+
$url = ! empty( $url ) ? $url : 'https://www.monsterinsights.com/' . $default_url;
|
487 |
+
|
488 |
+
// Put together redirect URL
|
489 |
+
$url = add_query_arg(
|
490 |
+
array(
|
491 |
+
'utm_source' => $source, // Pro/Lite Plugin
|
492 |
+
'utm_medium' => sanitize_key( $medium ), // Area of MonsterInsights (example Reports)
|
493 |
+
'utm_campaign' => sanitize_key( $campaign ), // Which link (example eCommerce Report)
|
494 |
+
'utm_content' => $content, // Version number of MI
|
495 |
+
),
|
496 |
+
trailingslashit( $url )
|
497 |
+
);
|
498 |
+
|
499 |
+
if ( $escape ) {
|
500 |
+
return esc_url( $url );
|
501 |
+
} else {
|
502 |
+
return $url;
|
503 |
+
}
|
504 |
}
|
505 |
|
506 |
function monsterinsights_get_shareasale_id() {
|
517 |
|
518 |
// Whether we have an ID or not, filter the ID.
|
519 |
$shareasale_id = apply_filters( 'monsterinsights_shareasale_id', $shareasale_id );
|
520 |
+
|
521 |
+
// Ensure it's a number
|
522 |
+
$shareasale_id = absint( $shareasale_id );
|
523 |
return $shareasale_id;
|
524 |
}
|
525 |
|
526 |
+
// Passed in with mandatory default redirect and shareasaleid from monsterinsights_get_upgrade_link
|
527 |
+
function monsterinsights_get_shareasale_url( $shareasale_id, $shareasale_redirect ) {
|
528 |
+
// Check if there's a constant.
|
529 |
+
$custom = false;
|
530 |
+
if ( defined( 'MONSTERINSIGHTS_SHAREASALE_REDIRECT_URL' ) ) {
|
531 |
+
$shareasale_redirect = MONSTERINSIGHTS_SHAREASALE_REDIRECT_URL;
|
532 |
+
$custom = true;
|
533 |
+
}
|
534 |
+
|
535 |
+
// If there's no constant, check if there's an option.
|
536 |
+
if ( empty( $custom ) ) {
|
537 |
+
$shareasale_redirect = get_option( 'monsterinsights_shareasale_redirect_url', '' );
|
538 |
+
$custom = true;
|
539 |
+
}
|
540 |
+
|
541 |
+
// Whether we have an ID or not, filter the ID.
|
542 |
+
$shareasale_redirect = apply_filters( 'monsterinsights_shareasale_redirect_url', $shareasale_redirect, $custom );
|
543 |
+
$shareasale_url = sprintf( 'http://www.shareasale.com/r.cfm?B=971799&U=%s&M=69975&urllink=%s', $shareasale_id, $shareasale_redirect );
|
544 |
+
return $shareasale_url;
|
545 |
+
}
|
546 |
+
|
547 |
function monsterinsights_settings_ublock_error_js(){
|
548 |
echo "<script type='text/javascript'>\n";
|
549 |
echo "jQuery( document ).ready( function( $ ) {
|
includes/admin/pages/addons.php
CHANGED
@@ -345,7 +345,7 @@ function monsterinsights_get_addon_card( $addon, $counter = 0, $is_licensed = fa
|
|
345 |
|
346 |
// Link user to doc to install MI pro to install addons
|
347 |
if ( ! monsterinsights_is_pro_version() && $is_licensed && ! isset( $installed_plugins[ $plugin_basename ] ) ) {
|
348 |
-
$addon->url = 'https://www.monsterinsights.com/docs/install-monsterinsights-pro-to-use-addons
|
349 |
}
|
350 |
|
351 |
// Output the card
|
345 |
|
346 |
// Link user to doc to install MI pro to install addons
|
347 |
if ( ! monsterinsights_is_pro_version() && $is_licensed && ! isset( $installed_plugins[ $plugin_basename ] ) ) {
|
348 |
+
$addon->url = monsterinsights_get_url( 'addons-page', 'install-addons-link', "https://www.monsterinsights.com/docs/install-monsterinsights-pro-to-use-addons" );
|
349 |
}
|
350 |
|
351 |
// Output the card
|
includes/admin/pages/network-settings.php
CHANGED
@@ -157,10 +157,10 @@ function monsterinsights_network_page() {
|
|
157 |
</th>
|
158 |
<td>
|
159 |
<p>
|
160 |
-
<?php echo sprintf( esc_html__( 'Already purchased an upgrade to MonsterInsights Pro? To unlock your Pro features and addons, %sfollow our upgrade guide%s to install MonsterInsights Pro.' ), '<a href="https://www.monsterinsights.com/docs/go-lite-pro
|
161 |
</p>
|
162 |
<p>
|
163 |
-
<?php echo sprintf( esc_html__( "Don't yet have a Pro license? %sVisit our website%s to upgrade and learn more about all the amazing features, expanded report and powerful addons you unlock when you go Pro." ), '<a href="
|
164 |
</p>
|
165 |
</td>
|
166 |
</tr>
|
157 |
</th>
|
158 |
<td>
|
159 |
<p>
|
160 |
+
<?php echo sprintf( esc_html__( 'Already purchased an upgrade to MonsterInsights Pro? To unlock your Pro features and addons, %sfollow our upgrade guide%s to install MonsterInsights Pro.' ), '<a href="'. monsterinsights_get_url( 'network-settings-page', 'go-lite-pro-link', "https://www.monsterinsights.com/docs/go-lite-pro" ) .'">', '</a>' ); ?>
|
161 |
</p>
|
162 |
<p>
|
163 |
+
<?php echo sprintf( esc_html__( "Don't yet have a Pro license? %sVisit our website%s to upgrade and learn more about all the amazing features, expanded report and powerful addons you unlock when you go Pro." ), '<a href="'. monsterinsights_get_upgrade_link( 'network-settings-page', 'upgrade-to-pro-link' ) .'">', '</a>' ); ?>
|
164 |
</p>
|
165 |
</td>
|
166 |
</tr>
|
includes/admin/reports/abstract-report.php
CHANGED
@@ -318,23 +318,23 @@ class MonsterInsights_Report {
|
|
318 |
<p ><?php echo sprintf( esc_html__( "Hey there! It looks like you've got the %s license installed on your site.
|
319 |
That's awesome! %s",'google-analytics-for-wordpress'), $has_level, '<span class="dashicons dashicons-smiley"></span>' ); ?></p>
|
320 |
|
321 |
-
<p><?php echo sprintf( esc_html__( "Do you want to access to %s reporting right now%s in your WordPress Dashboard? That comes with the <strong>%s level%s</strong> of our paid packages. You'll need to upgrade your license to get instant access.",'google-analytics-for-wordpress'), '<strong>' . $this->title, '</strong>','<a href="https://monsterinsights.com/my-account/">' . $this->level,'</a>' ); ?></p>
|
322 |
-
<p><?php echo sprintf( esc_html__( "It's easy! To upgrade, navigate to %sMy Account%s on MonsterInsights.com, go to the licenses tab, and click upgrade. We also have a %sstep by step guide%s with pictures of this process.",'google-analytics-for-wordpress'), '<a href="https://monsterinsights.com/my-account
|
323 |
<p><?php esc_html_e( "If you have any questions, don't hesitate to reach out. We're here to help.", 'google-analytics-for-wordpress');?></p>
|
324 |
<?php } else { ?>
|
325 |
<p><?php echo sprintf( esc_html__( "Hey there! %s It looks like you've got the free version of MonsterInsights installed on your site.
|
326 |
That's awesome!",'google-analytics-for-wordpress'), '<span class="dashicons dashicons-smiley"></span>' ); ?></p>
|
327 |
|
328 |
-
<p><?php echo sprintf( esc_html__( "Do you you want to access to %s reporting right now%s in your WordPress Dashboard? That comes with %s level%s of our paid packages. To get instant access, you'll want to buy a MonsterInsights license, which also gives you access to powerful addons, expanded reporting (including the ability to use custom date ranges), comprehensive tracking features (like UserID tracking) and access to our world-class support team.",'google-analytics-for-wordpress'), '<strong>' . $this->title, '</strong>','<a href="
|
329 |
-
<p><?php echo sprintf( esc_html__( "Upgrading is easy! To upgrade, navigate to %sour pricing page%s, purchase the required license, and then follow the %sinstructions in the email receipt%s to upgrade. It only takes a few minutes to unlock the most powerful, yet easy to use analytics tracking system for WordPress.",'google-analytics-for-wordpress'), '<a href="
|
330 |
<p><?php esc_html_e( "If you have any questions, don't hesitate to reach out. We're here to help.", 'google-analytics-for-wordpress');?></p>
|
331 |
<?php } ?>
|
332 |
</div>
|
333 |
<div class="monsterinsights-upsell-card-action">
|
334 |
<?php if ( monsterinsights_is_pro_version() ) { ?>
|
335 |
-
<a href="
|
336 |
<?php } else { ?>
|
337 |
-
<a href="https://monsterinsights.com/
|
338 |
<?php } ?>
|
339 |
</div>
|
340 |
</div>
|
318 |
<p ><?php echo sprintf( esc_html__( "Hey there! It looks like you've got the %s license installed on your site.
|
319 |
That's awesome! %s",'google-analytics-for-wordpress'), $has_level, '<span class="dashicons dashicons-smiley"></span>' ); ?></p>
|
320 |
|
321 |
+
<p><?php echo sprintf( esc_html__( "Do you want to access to %s reporting right now%s in your WordPress Dashboard? That comes with the <strong>%s level%s</strong> of our paid packages. You'll need to upgrade your license to get instant access.",'google-analytics-for-wordpress'), '<strong>' . $this->title, '</strong>','<a href="'. monsterinsights_get_url( 'reports-page', $this->name . '-report-upsell-license-link', 'https://monsterinsights.com/my-account/' ) .'">' . $this->level,'</a>' ); ?></p>
|
322 |
+
<p><?php echo sprintf( esc_html__( "It's easy! To upgrade, navigate to %sMy Account%s on MonsterInsights.com, go to the licenses tab, and click upgrade. We also have a %sstep by step guide%s with pictures of this process.",'google-analytics-for-wordpress'), '<a href="'. monsterinsights_get_url( 'reports-page', $this->name . '-report-upsell-license-link', 'https://monsterinsights.com/my-account/' ) .'"><strong>','</strong></a>', '<a href="'. monsterinsights_get_url( 'reports-page', $this->name . '-report-upsell-license-link', 'https://www.monsterinsights.com/docs/upgrade-monsterinsights-license/' ) .'" style="text-decoration:underline !important">', '</a>' ); ?></p>
|
323 |
<p><?php esc_html_e( "If you have any questions, don't hesitate to reach out. We're here to help.", 'google-analytics-for-wordpress');?></p>
|
324 |
<?php } else { ?>
|
325 |
<p><?php echo sprintf( esc_html__( "Hey there! %s It looks like you've got the free version of MonsterInsights installed on your site.
|
326 |
That's awesome!",'google-analytics-for-wordpress'), '<span class="dashicons dashicons-smiley"></span>' ); ?></p>
|
327 |
|
328 |
+
<p><?php echo sprintf( esc_html__( "Do you you want to access to %s reporting right now%s in your WordPress Dashboard? That comes with %s level%s of our paid packages. To get instant access, you'll want to buy a MonsterInsights license, which also gives you access to powerful addons, expanded reporting (including the ability to use custom date ranges), comprehensive tracking features (like UserID tracking) and access to our world-class support team.",'google-analytics-for-wordpress'), '<strong>' . $this->title, '</strong>','<a href="'. monsterinsights_get_upgrade_link( 'reports-page', $this->name . '-report-upsell-license-link' ) .'">' . $this->level,'</a>' ); ?></p>
|
329 |
+
<p><?php echo sprintf( esc_html__( "Upgrading is easy! To upgrade, navigate to %sour pricing page%s, purchase the required license, and then follow the %sinstructions in the email receipt%s to upgrade. It only takes a few minutes to unlock the most powerful, yet easy to use analytics tracking system for WordPress.",'google-analytics-for-wordpress'), '<a href="'. monsterinsights_get_upgrade_link( 'reports-page', $this->name . '-report-upsell-license-link' ) .'"><strong>', '</strong></a>','<a style="text-decoration:underline !important" href="'. monsterinsights_get_url( 'reports-page', $this->name . '-report-go-lite-pro-link', 'https://www.monsterinsights.com/docs/go-lite-pro/' ) .'">', '</a>' ); ?></p>
|
330 |
<p><?php esc_html_e( "If you have any questions, don't hesitate to reach out. We're here to help.", 'google-analytics-for-wordpress');?></p>
|
331 |
<?php } ?>
|
332 |
</div>
|
333 |
<div class="monsterinsights-upsell-card-action">
|
334 |
<?php if ( monsterinsights_is_pro_version() ) { ?>
|
335 |
+
<a href="<?php echo monsterinsights_get_upgrade_link( 'reports-page', $this->name . '-report-upsell-license-link' ); ?>" class="monsterinsights-upsell-card-button"><?php esc_html_e( 'Upgrade Now', 'google-analytics-for-wordpress' ); ?></a>
|
336 |
<?php } else { ?>
|
337 |
+
<a href="<?php echo monsterinsights_get_url( 'reports-page', $this->name . '-report-upsell-license-link', 'https://www.monsterinsights.com/docs/upgrade-monsterinsights-license/' ); ?>" class="monsterinsights-upsell-card-button"><?php esc_html_e( 'Get MonsterInsights Pro', 'google-analytics-for-wordpress' ); ?></a>
|
338 |
<?php } ?>
|
339 |
</div>
|
340 |
</div>
|
includes/admin/review.php
CHANGED
@@ -97,7 +97,7 @@ class MonsterInsights_Review {
|
|
97 |
// We have a candidate! Output a review message.
|
98 |
?>
|
99 |
<div class="notice notice-info is-dismissible monsterinsights-review-notice">
|
100 |
-
<p><?php esc_html_e( 'Hey, I noticed you
|
101 |
<p><strong><?php echo wp_kses( __( '~ Syed Balkhi<br>Co-Founder of MonsterInsights', 'google-analytics-for-wordpress' ), array( 'br' => array() ) ); ?></strong></p>
|
102 |
<p>
|
103 |
<a href="https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/?filter=5#new-post" class="monsterinsights-dismiss-review-notice monsterinsights-review-out" target="_blank" rel="noopener noreferrer"><?php esc_html_e( 'Ok, you deserve it', 'google-analytics-for-wordpress' ); ?></a><br>
|
97 |
// We have a candidate! Output a review message.
|
98 |
?>
|
99 |
<div class="notice notice-info is-dismissible monsterinsights-review-notice">
|
100 |
+
<p><?php esc_html_e( 'Hey, I noticed you\'ve been using MonsterInsights for a while - that’s awesome! Could you please do me a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?', 'google-analytics-for-wordpress' ); ?></p>
|
101 |
<p><strong><?php echo wp_kses( __( '~ Syed Balkhi<br>Co-Founder of MonsterInsights', 'google-analytics-for-wordpress' ), array( 'br' => array() ) ); ?></strong></p>
|
102 |
<p>
|
103 |
<a href="https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/?filter=5#new-post" class="monsterinsights-dismiss-review-notice monsterinsights-review-out" target="_blank" rel="noopener noreferrer"><?php esc_html_e( 'Ok, you deserve it', 'google-analytics-for-wordpress' ); ?></a><br>
|
includes/admin/settings/register-settings.php
CHANGED
@@ -181,7 +181,7 @@ function monsterinsights_get_registered_settings() {
|
|
181 |
'demographics' => array(
|
182 |
'id' => 'demographics',
|
183 |
'name' => __( 'Enable Demographics and Interests Reports for Remarketing and Advertising', 'google-analytics-for-wordpress' ),
|
184 |
-
'desc' => sprintf( esc_html__( 'Check this setting to add the Demographics and Remarketing features to your Google Analytics tracking code. Make sure to enable Demographics and Remarketing in your Google Analytics account. We have a guide for how to do that in our %1$sknowledge base%2$s. For more information about Remarketing, we refer you to %3$sGoogle\'s documentation%2$s. Note that usage of this function is affected by privacy and cookie laws around the world. Be sure to follow the laws that affect your target audience.', 'google-analytics-for-wordpress' ), '<a href="https://www.monsterinsights.com/docs/enable-demographics-and-interests-report-in-google-analytics
|
185 |
'</a>','<a href="https://support.google.com/analytics/answer/2444872?hl=' . get_locale() . '" target="_blank" rel="noopener noreferrer" referrer="no-referrer">'
|
186 |
),
|
187 |
'type' => 'checkbox',
|
@@ -189,7 +189,7 @@ function monsterinsights_get_registered_settings() {
|
|
189 |
'anonymize_ips' => array(
|
190 |
'id' => 'anonymize_ips',
|
191 |
'name' => __( 'Anonymize IP addresses?', 'google-analytics-for-wordpress' ),
|
192 |
-
'desc' => sprintf( esc_html__( 'This adds %1$s, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage.', 'google-analytics-for-wordpress' ), '<a href="https://developers.google.com/analytics/devguides/collection/
|
193 |
'type' => 'checkbox',
|
194 |
),
|
195 |
)
|
181 |
'demographics' => array(
|
182 |
'id' => 'demographics',
|
183 |
'name' => __( 'Enable Demographics and Interests Reports for Remarketing and Advertising', 'google-analytics-for-wordpress' ),
|
184 |
+
'desc' => sprintf( esc_html__( 'Check this setting to add the Demographics and Remarketing features to your Google Analytics tracking code. Make sure to enable Demographics and Remarketing in your Google Analytics account. We have a guide for how to do that in our %1$sknowledge base%2$s. For more information about Remarketing, we refer you to %3$sGoogle\'s documentation%2$s. Note that usage of this function is affected by privacy and cookie laws around the world. Be sure to follow the laws that affect your target audience.', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'settings-page', 'demographics-setting-doc-link', 'https://www.monsterinsights.com/docs/enable-demographics-and-interests-report-in-google-analytics/' ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">',
|
185 |
'</a>','<a href="https://support.google.com/analytics/answer/2444872?hl=' . get_locale() . '" target="_blank" rel="noopener noreferrer" referrer="no-referrer">'
|
186 |
),
|
187 |
'type' => 'checkbox',
|
189 |
'anonymize_ips' => array(
|
190 |
'id' => 'anonymize_ips',
|
191 |
'name' => __( 'Anonymize IP addresses?', 'google-analytics-for-wordpress' ),
|
192 |
+
'desc' => sprintf( esc_html__( 'This adds %1$s, telling Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage.', 'google-analytics-for-wordpress' ), '<a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/ip-anonymization" target="_blank" rel="noopener noreferrer" referrer="no-referrer"><code>_anonymizeIp</code></a>' ),
|
193 |
'type' => 'checkbox',
|
194 |
),
|
195 |
)
|
includes/admin/settings/settings-api.php
CHANGED
@@ -904,7 +904,7 @@ function monsterinsights_notice_callback( $args ) {
|
|
904 |
function monsterinsights_upgrade_notice_callback( $args ) {
|
905 |
$html = '<div class="monsterinsights-upsell-box"><h2>' . esc_html( $args['name' ] ) . '</h2>'
|
906 |
. '<p class="monsterinsights-upsell-lite-text">' . $args['desc'] . '</p>'
|
907 |
-
. '<p class="monsterinsights-upsell-button-par"><a href="
|
908 |
. '</div>';
|
909 |
return apply_filters( 'monsterinsights_after_setting_output', $html, $args );
|
910 |
}
|
904 |
function monsterinsights_upgrade_notice_callback( $args ) {
|
905 |
$html = '<div class="monsterinsights-upsell-box"><h2>' . esc_html( $args['name' ] ) . '</h2>'
|
906 |
. '<p class="monsterinsights-upsell-lite-text">' . $args['desc'] . '</p>'
|
907 |
+
. '<p class="monsterinsights-upsell-button-par"><a href="'. monsterinsights_get_upgrade_link( 'settings-page', 'settings-page-upgrade-cta' ) .'" class="monsterinsights-upsell-box-button button button-primary">' . __( 'Click here to Upgrade', 'google-analytics-for-wordpress' ) . '</a></p>'
|
908 |
. '</div>';
|
909 |
return apply_filters( 'monsterinsights_after_setting_output', $html, $args );
|
910 |
}
|
includes/admin/settings/tab-general.php
CHANGED
@@ -123,7 +123,7 @@ function monsterinsights_settings_general_tab() {
|
|
123 |
<?php } else { ?>
|
124 |
<?php wp_nonce_field( 'monsterinsights-google-authenticate-nonce', 'monsterinsights-google-authenticate-nonce' ); ?>
|
125 |
<?php submit_button( esc_html__( 'Authenticate with your Google account', 'google-analytics-for-wordpress' ), 'button-action', 'monsterinsights-google-authenticate-submit', false ); ?>
|
126 |
-
<p class="description"><?php printf( esc_html__( 'Already have a Google Account, but don’t know if you’ve setup Google Analytics? %s Click here to login and find out%s.', 'google-analytics-for-wordpress' ), '<a href="https://www.monsterinsights.com/docs/find-out-if-you-already-have-a-google-analytics-account/?utm_source=monsterinsights-settings
|
127 |
<br />
|
128 |
<?php printf( esc_html__( 'Having issues automatically authenticating? %s Click here to authenticate manually%s.', 'google-analytics-for-wordpress' ), '<a href="javascript:monsterinsights_show_manual()" data-action="show-manual-ua-box">', '</a>' ); ?></p>
|
129 |
<?php } ?>
|
@@ -177,10 +177,10 @@ function monsterinsights_settings_general_tab() {
|
|
177 |
</th>
|
178 |
<td>
|
179 |
<p>
|
180 |
-
<?php echo sprintf( esc_html__( 'Already purchased an upgrade to MonsterInsights Pro? To unlock your Pro features and addons, %sfollow our upgrade guide%s to install MonsterInsights Pro.' ), '<a href="https://www.monsterinsights.com/docs/go-lite-pro
|
181 |
</p>
|
182 |
<p>
|
183 |
-
<?php echo sprintf( esc_html__( "Don't yet have a Pro license? %sVisit our website%s to upgrade and learn more about all the amazing features, expanded report and powerful addons you unlock when you go Pro." ), '<a href="
|
184 |
</p>
|
185 |
</td>
|
186 |
</tr>
|
123 |
<?php } else { ?>
|
124 |
<?php wp_nonce_field( 'monsterinsights-google-authenticate-nonce', 'monsterinsights-google-authenticate-nonce' ); ?>
|
125 |
<?php submit_button( esc_html__( 'Authenticate with your Google account', 'google-analytics-for-wordpress' ), 'button-action', 'monsterinsights-google-authenticate-submit', false ); ?>
|
126 |
+
<p class="description"><?php printf( esc_html__( 'Already have a Google Account, but don’t know if you’ve setup Google Analytics? %s Click here to login and find out%s.', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'settings-page', 'already-have-ga-account-doc-link', 'https://www.monsterinsights.com/docs/find-out-if-you-already-have-a-google-analytics-account/?utm_source=monsterinsights-settings' ) .'">', '</a>' ); ?>
|
127 |
<br />
|
128 |
<?php printf( esc_html__( 'Having issues automatically authenticating? %s Click here to authenticate manually%s.', 'google-analytics-for-wordpress' ), '<a href="javascript:monsterinsights_show_manual()" data-action="show-manual-ua-box">', '</a>' ); ?></p>
|
129 |
<?php } ?>
|
177 |
</th>
|
178 |
<td>
|
179 |
<p>
|
180 |
+
<?php echo sprintf( esc_html__( 'Already purchased an upgrade to MonsterInsights Pro? To unlock your Pro features and addons, %sfollow our upgrade guide%s to install MonsterInsights Pro.' ), '<a href="'. monsterinsights_get_url( 'settings-page', 'general-tab-upgrade-link', 'https://www.monsterinsights.com/docs/go-lite-pro/' ) .'">', '</a>' ); ?>
|
181 |
</p>
|
182 |
<p>
|
183 |
+
<?php echo sprintf( esc_html__( "Don't yet have a Pro license? %sVisit our website%s to upgrade and learn more about all the amazing features, expanded report and powerful addons you unlock when you go Pro." ), '<a href="'. monsterinsights_get_upgrade_link( 'settings-page', 'general-tab-upgrade-link' ) .'">', '</a>' ); ?>
|
184 |
</p>
|
185 |
</td>
|
186 |
</tr>
|
includes/admin/settings/tab-tracking.php
CHANGED
@@ -106,7 +106,7 @@ function monsterinsights_settings_tracking_tab() {
|
|
106 |
<div class="monsterinsights-upsell-under-box">
|
107 |
<h2><?php esc_html_e( "Want even more fine tuned control over your website analytics?", 'google-analytics-for-wordpress' ); ?></h2>
|
108 |
<p class="monsterinsights-upsell-lite-text"><?php esc_html_e( "By upgrading to MonsterInsights Pro, you get access to numerous addons and tools that help you better understand what people are doing on your website, so you can keep doing more of what's working. Some of the features include: Ecommerce tracking, Author tracking, Post Type tracking, Ads tracking, Google AMP tracking, Performance optimization, and so much more!", 'google-analytics-for-wordpress' ); ?></p>
|
109 |
-
<p class="monsterinsights-upsell-button-par"><a href="
|
110 |
<?php } ?>
|
111 |
</form>
|
112 |
</div>
|
106 |
<div class="monsterinsights-upsell-under-box">
|
107 |
<h2><?php esc_html_e( "Want even more fine tuned control over your website analytics?", 'google-analytics-for-wordpress' ); ?></h2>
|
108 |
<p class="monsterinsights-upsell-lite-text"><?php esc_html_e( "By upgrading to MonsterInsights Pro, you get access to numerous addons and tools that help you better understand what people are doing on your website, so you can keep doing more of what's working. Some of the features include: Ecommerce tracking, Author tracking, Post Type tracking, Ads tracking, Google AMP tracking, Performance optimization, and so much more!", 'google-analytics-for-wordpress' ); ?></p>
|
109 |
+
<p class="monsterinsights-upsell-button-par"><a href="<?php echo monsterinsights_get_upgrade_link( 'settings-page', 'settings-page-bottom-cta' );?>" class="button button-primary"><?php esc_html_e( "Click here to Upgrade", 'google-analytics-for-wordpress' ); ?></a></p></div>
|
110 |
<?php } ?>
|
111 |
</form>
|
112 |
</div>
|
includes/license.php
CHANGED
@@ -275,7 +275,7 @@ final class MonsterInsights_License {
|
|
275 |
}
|
276 |
public function get_site_license_error(){
|
277 |
if ( $this->site_license_expired() ) {
|
278 |
-
return sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="https://www.monsterinsights.com/login/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
279 |
} else if ( $this->site_license_disabled() ) {
|
280 |
return esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
281 |
} else if ( $this->site_license_invalid() ) {
|
@@ -286,7 +286,7 @@ final class MonsterInsights_License {
|
|
286 |
|
287 |
public function get_network_license_error(){
|
288 |
if ( $this->site_license_expired() ) {
|
289 |
-
return sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="https://www.monsterinsights.com/login/" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
290 |
} else if ( $this->site_license_disabled() ) {
|
291 |
return esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
292 |
} else if ( $this->site_license_invalid() ) {
|
275 |
}
|
276 |
public function get_site_license_error(){
|
277 |
if ( $this->site_license_expired() ) {
|
278 |
+
return sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'license-error', 'expired-license', 'https://www.monsterinsights.com/login/' ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
279 |
} else if ( $this->site_license_disabled() ) {
|
280 |
return esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
281 |
} else if ( $this->site_license_invalid() ) {
|
286 |
|
287 |
public function get_network_license_error(){
|
288 |
if ( $this->site_license_expired() ) {
|
289 |
+
return sprintf( esc_html__( 'Your license key for MonsterInsights has expired. %1$sPlease click here to renew your license key.%2$s', 'google-analytics-for-wordpress' ), '<a href="'. monsterinsights_get_url( 'license-error', 'expired-license', 'https://www.monsterinsights.com/login/' ) .'" target="_blank" rel="noopener noreferrer" referrer="no-referrer">', '</a>' );
|
290 |
} else if ( $this->site_license_disabled() ) {
|
291 |
return esc_html__( 'Your license key for MonsterInsights has been disabled. Please use a different key.', 'google-analytics-for-wordpress' );
|
292 |
} else if ( $this->site_license_invalid() ) {
|
languages/google-analytics-for-wordpress.pot
CHANGED
@@ -4,7 +4,7 @@ msgstr ""
|
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: MonsterInsights Lite\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/awesomemotive/monsterinsights/issues\n"
|
7 |
-
"POT-Creation-Date: 2018-06-
|
8 |
"PO-Revision-Date: 2016-07-21 17:01-0400\n"
|
9 |
"Last-Translator: Chris Christoff <support@monsterinsights.com>\n"
|
10 |
"Language-Team: Chris Christoff <support@monsterinsights.com>\n"
|
@@ -438,7 +438,7 @@ msgstr ""
|
|
438 |
msgid "Error"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: includes/admin/common.php:
|
442 |
#, php-format
|
443 |
msgid "MonsterInsights has detected that it's files are being blocked. This is usually caused by a adblock browser plugin (particularly uBlock Origin), or a conflicting WordPress theme or plugin. This issue only affects the admin side of MonsterInsights. To solve this, ensure MonsterInsights is whitelisted for your website URL in any adblock browser plugin you use. For step by step directions on how to do this, %1$sclick here%2$s. If this doesn't solve the issue (rare), send us a ticket %3$shere%2$s and we'll be happy to help diagnose the issue."
|
444 |
msgstr ""
|
@@ -1062,7 +1062,7 @@ msgid "Unique"
|
|
1062 |
msgstr ""
|
1063 |
|
1064 |
#: includes/admin/review.php:100
|
1065 |
-
msgid "Hey, I noticed you
|
1066 |
msgstr ""
|
1067 |
|
1068 |
#: includes/admin/review.php:101
|
@@ -2618,7 +2618,7 @@ msgid "Google Analytics for WordPress by MonsterInsights"
|
|
2618 |
msgstr ""
|
2619 |
|
2620 |
#. Plugin URI of the plugin/theme
|
2621 |
-
msgid "https://www.monsterinsights.com/?utm_source=
|
2622 |
msgstr ""
|
2623 |
|
2624 |
#. Description of the plugin/theme
|
@@ -2626,5 +2626,5 @@ msgid "The best Google Analytics plugin for WordPress. See how visitors find and
|
|
2626 |
msgstr ""
|
2627 |
|
2628 |
#. Author URI of the plugin/theme
|
2629 |
-
msgid "https://www.monsterinsights.com
|
2630 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: MonsterInsights Lite\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/awesomemotive/monsterinsights/issues\n"
|
7 |
+
"POT-Creation-Date: 2018-06-19 10:25-0400\n"
|
8 |
"PO-Revision-Date: 2016-07-21 17:01-0400\n"
|
9 |
"Last-Translator: Chris Christoff <support@monsterinsights.com>\n"
|
10 |
"Language-Team: Chris Christoff <support@monsterinsights.com>\n"
|
438 |
msgid "Error"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: includes/admin/common.php:565
|
442 |
#, php-format
|
443 |
msgid "MonsterInsights has detected that it's files are being blocked. This is usually caused by a adblock browser plugin (particularly uBlock Origin), or a conflicting WordPress theme or plugin. This issue only affects the admin side of MonsterInsights. To solve this, ensure MonsterInsights is whitelisted for your website URL in any adblock browser plugin you use. For step by step directions on how to do this, %1$sclick here%2$s. If this doesn't solve the issue (rare), send us a ticket %3$shere%2$s and we'll be happy to help diagnose the issue."
|
444 |
msgstr ""
|
1062 |
msgstr ""
|
1063 |
|
1064 |
#: includes/admin/review.php:100
|
1065 |
+
msgid "Hey, I noticed you've been using MonsterInsights for a while - that’s awesome! Could you please do me a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
#: includes/admin/review.php:101
|
2618 |
msgstr ""
|
2619 |
|
2620 |
#. Plugin URI of the plugin/theme
|
2621 |
+
msgid "https://www.monsterinsights.com/?utm_source=liteplugin&utm_medium=pluginheader&utm_campaign=pluginurl&utm_content=7%2E0%2E0"
|
2622 |
msgstr ""
|
2623 |
|
2624 |
#. Description of the plugin/theme
|
2626 |
msgstr ""
|
2627 |
|
2628 |
#. Author URI of the plugin/theme
|
2629 |
+
msgid "https://www.monsterinsights.com/?utm_source=liteplugin&utm_medium=pluginheader&utm_campaign=authoruri&utm_content=7%2E0%2E0"
|
2630 |
msgstr ""
|
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.8.0
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 7.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.
|
@@ -134,6 +134,9 @@ You can also learn about other <a href="http://www.wpbeginner.com/category/plugi
|
|
134 |
4. Want more features? <a href="https://www.monsterinsights.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">Purchase MonsterInsights Pro</a>!
|
135 |
|
136 |
== Changelog ==
|
|
|
|
|
|
|
137 |
= 7.0.7: June 7, 2018 =
|
138 |
- Tweak: Compatibility with Selz plugin.
|
139 |
- Tweak: Issue where some settings would remain hidden inadvertently.
|
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.8.0
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 7.0.8
|
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.
|
134 |
4. Want more features? <a href="https://www.monsterinsights.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">Purchase MonsterInsights Pro</a>!
|
135 |
|
136 |
== Changelog ==
|
137 |
+
= 7.0.8: June 19, 2018 =
|
138 |
+
- Tweak: Fixes some links to our documentation site.
|
139 |
+
|
140 |
= 7.0.7: June 7, 2018 =
|
141 |
- Tweak: Compatibility with Selz plugin.
|
142 |
- Tweak: Issue where some settings would remain hidden inadvertently.
|