]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Add Plausible for docs metrics (GH-106644) (#106662)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Jul 2023 02:45:23 +0000 (19:45 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Jul 2023 02:45:23 +0000 (05:45 +0300)
Add Plausible for docs metrics (GH-106644)
(cherry picked from commit e8ab0096a583184fe24dfbc39eff70d270c8e6f4)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/tools/templates/layout.html

index b91f8138553e623073a84e8012a7b3037d4a06fb..10cb6fd880fa1aff9dd0039b2c2c4ce8b9772719 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 %}