Version Description
Download this release
Release Info
Developer | joostdevalk |
Plugin | Google Analytics for WordPress by MonsterInsights |
Version | 2.6.4 |
Comparing to | |
See all releases |
Code changes from version 2.6.3 to 2.6.4
- googleanalytics.php +5 -17
- readme.txt +1 -1
googleanalytics.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Analytics for WordPress
|
|
4 |
Plugin URI: http://yoast.com/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.6.
|
8 |
Author URI: http://yoast.com/
|
9 |
License: GPL
|
10 |
|
@@ -117,23 +117,11 @@ if ( ! class_exists( 'GA_Admin' ) ) {
|
|
117 |
Analytics code in your blog, so you don't have to
|
118 |
edit any PHP. If you don't have a Google Analytics
|
119 |
account yet, you can get one at
|
120 |
-
<a href="https://www.google.com/analytics/
|
121 |
|
122 |
<p>In the Google interface, when you "Add Website
|
123 |
-
Profile" you are shown a
|
124 |
-
|
125 |
-
unique string that identifies the website you
|
126 |
-
just defined, that is your User Account string
|
127 |
-
(it's shown in <strong>bold</strong> in the example below).</p>
|
128 |
-
<tt><script type="text/javascript"><br/>
|
129 |
-
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
130 |
-
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
131 |
-
</script><br/>
|
132 |
-
<script type="text/javascript"><br/>
|
133 |
-
var pageTracker = _gat._getTracker("<strong><?php echo($mulch);?></strong>");<br/>
|
134 |
-
pageTracker._initData();<br/>
|
135 |
-
pageTracker._trackPageview();<br/>
|
136 |
-
</script></tt>
|
137 |
<p>Once you have entered your User Account String in
|
138 |
the box above your pages will be trackable by
|
139 |
Google Analytics.</p>
|
@@ -402,7 +390,7 @@ if ( ! class_exists( 'GA_Filter' ) ) {
|
|
402 |
}
|
403 |
|
404 |
function the_content($text) {
|
405 |
-
static $anchorPattern = '/<a (.*?)href="(.*?)\/\/(
|
406 |
$text = preg_replace_callback($anchorPattern,array('GA_Filter','ga_parse_article_link'),$text);
|
407 |
return $text;
|
408 |
}
|
4 |
Plugin URI: http://yoast.com/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.6.4
|
8 |
Author URI: http://yoast.com/
|
9 |
License: GPL
|
10 |
|
117 |
Analytics code in your blog, so you don't have to
|
118 |
edit any PHP. If you don't have a Google Analytics
|
119 |
account yet, you can get one at
|
120 |
+
<a href="https://www.google.com/analytics/">google.com/analyics</a>.</p>
|
121 |
|
122 |
<p>In the Google interface, when you "Add Website
|
123 |
+
Profile" you are shown a Web Property ID, a number that starts with "UA-".
|
124 |
+
Copy paste that into the box above.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
<p>Once you have entered your User Account String in
|
126 |
the box above your pages will be trackable by
|
127 |
Google Analytics.</p>
|
390 |
}
|
391 |
|
392 |
function the_content($text) {
|
393 |
+
static $anchorPattern = '/<a (.*?)href=[\'\"\s](.*?)\/\/([^\"]+?)"(.*?)>(.*?)<\/a>/i';
|
394 |
$text = preg_replace_callback($anchorPattern,array('GA_Filter','ga_parse_article_link'),$text);
|
395 |
return $text;
|
396 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
|
|
4 |
Tags: analytics, google analytics, statistics
|
5 |
Requires at least: 2.2
|
6 |
Tested up to: 2.5.1
|
7 |
-
Stable tag: 2.6.
|
8 |
|
9 |
The Google Analytics for WordPress plugin 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 track AdSense clicks, add extra search engines, track image search queries and it will even work together with Urchin.
|
10 |
|
4 |
Tags: analytics, google analytics, statistics
|
5 |
Requires at least: 2.2
|
6 |
Tested up to: 2.5.1
|
7 |
+
Stable tag: 2.6.4
|
8 |
|
9 |
The Google Analytics for WordPress plugin 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 track AdSense clicks, add extra search engines, track image search queries and it will even work together with Urchin.
|
10 |
|