Permalink
Browse files

Add GA back.

  • Loading branch information...
1 parent 93658c4 commit 2ff5ea4c104845903599315d20b307361c1a0bf2 @bjtitus committed Dec 24, 2011
Showing with 10 additions and 2 deletions.
  1. +10 −2 _layouts/default.html
View
@@ -50,7 +50,16 @@
$('#search_results').tapir({'token': '4dc81e9b3f61b01c6b0000df'});
})
.script("{{ site.static_path }}js/script.js")
- .script("http://mint.bjtitus.net/?js");
+ .script("http://mint.bjtitus.net/?js")
+ .script("http://www.google-analytics.com/ga.js")
+ .wait(function(){
+ window.pageTracker = _gat._createTracker("UA-91939-15");
+ window.pageTracker._setDomainName("bjtitus.net");
+ window.pageTracker._trackPageLoadTime();
+ // and other API functions as necessary
+ window.pageTracker._trackPageview();
+ window.pageTracker._trackPageLoadTime();
+ })
</script>
</head>
@@ -104,6 +113,5 @@
s.parentNode.insertBefore(t, s);
})();
</script>
-
</body>
</html>

0 comments on commit 2ff5ea4

Please sign in to comment.