Skip to content

Commit

Permalink
adding google analytics tracking code
Browse files Browse the repository at this point in the history
  • Loading branch information
retroryan committed Feb 3, 2012
1 parent c0e139c commit 43c5cad
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/views/main.html
Expand Up @@ -38,6 +38,20 @@

#{get 'moreScripts' /}

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28884472-1']);
_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>

</head>

<body>
Expand Down

0 comments on commit 43c5cad

Please sign in to comment.