]> git.parisson.com Git - mezzo.git/commitdiff
add analytics
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 10 Apr 2016 19:30:50 +0000 (21:30 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 10 Apr 2016 19:30:50 +0000 (21:30 +0200)
app/templates/base.html

index 7eb87ccde348b597dd0949c11d7da8eab76da74b..a78a96810b8c0eb92d0d0044cbb3956cba7b2d6d 100644 (file)
         </div>
     </footer>
     {% include "includes/footer_scripts.html" %}
+
 </body>
+<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','https://www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-3416995-12', 'auto');
+  ga('send', 'pageview');
+
+</script>
 </html>
+