From 33a3d293e2c8eb5ecd1fbb2654a9afb05e186e1d Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 12 Feb 2013 17:22:28 +0000 Subject: "Anonymize" IPs in Google Analytics tracker. - removes the last octet of IP addresses, according to docs - follows notice from user in Mageia forum https://forums.mageia.org/en/viewtopic.php?t=4367 - will be deployed on other existing trackers on mageia.org - cf. https://wiki.mageia.org/en/Privacy_policy#Web_sites_analytics --- analytics.php | 1 + 1 file changed, 1 insertion(+) (limited to 'analytics.php') diff --git a/analytics.php b/analytics.php index 81ee4ce38..e5e55bca9 100644 --- a/analytics.php +++ b/analytics.php @@ -3,6 +3,7 @@ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-18603191-1']); _gaq.push(['_setDomainName', '.mageia.org']); + _gaq.push(['_gat._anonymizeIp']); _gaq.push(['_trackPageview']); (function() { -- cgit v1.2.1