Date: Thu, 17 Jan 2013 03:32:18 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40666 - head/en_US.ISO8859-1/htdocs/layout/js Message-ID: <201301170332.r0H3WIZ5077631@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Thu Jan 17 03:32:17 2013 New Revision: 40666 URL: http://svnweb.freebsd.org/changeset/doc/40666 Log: Permit the "In-Page Analytics" anylitics features to work. These include - the "browser size" tool - the "show hotspots" and "show bubbles" tool Approved by: doceng Hat: webstats 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 Thu Jan 17 02:08:14 2013 (r40665) +++ head/en_US.ISO8859-1/htdocs/layout/js/google.js Thu Jan 17 03:32:17 2013 (r40666) @@ -16,7 +16,7 @@ var h = document.location.host; * Check that the hosting domain is actually a FreeBSD.org domain, so * we don't accidentally obtain data from mirrors. */ -var fbsdregex = /(docs|security|svnweb|wiki|www)\.freebsd\.org/i; +var fbsdregex = /((docs|security|svnweb|wiki|www)\.freebsd\.org|google\.com)/i; if (window.navigator.doNotTrack === "yes") { allow_track = false; @@ -45,6 +45,7 @@ if (enable_ga && allow_track && fbsdrege ga.src = 'https://ssl.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301170332.r0H3WIZ5077631>