Google Analytics - Version 3.1.4

Version Description

  • Add upgrade vs activate check.
Download this release

Release Info

Developer ShareThis
Plugin Icon wp plugin Google Analytics
Version 3.1.4
Comparing to
See all releases

Code changes from version 3.1.3 to 3.1.4

class/class-ga-admin.php CHANGED
@@ -75,6 +75,7 @@ class Ga_Admin {
75
  add_option( self::GA_WEB_PROPERTY_ID_MANUALLY_VALUE_OPTION_NAME );
76
  add_option( self::GA_DISABLE_ALL_FEATURES );
77
  update_option( self::GA_SHARETHIS_TERMS_OPTION_NAME, true );
 
78
  Ga_Cache::add_cache_options();
79
  }
80
 
@@ -589,7 +590,8 @@ class Ga_Admin {
589
  '
590
  var gaNonce = "' . wp_create_nonce( 'googleanalyticsnonce' ) . '";
591
  var gasiteURL = "' . $domain . '";
592
- var gaAdminEmail = "' . get_option( 'admin_email' ) . '";'
 
593
  );
594
  }
595
 
75
  add_option( self::GA_WEB_PROPERTY_ID_MANUALLY_VALUE_OPTION_NAME );
76
  add_option( self::GA_DISABLE_ALL_FEATURES );
77
  update_option( self::GA_SHARETHIS_TERMS_OPTION_NAME, true );
78
+ update_option( 'googleanalytics_fresh', 'true' );
79
  Ga_Cache::add_cache_options();
80
  }
81
 
590
  '
591
  var gaNonce = "' . wp_create_nonce( 'googleanalyticsnonce' ) . '";
592
  var gasiteURL = "' . $domain . '";
593
+ var gaAdminEmail = "' . get_option( 'admin_email' ) . '";
594
+ var gaFresh = "' . get_option( 'googleanalytics_fresh', 'false' ) . '";'
595
  );
596
  }
597
 
googleanalytics.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: ShareThis Dashboard for Google Analytics
4
  * Plugin URI: http://wordpress.org/extend/plugins/googleanalytics/
5
  * Description: Use Google Analytics on your WordPress site without touching any code, and view visitor reports right in your WordPress admin dashboard!
6
- * Version: 3.1.3
7
  * Author: ShareThis
8
  * Author URI: http://sharethis.com
9
  *
@@ -59,7 +59,7 @@ if ( false === preg_match( '/(\/|\\\)' . GA_NAME . '(\/|\\\)/', realpath( __FILE
59
  die();
60
  }
61
 
62
- const GOOGLEANALYTICS_VERSION = '3.1.3';
63
 
64
  // Requires.
65
  require_once GA_PLUGIN_DIR . '/lib/analytics-admin/vendor/autoload.php';
3
  * Plugin Name: ShareThis Dashboard for Google Analytics
4
  * Plugin URI: http://wordpress.org/extend/plugins/googleanalytics/
5
  * Description: Use Google Analytics on your WordPress site without touching any code, and view visitor reports right in your WordPress admin dashboard!
6
+ * Version: 3.1.4
7
  * Author: ShareThis
8
  * Author URI: http://sharethis.com
9
  *
59
  die();
60
  }
61
 
62
+ const GOOGLEANALYTICS_VERSION = '3.1.4';
63
 
64
  // Requires.
65
  require_once GA_PLUGIN_DIR . '/lib/analytics-admin/vendor/autoload.php';
js/googleanalytics_createprop.js CHANGED
@@ -13,7 +13,8 @@
13
  onboarding_product: 'ga',
14
  domain: gasiteURL,
15
  email: gaAdminEmail,
16
- is_wordpress: true
 
17
  }
18
  );
19
 
13
  onboarding_product: 'ga',
14
  domain: gasiteURL,
15
  email: gaAdminEmail,
16
+ is_wordpress: true,
17
+ net_new: gaFresh,
18
  }
19
  );
20
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: sharethis, scottstorebloom, scottmweaver
3
  Tags: analytics, google analytics, google analytics plugin, google analytics widget, google analytics dashboard
4
  Requires at least: 5.5
5
  Tested up to: 6.1.1
6
- Stable tag: 3.1.3
7
- Version: 3.1.3
8
 
9
  Use Google Analytics on your WordPress site without touching any code, and view visitor reports right in your WordPress admin dashboard!
10
 
@@ -142,6 +142,9 @@ Google has already switched to supporting Google Analytics 4. However, you can s
142
 
143
  == Changelog ==
144
 
 
 
 
145
  = 3.1.3 =
146
  * Test with WordPress 6.1.1.
147
 
3
  Tags: analytics, google analytics, google analytics plugin, google analytics widget, google analytics dashboard
4
  Requires at least: 5.5
5
  Tested up to: 6.1.1
6
+ Stable tag: 3.1.4
7
+ Version: 3.1.4
8
 
9
  Use Google Analytics on your WordPress site without touching any code, and view visitor reports right in your WordPress admin dashboard!
10
 
142
 
143
  == Changelog ==
144
 
145
+ = 3.1.4 =
146
+ * Add upgrade vs activate check.
147
+
148
  = 3.1.3 =
149
  * Test with WordPress 6.1.1.
150