We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83bd827 commit 8058065Copy full SHA for 8058065
readthedocs/templates/base.html
@@ -58,6 +58,11 @@
58
<!-- End Google Analytics -->
59
{% endif %}
60
61
+ {% if request.user.is_authenticated %}
62
+ {# Only tack logged-in users to avoid sending a lot of (maybe unrelevant) traffic #}
63
+ <script defer data-domain="{{ PRODUCTION_DOMAIN }}" src="https://plausible.io/js/script.js"></script>
64
+ {% endif %}
65
+
66
<!-- css -->
67
<link rel="stylesheet" href="{% static 'css/core.css' %}">
68
{% block extra_links %}{% endblock %}
0 commit comments