website/_includes/google-analytics.html
Jesper Hess bf19af3c3a
Update to latest version of Jekyll base template
Updates to Jekyll 3.4.0. This version does not
include theme files by default so I have included
the files from the "minima" theme to have a starting
point for the site.
2017-02-06 11:51:18 +01:00

12 lines
432 B
HTML

<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', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>