Merge pull request #77 from ZeusWPI/google-analytics

Added google analytics
This commit is contained in:
lorin 2016-10-07 13:11:35 +02:00 committed by GitHub
commit 7ae5fc8895

View file

@ -34,6 +34,14 @@
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- Google Analytics -->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-25444917-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<%= asset :css, :main %>
<%= content_for(@item, :head) %>