Add Google Analytics snippet

This commit is contained in:
Steve Purcell 2013-03-13 20:45:31 +00:00
parent 1e1422bf8e
commit 1fbc89932f

View file

@ -237,5 +237,15 @@
$("table").dataTable({bPaginate: false, bLengthChange: false}); $("table").dataTable({bPaginate: false, bLengthChange: false});
$('div.dataTables_filter input').focus().attr("placeholder", "Enter filter terms"); $('div.dataTables_filter input').focus().attr("placeholder", "Enter filter terms");
</script> </script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-67727-13']);
_gaq.push(['_trackPageview']);
(function() {
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);
})();
</script>
</body> </body>
</html> </html>