Version Description
Download this release
Release Info
Developer | joostdevalk |
Plugin | Google Analytics for WordPress by MonsterInsights |
Version | 2.6.2 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.6.2
- googleanalytics.php +18 -3
- 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 |
|
@@ -19,8 +19,7 @@ if ( !defined('WP_CONTENT_DIR') )
|
|
19 |
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
|
20 |
|
21 |
// Guess the location
|
22 |
-
$gapppluginpath =
|
23 |
-
$plugin_url = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__));
|
24 |
|
25 |
$uastring = "UA-00000-0";
|
26 |
|
@@ -41,6 +40,20 @@ if ( ! class_exists( 'GA_Admin' ) ) {
|
|
41 |
|
42 |
function config_page() {
|
43 |
global $dlextensions;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
if ( isset($_POST['submit']) ) {
|
45 |
if (!current_user_can('manage_options')) die(__('You cannot edit the Google Analytics for WordPress options.'));
|
46 |
check_admin_referer('analyticspp-config');
|
@@ -233,6 +246,8 @@ if ( ! class_exists( 'GA_Admin' ) ) {
|
|
233 |
</tr>
|
234 |
</table>
|
235 |
<p style="border:0;" class="submit"><input type="submit" name="submit" value="Update Settings »" /></p>
|
|
|
|
|
236 |
</form>
|
237 |
</div>
|
238 |
<?php
|
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.2
|
8 |
Author URI: http://yoast.com/
|
9 |
License: GPL
|
10 |
|
19 |
define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
|
20 |
|
21 |
// Guess the location
|
22 |
+
$gapppluginpath = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/';
|
|
|
23 |
|
24 |
$uastring = "UA-00000-0";
|
25 |
|
40 |
|
41 |
function config_page() {
|
42 |
global $dlextensions;
|
43 |
+
if ( $_GET['reset'] == "true") {
|
44 |
+
$options['dlextensions'] = 'doc,exe,.js,pdf,ppt,tgz,zip,xls';
|
45 |
+
$options['dlprefix'] = '/downloads';
|
46 |
+
$options['artprefix'] = '/outbound/article';
|
47 |
+
$options['comprefix'] = '/outbound/comment';
|
48 |
+
$options['comautprefix'] = '/outbound/commentauthor';
|
49 |
+
$options['blogrollprefix'] = '/outbound/blogroll';
|
50 |
+
$options['domainorurl'] = 'domain';
|
51 |
+
$options['userv2'] = false;
|
52 |
+
$options['extrase'] = false;
|
53 |
+
$options['imagese'] = false;
|
54 |
+
$options['trackoutbound'] = true;
|
55 |
+
update_option('GoogleAnalyticsPP',$options);
|
56 |
+
}
|
57 |
if ( isset($_POST['submit']) ) {
|
58 |
if (!current_user_can('manage_options')) die(__('You cannot edit the Google Analytics for WordPress options.'));
|
59 |
check_admin_referer('analyticspp-config');
|
246 |
</tr>
|
247 |
</table>
|
248 |
<p style="border:0;" class="submit"><input type="submit" name="submit" value="Update Settings »" /></p>
|
249 |
+
|
250 |
+
<p><a href="?page=googleanalytics.php&reset=true">Reset all settings</a></p>
|
251 |
</form>
|
252 |
</div>
|
253 |
<?php
|
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.2
|
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 |
|