Added google analytics

This commit is contained in:
Feliciaan De Palmenaer 2016-10-06 18:22:34 +02:00
parent 8e94fae354
commit ff7c117974

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) %>