This commit is contained in:
2026-02-17 14:56:23 +01:00
commit 68f7a95fdf
695 changed files with 154611 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<? if ($GLOBALS["site"]["google_analytics_id"] <> "") { ?>
<script>
let cookie_analytics = Cookies.get('analytics');
if(cookie_analytics == 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','https://www.google-analytics.com/analytics.js','ga'); ga('create', '<?= $GLOBALS["site"]["google_analytics_id"] ?>', 'auto'); ga('set', 'anonymizeIp', true); ga('send', 'pageview');
}
</script>
<? } ?>