]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Add psfhosted Plausible instance to analytics (GH-132252) (#132254)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 8 Apr 2025 07:53:44 +0000 (09:53 +0200)
committerGitHub <noreply@github.com>
Tue, 8 Apr 2025 07:53:44 +0000 (07:53 +0000)
Add psfhosted Plausible instance to analytics (GH-132252)
(cherry picked from commit 40844164b1d1d0f072990ff94202c348771676d6)

Co-authored-by: Ee Durbin <ewdurbin@gmail.com>
Doc/tools/templates/layout.html

index 10a87f50d8566b53bbce9b84965f4aed227b50f5..69c2ab6ae0519d23c6f44c983982ce0cd8199fdc 100644 (file)
@@ -28,6 +28,7 @@
 {% block extrahead %}
     {% if builder == "html" and enable_analytics %}
       <script defer data-domain="docs.python.org" src="https://plausible.io/js/script.js"></script>
+      <script defer data-domain="docs.python.org" src="https://analytics.python.org/js/script.js"></script>
     {% endif %}
     <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html">
     {% if builder != "htmlhelp" %}