]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add Plausible for docs metrics (#106644)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Wed, 12 Jul 2023 02:35:24 +0000 (05:35 +0300)
committerGitHub <noreply@github.com>
Wed, 12 Jul 2023 02:35:24 +0000 (05:35 +0300)
Doc/tools/templates/layout.html

index 9632ad50a51bf0d647c3f0090a7431aa30765040..18a49271df5f20d9ccbfce0138736683d1b4798e 100644 (file)
@@ -26,6 +26,7 @@
 {% endblock %}
 
 {% block extrahead %}
+    <script defer data-domain="docs.python.org" src="https://plausible.io/js/script.js"></script>
     <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
     {% if builder != "htmlhelp" %}
       {% if pagename == 'whatsnew/changelog' and not embedded %}