Don't load analytics when logged in or preview
This commit is contained in:
parent
1474131771
commit
b95506d711
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@
|
|||
|
||||
{% block extra_js %}{% endblock %}
|
||||
|
||||
{% plausible %}
|
||||
{% if not request.user.is_authenticated or not request.is_preview %}
|
||||
{% plausible %}
|
||||
{% endif %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue