https://github.com/python/cpython/commit/3a2e436dc575e1982596b4deac959ab763663081 commit: 3a2e436dc575e1982596b4deac959ab763663081 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-02T23:00:17+03:00 summary:
[3.13] Doc: Track file downloads via plausible (GH-138393) (#138397) 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]
