Commit 74fab0e6 authored by Taddeus Kroes's avatar Taddeus Kroes

Moved analytics code to separate file

parent 16d626cc
<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-13215444-2', 'tkroes.nl');
ga('send', 'pageview');
</script>
......@@ -127,13 +127,6 @@ function getwday($day) {
<script src="channels.js" type="text/javascript"></script>
<script src="guide.js" type="text/javascript"></script>
<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-13215444-2', 'tkroes.nl');
ga('send', 'pageview');
</script>
<?php include_once 'analytics.php'; ?>
</body>
</html>
......@@ -47,13 +47,6 @@ function getwday($day) {
<script src="channels.js" type="text/javascript"></script>
<script src="settings.js" type="text/javascript"></script>
<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-13215444-2', 'tkroes.nl');
ga('send', 'pageview');
</script>
<?php include_once 'analytics.php'; ?>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment