replace ackee with umami

This commit is contained in:
Michi 2024-03-09 22:10:01 +01:00
parent 3cf27ae6b3
commit df27f07090

View file

@ -48,7 +48,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script async src="https://data.mchvnh.ch/tracker.js" data-ackee-server="https://data.mchvnh.ch" data-ackee-domain-id="2fa92ac6-891f-43ab-89ea-5da435c777af"></script>
<script defer src="https://data.mchvnh.ch/script.js" data-website-id="9b188ed8-77b0-4238-aef5-c1b3d48106e4"></script>
</head>
<body>
@ -366,7 +366,7 @@
<p>All information without guarantee.</p>
</div>
<p style="display:none;">&#169; 2022</p>
<p style="display:none;">&#169; 2024</p>
</div>
</div>
</div>
@ -393,8 +393,8 @@
window.addEventListener('load', () => {
document.getElementById('scroll-top').style.display = "none";
// check if site is released
var timeToRelease = new Date('August 7, 2022 12:00:00').getTime() - new Date().getTime();
if(timeToRelease > 0 && window.location.hostname == 'michivonah.ch') window.location = "https://michivonah.ch/countdown.html";
//var timeToRelease = new Date('August 7, 2022 12:00:00').getTime() - new Date().getTime();
//if(timeToRelease > 0 && window.location.hostname == 'michivonah.ch') window.location = "https://michivonah.ch/countdown.html";
age(16, 9, 2005);
toggleSocialmedia();
// Check cookie banner