Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
[+] google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
alarin committed Jul 30, 2011
1 parent bb9c3fc commit da5b9ef
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions setwithme/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,17 @@

<body class="{% block bodyclass %}{% endblock %}">
{% block body %}{% endblock %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4611627-8']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);

(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>
</html>

0 comments on commit da5b9ef

Please sign in to comment.