Skip to content

Commit

Permalink
adding google analytics tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
obriencj committed Feb 16, 2014
1 parent 6f56fd5 commit 9e40768
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/_templates/layout.html
@@ -0,0 +1,14 @@
{% extends "!layout.html" %}

{% block footer %}
{{ super() }}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-47351906-2");
pageTracker._trackPageview();
} catch(err) {}</script>
{% endblock %}

0 comments on commit 9e40768

Please sign in to comment.