Anonymize the last octet of the IP address. This is a tradeoff of

privacy vs geo-ip accuracy.

Approved by:	bcr, jkois (mentors, implicit)
This commit is contained in:
Eitan Adler 2012-12-06 12:35:53 +00:00
parent 81a0edde39
commit 4b36ddbfee
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40281

View file

@ -27,6 +27,8 @@ if (enable_ga && allow_track && fbsdregex.test(h)) {
_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.