summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-12 02:45:23 (GMT)
committerGitHub <noreply@github.com>2023-07-12 02:45:23 (GMT)
commit81a5bcf7ba14fc1f006968b1c9b5065b70b8229b (patch)
treea7efa10e3021138e18a96fdeeea30bbe96f589e2
parent247f0500b88bb881f563792c7db535e91259b90c (diff)
downloadcpython-81a5bcf7ba14fc1f006968b1c9b5065b70b8229b.zip
cpython-81a5bcf7ba14fc1f006968b1c9b5065b70b8229b.tar.gz
cpython-81a5bcf7ba14fc1f006968b1c9b5065b70b8229b.tar.bz2
[3.11] Add Plausible for docs metrics (GH-106644) (#106662)
Add Plausible for docs metrics (GH-106644) (cherry picked from commit e8ab0096a583184fe24dfbc39eff70d270c8e6f4) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
-rw-r--r--Doc/tools/templates/layout.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index b91f813..10cb6fd 100644
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -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 %}