diff options
author | Romain d'Alverny <rda@mageia.org> | 2013-02-12 17:31:23 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2013-02-12 17:31:23 +0000 |
commit | 0d319590654de9e55d020a68475a5de5656e5d0a (patch) | |
tree | 02ede81a9abf91553928e311fb40202c7c71bd40 /skins | |
parent | 8f61d45405f07901d64055b09b5ce0560b51de2f (diff) | |
download | mediawiki-0d319590654de9e55d020a68475a5de5656e5d0a.tar mediawiki-0d319590654de9e55d020a68475a5de5656e5d0a.tar.gz mediawiki-0d319590654de9e55d020a68475a5de5656e5d0a.tar.bz2 mediawiki-0d319590654de9e55d020a68475a5de5656e5d0a.tar.xz mediawiki-0d319590654de9e55d020a68475a5de5656e5d0a.zip |
"Anonymize" IPs in Google Analytics tracker.
See revision 2056.
Diffstat (limited to 'skins')
-rw-r--r-- | skins/Vector.php | 1 | ||||
-rw-r--r-- | skins/cavendish.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/skins/Vector.php b/skins/Vector.php index ad830a9..07155b4 100644 --- a/skins/Vector.php +++ b/skins/Vector.php @@ -605,6 +605,7 @@ class VectorTemplate extends QuickTemplate { <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(["_setAccount", "UA-18603191-2"]); + _gaq.push(['_gat._anonymizeIp']); _gaq.push(["_trackPageview"]); (function() { diff --git a/skins/cavendish.php b/skins/cavendish.php index a0f2b56..a4362ea 100644 --- a/skins/cavendish.php +++ b/skins/cavendish.php @@ -331,6 +331,7 @@ a:visited { color: #5a3696; } <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-18603191-2']); + _gaq.push(['_gat._anonymizeIp']); _gaq.push(['_trackPageview']); (function() { |