Google Analytics for WordPress by MonsterInsights - Version 1.2.1

Version Description

Download this release

Release Info

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

Code changes from version 1.2 to 1.2.1

Files changed (2) hide show
  1. gapp/googleanalytics.php +5 -5
  2. readme.txt +5 -1
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: 1.2
8
  Author URI: http://www.joostdevalk.nl/
9
  License: GPL
10
 
@@ -267,14 +267,14 @@ if ( ! class_exists( 'GA_Filter' ) ) {
267
  echo("\n\t<!-- Google Analytics for WordPress | http://www.joostdevalk.nl/wordpress/google-analytics/ -->\n");
268
  echo("\t<script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\n");
269
  if ( $options["extrase"] == true ) {
270
- echo("\t<script src=\"".get_bloginfo('url')."/wp-content/plugins/gapp/custom_se.js\" type=\"text/javascript\"></script>\n");
271
  }
272
  if ( $options['imagese'] && $options['yahooreffirst']) {
273
- echo("\t<script src=\"".get_bloginfo('url')."/wp-content/plugins/gapp/track-imagesearch-and-yahoo.js\" type=\"text/javascript\"></script>\n");
274
  } else if ( $options['imagese'] && !$options['yahooreffirst'] ) {
275
- echo("\t<script src=\"".get_bloginfo('url')."/wp-content/plugins/gapp/track-imagesearch.js\" type=\"text/javascript\"></script>\n");
276
  } else if ( !$options['imagese'] && $options['yahooreffirst'] ) {
277
- echo("\t<script src=\"".get_bloginfo('url')."/wp-content/plugins/gapp/track-yahoo.js\" type=\"text/javascript\"></script>\n");
278
  }
279
  echo("\t<script type=\"text/javascript\">\n");
280
  echo("\t\t_uacct = \"".$options["uastring"]."\";\n");
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: 1.2.1
8
  Author URI: http://www.joostdevalk.nl/
9
  License: GPL
10
 
267
  echo("\n\t<!-- Google Analytics for WordPress | http://www.joostdevalk.nl/wordpress/google-analytics/ -->\n");
268
  echo("\t<script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\n");
269
  if ( $options["extrase"] == true ) {
270
+ echo("\t<script src=\"".get_bloginfo('wpurl')."/wp-content/plugins/gapp/custom_se.js\" type=\"text/javascript\"></script>\n");
271
  }
272
  if ( $options['imagese'] && $options['yahooreffirst']) {
273
+ echo("\t<script src=\"".get_bloginfo('wpurl')."/wp-content/plugins/gapp/track-imagesearch-and-yahoo.js\" type=\"text/javascript\"></script>\n");
274
  } else if ( $options['imagese'] && !$options['yahooreffirst'] ) {
275
+ echo("\t<script src=\"".get_bloginfo('wpurl')."/wp-content/plugins/gapp/track-imagesearch.js\" type=\"text/javascript\"></script>\n");
276
  } else if ( !$options['imagese'] && $options['yahooreffirst'] ) {
277
+ echo("\t<script src=\"".get_bloginfo('wpurl')."/wp-content/plugins/gapp/track-yahoo.js\" type=\"text/javascript\"></script>\n");
278
  }
279
  echo("\t<script type=\"text/javascript\">\n");
280
  echo("\t\t_uacct = \"".$options["uastring"]."\";\n");
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.joostdevalk.nl/donate/
4
  Tags: analytics, google analytics, statistics
5
  Requires at least: 2.2
6
  Tested up to: 2.3
7
- Stable tag: 1.2
8
 
9
  The Google Analytics for WordPress plugina automatically tracks and segments all outbound links from within posts, comment author links, links within comments, blogroll links and downloads. It also allows you to add extra search engines, track image search queries and it will even work together with Urchin.
10
 
@@ -60,6 +60,10 @@ Create a <a href="http://www.joostdevalk.nl/wordpress/google-analytics/creating-
60
  1. Screenshot of the configuration panel for this plugin.
61
  2. Example of the exclude filter in Google Analytics.
62
 
 
 
 
 
63
  == More info ==
64
 
65
  * For more info, version history, etc. check out the page on my site about the [Google Analytics for WordPress plugin](http://www.joostdevalk.nl/wordpress/google-analytics/).
4
  Tags: analytics, google analytics, statistics
5
  Requires at least: 2.2
6
  Tested up to: 2.3
7
+ Stable tag: 1.2.1
8
 
9
  The Google Analytics for WordPress plugina automatically tracks and segments all outbound links from within posts, comment author links, links within comments, blogroll links and downloads. It also allows you to add extra search engines, track image search queries and it will even work together with Urchin.
10
 
60
  1. Screenshot of the configuration panel for this plugin.
61
  2. Example of the exclude filter in Google Analytics.
62
 
63
+ == Changelog ==
64
+
65
+ 1.2.1: Fixed bug where plugin wouldn't work if WordPress URL was not blog URL.
66
+
67
  == More info ==
68
 
69
  * For more info, version history, etc. check out the page on my site about the [Google Analytics for WordPress plugin](http://www.joostdevalk.nl/wordpress/google-analytics/).