diff options
author | Benjamin Franzke <benjaminfranzke@gmail.com> | 2017-07-22 22:52:39 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@gmail.com> | 2017-07-22 22:52:39 +0200 |
commit | b49c67cfc0773b55da71780266d0b0bf497c1749 (patch) | |
tree | c3e1d561fd4d22c7bd35055911c1fbe4bb73efd9 | |
parent | 39bb3911c8469ca00539123663df8ba6a2155dd4 (diff) | |
download | mutti-web-b49c67cfc0773b55da71780266d0b0bf497c1749.tar.gz mutti-web-b49c67cfc0773b55da71780266d0b0bf497c1749.tar.bz2 mutti-web-b49c67cfc0773b55da71780266d0b0bf497c1749.zip |
Define tracking code only once
-rw-r--r-- | xsl/layout.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xsl/layout.xsl b/xsl/layout.xsl index c93057b..efe846c 100644 --- a/xsl/layout.xsl +++ b/xsl/layout.xsl @@ -28,7 +28,7 @@ </meta> </xsl:if> <style><xsl:value-of select="$stylesheet"/></style> - <script>var gap='UA-103015031-1';if(navigator.userAgent.indexOf("Speed Insights")==-1){if(document.cookie.indexOf('ga-disable-'+gap+'=true')>-1)window['ga-disable-'+gap]=true;(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> + <script>var gap='UA-103015031-1';if(navigator.userAgent.indexOf("Speed Insights")==-1){if(document.cookie.indexOf('ga-disable-'+gap+'=true')>-1)window['ga-disable-'+gap]=true;(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',gap,'auto');ga('set','anonymizeIp',true);ga('send','pageview');}</script> </head> <body> <header> |