feat(analytics): make Umami DNT behavior configurable

This commit is contained in:
2025-07-12 19:05:59 +07:00
parent 8a6ccebbaa
commit 67cf24cf42
3 changed files with 7 additions and 1 deletions

View File

@@ -25,7 +25,7 @@
data-website-id="{{ analytics_id }}"
src="https://cloud.umami.is/script.js"
{% endif %}
data-do-not-track="true">
{% if config.extra.analytics.do_not_track %}data-do-not-track="true"{% endif %}>
</script>
{% elif analytics_service == "plausible" %}