svn commit: r40281 - head/en_US.ISO8859-1/htdocs/layout/js
Eitan Adler
eadler at FreeBSD.org
Thu Dec 6 12:35:54 UTC 2012
Author: eadler
Date: Thu Dec 6 12:35:53 2012
New Revision: 40281
URL: http://svnweb.freebsd.org/changeset/doc/40281
Log:
Anonymize the last octet of the IP address. This is a tradeoff of
privacy vs geo-ip accuracy.
Approved by: bcr, jkois (mentors, implicit)
Modified:
head/en_US.ISO8859-1/htdocs/layout/js/google.js
Modified: head/en_US.ISO8859-1/htdocs/layout/js/google.js
==============================================================================
--- head/en_US.ISO8859-1/htdocs/layout/js/google.js Wed Dec 5 22:44:17 2012 (r40280)
+++ head/en_US.ISO8859-1/htdocs/layout/js/google.js Thu Dec 6 12:35:53 2012 (r40281)
@@ -27,6 +27,8 @@ if (enable_ga && allow_track && fbsdrege
_gaq.push(['_setAccount', 'UA-22767463-1']);
_gaq.push(['_setDomainName', 'freebsd.org']);
_gaq.push(['_setAllowHash', false]);
+ _gaq.push (['_gat._anonymizeIp']);
+
/*
* If we ever want to track sites other than FreeBSD.org,
* uncomment the next line.
More information about the svn-doc-head
mailing list