Version Description
Download this release
Release Info
Developer | cavemonkey50 |
Plugin | Google Analyticator |
Version | 6.0.1 |
Comparing to | |
See all releases |
Code changes from version 6.0 to 6.0.1
- google-analyticator.php +3 -3
- readme.txt +4 -1
google-analyticator.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Google Analyticator
|
4 |
-
* Version: 6.0
|
5 |
* Plugin URI: http://ronaldheft.com/code/analyticator/
|
6 |
* Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin visit <a href="options-general.php?page=google-analyticator.php">the settings page</a> and enter your Google Analytics' UID and enable logging.
|
7 |
* Author: Ronald Heft
|
@@ -9,7 +9,7 @@
|
|
9 |
* Text Domain: google-analyticator
|
10 |
*/
|
11 |
|
12 |
-
define('GOOGLE_ANALYTICATOR_VERSION', '6.0');
|
13 |
|
14 |
// Constants for enabled/disabled state
|
15 |
define("ga_enabled", "enabled", true);
|
@@ -787,7 +787,7 @@ function add_google_analytics()
|
|
787 |
|
788 |
# Disable page tracking if admin is logged in
|
789 |
if ( ( get_option(key_ga_admin) == ga_disabled ) && ( current_user_can('level_' . get_option(key_ga_admin_level)) ) )
|
790 |
-
echo " _gaq.push(['_setVar', 'admin]);\n";
|
791 |
|
792 |
# Add any tracking code after the trackPageview
|
793 |
if ( '' != $extra_after )
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Google Analyticator
|
4 |
+
* Version: 6.0.1
|
5 |
* Plugin URI: http://ronaldheft.com/code/analyticator/
|
6 |
* Description: Adds the necessary JavaScript code to enable <a href="http://www.google.com/analytics/">Google's Analytics</a>. After enabling this plugin visit <a href="options-general.php?page=google-analyticator.php">the settings page</a> and enter your Google Analytics' UID and enable logging.
|
7 |
* Author: Ronald Heft
|
9 |
* Text Domain: google-analyticator
|
10 |
*/
|
11 |
|
12 |
+
define('GOOGLE_ANALYTICATOR_VERSION', '6.0.1');
|
13 |
|
14 |
// Constants for enabled/disabled state
|
15 |
define("ga_enabled", "enabled", true);
|
787 |
|
788 |
# Disable page tracking if admin is logged in
|
789 |
if ( ( get_option(key_ga_admin) == ga_disabled ) && ( current_user_can('level_' . get_option(key_ga_admin_level)) ) )
|
790 |
+
echo " _gaq.push(['_setVar', 'admin']);\n";
|
791 |
|
792 |
# Add any tracking code after the trackPageview
|
793 |
if ( '' != $extra_after )
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://ronaldheft.com/code/donate/
|
|
4 |
Tags: stats, statistics, google, analytics, google analytics, tracking, widget
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 2.9
|
7 |
-
Stable tag: 6.0
|
8 |
|
9 |
Adds the necessary JavaScript code to enable Google Analytics. Includes widgets for Analytics data display.
|
10 |
|
@@ -49,6 +49,9 @@ Please visit [Google Analyticator's support forum](http://forums.ronaldheft.com/
|
|
49 |
|
50 |
== Changelog ==
|
51 |
|
|
|
|
|
|
|
52 |
= 6.0 =
|
53 |
* Switches current tracking script (ga.js) to the new awesome async tracking script. In laymen's terms: updates to the latest tracking code, the tracking script will load faster, and tracking will be more reliable. If you use custom tracking code, be sure to migrate that code to the new async tracking methods.
|
54 |
* Removes settings made obsolete due to the new async tracking (footer tracking and http/https).
|
4 |
Tags: stats, statistics, google, analytics, google analytics, tracking, widget
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 2.9
|
7 |
+
Stable tag: 6.0.1
|
8 |
|
9 |
Adds the necessary JavaScript code to enable Google Analytics. Includes widgets for Analytics data display.
|
10 |
|
49 |
|
50 |
== Changelog ==
|
51 |
|
52 |
+
= 6.0.1=
|
53 |
+
* Adds a missing closing quote on setVar - admin. If you use this option, update ASAP to prevent Javascript from breaking.
|
54 |
+
|
55 |
= 6.0 =
|
56 |
* Switches current tracking script (ga.js) to the new awesome async tracking script. In laymen's terms: updates to the latest tracking code, the tracking script will load faster, and tracking will be more reliable. If you use custom tracking code, be sure to migrate that code to the new async tracking methods.
|
57 |
* Removes settings made obsolete due to the new async tracking (footer tracking and http/https).
|