Google Analytics for WordPress by MonsterInsights - Version 2.3

Version Description

Download this release

Release Info

Developer joostdevalk
Plugin Icon 128x128 Google Analytics for WordPress by MonsterInsights
Version 2.3
Comparing to
See all releases

Code changes from version 2.2 to 2.3

Files changed (1) hide show
  1. gapp/googleanalytics.php +4 -4
gapp/googleanalytics.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Analytics for WordPress
4
  Plugin URI: http://www.joostdevalk.nl/wordpress/analytics/
5
  Description: This plugin makes it simple to add Google Analytics with extra search engines and automatic clickout and download tracking to your WordPress blog.
6
  Author: Joost de Valk
7
- Version: 2.2
8
  Author URI: http://www.joostdevalk.nl/
9
  License: GPL
10
 
@@ -138,8 +138,8 @@ if ( ! class_exists( 'GA_Admin' ) ) {
138
  just defined, that is your User Account string
139
  (it's shown in <strong>bold</strong> in the example below).</p>
140
  <tt>&lt;script type="text/javascript"&gt;<br/>
141
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");<br/>
142
- document.write("\&lt;script src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'&gt;\&lt;\/script&gt;" );<br/>
143
  &lt;/script&gt;<br/>
144
  &lt;script type="text/javascript"&gt;<br/>
145
  var pageTracker = _gat._getTracker("<strong><?php echo($mulch);?></strong>");<br/>
@@ -269,7 +269,7 @@ if ( ! class_exists( 'GA_Filter' ) ) {
269
  <!-- Google Analytics for WordPress | http://www.joostdevalk.nl/wordpress/google-analytics/ -->
270
  <script type="text/javascript">
271
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
272
- document.write("\<script src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'>\<\/script>" );
273
  </script>
274
  <script type="text/javascript">
275
  var pageTracker = _gat._getTracker("<?php echo $options["uastring"]; ?>");
4
  Plugin URI: http://www.joostdevalk.nl/wordpress/analytics/
5
  Description: This plugin makes it simple to add Google Analytics with extra search engines and automatic clickout and download tracking to your WordPress blog.
6
  Author: Joost de Valk
7
+ Version: 2.3
8
  Author URI: http://www.joostdevalk.nl/
9
  License: GPL
10
 
138
  just defined, that is your User Account string
139
  (it's shown in <strong>bold</strong> in the example below).</p>
140
  <tt>&lt;script type="text/javascript"&gt;<br/>
141
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
142
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
143
  &lt;/script&gt;<br/>
144
  &lt;script type="text/javascript"&gt;<br/>
145
  var pageTracker = _gat._getTracker("<strong><?php echo($mulch);?></strong>");<br/>
269
  <!-- Google Analytics for WordPress | http://www.joostdevalk.nl/wordpress/google-analytics/ -->
270
  <script type="text/javascript">
271
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
272
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
273
  </script>
274
  <script type="text/javascript">
275
  var pageTracker = _gat._getTracker("<?php echo $options["uastring"]; ?>");