From owner-svn-doc-head@FreeBSD.ORG Thu Jan 17 03:32:18 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4E050E8E; Thu, 17 Jan 2013 03:32:18 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 400A273C; Thu, 17 Jan 2013 03:32:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0H3WIiC077632; Thu, 17 Jan 2013 03:32:18 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0H3WIZ5077631; Thu, 17 Jan 2013 03:32:18 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201301170332.r0H3WIZ5077631@svn.freebsd.org> From: Eitan Adler Date: Thu, 17 Jan 2013 03:32:18 +0000 (UTC) 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 X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2013 03:32:18 -0000 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); + })(); }