diff options
author | Lukas Schauer | 2020-11-27 15:31:49 +0100 |
---|---|---|
committer | Lukas Schauer | 2020-11-27 15:31:49 +0100 |
commit | eb831e6bbf3294fe49bfb016d49847a342828a0a (patch) | |
tree | 873d0d2b3d83479caf16e0e1e752dc1fa42839b7 | |
parent | c753c539a71eed557313df909175595e8f559157 (diff) |
added google analytics snippet
-rw-r--r-- | template/page.phtml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/template/page.phtml b/template/page.phtml index 64fc79e..141eca9 100644 --- a/template/page.phtml +++ b/template/page.phtml @@ -106,6 +106,18 @@ <? if($page != 'allconferences' && $conference->hasAdditionalHtml()): ?> <?= $conference->getAdditionalHtml() ?> - <? endif ?> + <? endif ?> + +<!-- Google Analytics --> +<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','https://h539o27h2a.analytics.google.com.premiumservices.c3voc.de/analytics.js','ga'); + +ga('create', 'UA-13373-42', 'auto'); +ga('send', 'pageview'); +</script> +<!-- End Google Analytics --> </body> </html> |