Added swetrix tracker

This commit is contained in:
BlueFox 2025-03-13 19:39:28 +01:00
parent 3162c2177e
commit 1b856cc269
Signed by: BlueFox
GPG Key ID: 327233DA85435270

View File

@ -957,6 +957,27 @@ You should have received a copy of the GNU General Public License along with thi
} else if (isValidIPorFQDN(document.cookie)) setupSite();
} // end of onload function
</script>
<script src="https://swetrix.privacynerd.de/script.js" defer></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
swetrix.init('uuOKxkzPBxlz', {
apiURL: 'https://swetrix.privacynerd.de/api/log',
})
swetrix.trackViews()
swetrix.trackErrors({
sampleRate: 1,
callback: undefined,
})
})
</script>
<noscript>
<img
src="https://swetrix.privacynerd.de/api/log/noscript?pid=uuOKxkzPBxlz"
alt=""
referrerpolicy="no-referrer-when-downgrade"
/>
</noscript>
</body>
</html>