Skip to content

Commit

Permalink
Merge branch 'hotfix/analytics'
Browse files Browse the repository at this point in the history
* hotfix/analytics:
  Add Analytics
  • Loading branch information
Gustavo Cunha committed Oct 24, 2014
2 parents 9d3867b + 5888cfe commit ab53708
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/views/layouts/website.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,14 @@
</div>
<!--wrapper end-->
<%= javascript_include_tag 'custom', 'data-turbolinks-track' => true %>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-12085288-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

0 comments on commit ab53708

Please sign in to comment.