apermanentwreck/private-protective-services — Issue #6: Add Google analytics to site
Author: apermanentwreck
Created: 2012-02-21 19:02:34+00:00
State: open
Labels: bug

Using the snippet below, add the analytics to the `<head />` of the document

<script>

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2302474-8']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script');
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);
})();

</script>