forked from deepStateMirrors/tabi
✨ feat(analytics): make Umami DNT behavior configurable (#536)
Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
parent
23a1baf96c
commit
9b115904d7
6 changed files with 16 additions and 4 deletions
|
@ -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" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue