Version Description
Download this release
Release Info
Developer | JeromeMeyer62 |
Plugin | Simple Google Analytics |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- class/Output.class.php +5 -5
- readme.txt +4 -2
- simple_google_analytics.php +1 -1
class/Output.class.php
CHANGED
@@ -137,13 +137,13 @@
|
|
137 |
|
138 |
// Ecriture des options
|
139 |
$ret .= '<script type="text/javascript">' . "\n" ;
|
140 |
-
$ret .= 'var _gaq = [' ;
|
141 |
foreach ($options as $key => $value) {
|
142 |
-
$ret .=
|
143 |
-
$ret .= '
|
|
|
|
|
144 |
}
|
145 |
-
$ret = rtrim($ret, ',') ;
|
146 |
-
$ret .= '];' ;
|
147 |
|
148 |
// Code Google
|
149 |
$ret .= '(function() {' . "\n" ;
|
137 |
|
138 |
// Ecriture des options
|
139 |
$ret .= '<script type="text/javascript">' . "\n" ;
|
140 |
+
$ret .= 'var _gaq = _gaq || [];' . "\n" ;
|
141 |
foreach ($options as $key => $value) {
|
142 |
+
$ret .= '_gaq.push([' ;
|
143 |
+
$ret .= is_null($value) ? '\'' . $key . '\'' : '\'' . $key . '\',\'' . $value . '\'' ;
|
144 |
+
$ret .= ']);' ;
|
145 |
+
$ret .= "\n" ;
|
146 |
}
|
|
|
|
|
147 |
|
148 |
// Code Google
|
149 |
$ret .= '(function() {' . "\n" ;
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Tags: google analytics, wordpress statistics, tracking
|
|
5 |
Plugin link: http://www.arobase62.fr/2011/03/23/simple-google-analytics/
|
6 |
Requires at least: 2.6
|
7 |
Tested up to: 3.8
|
8 |
-
Version: 2.2.
|
9 |
-
Stable tag: 2.2.
|
10 |
|
11 |
== Description ==
|
12 |
Simple Google Analytics allows you to easilly add your Google Analytics code on all your pages.
|
@@ -49,6 +49,8 @@ It should work from 2.6 upwards.. Has been tested on all current versions and is
|
|
49 |
1. Screenshot Simple Google Analytics Admin Page
|
50 |
|
51 |
== Changelog ==
|
|
|
|
|
52 |
= version 2.2.0 =
|
53 |
* Add the demographic / interests reports
|
54 |
= version 2.1.0 =
|
5 |
Plugin link: http://www.arobase62.fr/2011/03/23/simple-google-analytics/
|
6 |
Requires at least: 2.6
|
7 |
Tested up to: 3.8
|
8 |
+
Version: 2.2.1
|
9 |
+
Stable tag: 2.2.1
|
10 |
|
11 |
== Description ==
|
12 |
Simple Google Analytics allows you to easilly add your Google Analytics code on all your pages.
|
49 |
1. Screenshot Simple Google Analytics Admin Page
|
50 |
|
51 |
== Changelog ==
|
52 |
+
= version 2.2.1 =
|
53 |
+
* Corrected the analytics code to prevent non-detection from Google
|
54 |
= version 2.2.0 =
|
55 |
* Add the demographic / interests reports
|
56 |
= version 2.1.0 =
|
simple_google_analytics.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Simple Google Analytics
|
4 |
Plugin URI: http://www.arobase62.fr/2011/03/23/simple-google-analytics/
|
5 |
Description: A simple Plugin to add Analytics code on your pages. You simply enter your ID, you choose if you are on a sub-domain and add your domain name.
|
6 |
-
Version: 2.2.
|
7 |
Author: Jerome Meyer
|
8 |
Author URI: http://www.arobase62.fr
|
9 |
*/
|
3 |
Plugin Name: Simple Google Analytics
|
4 |
Plugin URI: http://www.arobase62.fr/2011/03/23/simple-google-analytics/
|
5 |
Description: A simple Plugin to add Analytics code on your pages. You simply enter your ID, you choose if you are on a sub-domain and add your domain name.
|
6 |
+
Version: 2.2.1
|
7 |
Author: Jerome Meyer
|
8 |
Author URI: http://www.arobase62.fr
|
9 |
*/
|