summaryrefslogtreecommitdiff
path: root/xsl
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@gmail.com>2017-07-22 19:45:06 +0200
committerBenjamin Franzke <benjaminfranzke@gmail.com>2017-07-22 19:45:06 +0200
commit295d232b4470f4597763c11b448ff513b58976e3 (patch)
tree8cdbf03d02e25e31c49a2adcf25f929d1c6dd819 /xsl
parentde6656950adce0da309dc72d8e7a36ce9f585430 (diff)
downloadmutti-web-295d232b4470f4597763c11b448ff513b58976e3.tar.gz
mutti-web-295d232b4470f4597763c11b448ff513b58976e3.tar.bz2
mutti-web-295d232b4470f4597763c11b448ff513b58976e3.zip
Add analytics tracking
Diffstat (limited to 'xsl')
-rw-r--r--xsl/layout.xsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/xsl/layout.xsl b/xsl/layout.xsl
index e58c622..ac742f0 100644
--- a/xsl/layout.xsl
+++ b/xsl/layout.xsl
@@ -87,6 +87,7 @@
<br/>
<a href="imprint{$suffix}">Impressum</a>
</footer>
+ <script>if(navigator.userAgent.indexOf("Speed Insights")==-1){(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-103015031-1','auto');ga('set','anonymizeIp',true);ga('send','pageview');}</script>
</body>
</html>
</xsl:template>