Don't load analytics when logged in or preview

This commit is contained in:
Jake Howard 2022-09-06 08:24:54 +01:00
parent 1474131771
commit b95506d711
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -51,7 +51,9 @@
{% block extra_js %}{% endblock %} {% block extra_js %}{% endblock %}
{% if not request.user.is_authenticated or not request.is_preview %}
{% plausible %} {% plausible %}
{% endif %}
</body> </body>
</html> </html>