summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-04-15 22:31:04 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-04-15 22:31:04 +0200
commit16636a29eb55dc5d958feacd2bb7a99cdc1bb884 (patch)
tree566609e2b0497bcfbff0698ef2231374a9091a92
parent450e855db2caa5c8242e697b6f098434dc28860a (diff)
downloadwebsite-16636a29eb55dc5d958feacd2bb7a99cdc1bb884.tar.xz
Add ga
-rw-r--r--src/templates/layout.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/templates/layout.html b/src/templates/layout.html
index 56b9555..35ea3f3 100644
--- a/src/templates/layout.html
+++ b/src/templates/layout.html
@@ -40,5 +40,15 @@
<img src="/~kyrias/resources/glider.png" alt="hacker emblem" />
</a>
</footer>
+
+<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-50812915-2', 'auto');
+ ga('send', 'pageview');
+</script>
</body>
</html>