From d78f59c1c6e80669b465cb7ab7510cc8c0a90d4f Mon Sep 17 00:00:00 2001 From: Danny Berger Date: Thu, 14 Mar 2013 23:14:53 -0600 Subject: [PATCH] google analytics ignore non-dpb587.me hostnames --- _includes/header.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_includes/header.html b/_includes/header.html index 3a2848e..3b91518 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -31,6 +31,7 @@ _gaq.push(['_trackPageview']); (function() { + if ('dpb587.me' != window.location.hostname) return; var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);