https://github.com/python/cpython/commit/e4e2390a64593b33d65567179265f9c2cd9acae1 commit: e4e2390a64593b33d65567179265f9c2cd9acae1 branch: main author: Jacob Coffee <[email protected]> committer: hugovk <[email protected]> date: 2025-09-02T22:02:00+03:00 summary:
Doc: Track file downloads via plausible (#138393) 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]
