[Python-checkins] [3.11] Add Plausible for docs metrics (GH-106644) (#106662)

hugovk webhook-mailer at python.org
Tue Jul 11 22:45:27 EDT 2023


https://github.com/python/cpython/commit/81a5bcf7ba14fc1f006968b1c9b5065b70b8229b
commit: 81a5bcf7ba14fc1f006968b1c9b5065b70b8229b
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: hugovk <hugovk at users.noreply.github.com>
date: 2023-07-12T05:45:23+03:00
summary:

[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 at users.noreply.github.com>

files:
M Doc/tools/templates/layout.html

diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index b91f8138553e6..10cb6fd880fa1 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 %}



More information about the Python-checkins mailing list