https://github.com/python/cpython/commit/5c47d72c9b28a5112c224174a4e1c073c269a6bd
commit: 5c47d72c9b28a5112c224174a4e1c073c269a6bd
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-09-02T23:00:02+03:00
summary:

[3.14] Doc: Track file downloads via plausible (GH-138393) (#138396)

Co-authored-by: Jacob Coffee <[email protected]>
Co-authored-by: Adam Turner <[email protected]>

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

diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index 1cb0200822d9fe..54c6eb9b5ef7e4 100644
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -28,7 +28,7 @@
 {% block extrahead %}
     {% if builder == "html" %}
       {% if enable_analytics %}
-      <script defer data-domain="docs.python.org" 
src="https://analytics.python.org/js/script.outbound-links.js";></script>
+      <script defer file-types="bz2,epub,zip" data-domain="docs.python.org" 
src="https://analytics.python.org/js/script.file-downloads.outbound-links.js";></script>
       {% endif %}
       <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html";>
       {% if pagename == 'whatsnew/changelog' and not embedded %}

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to