added google analytics

This commit is contained in:
Dieter Hubau
2015-12-13 20:23:40 +01:00
parent 8dff4eb671
commit e4062a6587
3 changed files with 56 additions and 8 deletions

View File

@@ -38,5 +38,21 @@
<p>&copy; 2015 <a href="mailto:dhubau@gmail.com">Dieter Hubau</a></p>
</footer>
</div>
<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-71328567-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>