diff --git a/templates/partials/analytics.html b/templates/partials/analytics.html
index db84300..398287e 100644
--- a/templates/partials/analytics.html
+++ b/templates/partials/analytics.html
@@ -3,6 +3,8 @@
{% set self_hosted_url = config.extra.analytics.self_hosted_url | default(value="") %}
{% if analytics_service == "goatcounter" %}
+ {# Prevent non-demo sites from using the demo analytics account #}
+ {% if self_hosted_url == "https://tabi-stats.osc.garden" and config.base_url == "https://welpo.github.io/tabi" or self_hosted_url != "https://tabi-stats.osc.garden" %}
+ {% endif %}
{% elif analytics_service == "umami" %}