flex/templates/partial/plausible.html
Florian Haas d3e29dc951 Add support for Plausible analytics
Introduce a new configuration option, PLAUSIBLE_DOMAIN. If set,
include the Plausible (https://plausible.io) analytics script for that
domain.

Fixes #317.
2022-10-29 17:29:59 +02:00

3 lines
142 B
HTML

{% if PLAUSIBLE_DOMAIN %}
<script defer data-domain="{{ PLAUSIBLE_DOMAIN }}" src="https://plausible.io/js/plausible.js"></script>
{% endif %}