Add Plausible analytics to base template

This commit is contained in:
Graham McIntire 2026-04-21 17:30:47 -05:00
parent aed333dbb6
commit 1a9b796140
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -25,6 +25,12 @@
{% endif %}
<link rel="stylesheet" href="{{ get_url(path="style.css") }}">
<link rel="stylesheet" href="{{ get_url(path="overrides.css") }}">
<!-- Privacy-friendly analytics by Plausible -->
<script async src="https://a.w5isp.com/js/pa-1S9-SH5BaakmzQOLB5zQw.js"></script>
<script>
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
plausible.init()
</script>
{% if config.extra.zolanight.google_analytics_id %}
<!-- Delayed Google Analytics loading -->
<script>