]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Migrate entirely to PSF hosted plausible for analytics (#132648)
authorEe Durbin <ewdurbin@gmail.com>
Thu, 17 Apr 2025 19:42:40 +0000 (15:42 -0400)
committerGitHub <noreply@github.com>
Thu, 17 Apr 2025 19:42:40 +0000 (22:42 +0300)
Doc/tools/templates/layout.html

index 69c2ab6ae0519d23c6f44c983982ce0cd8199fdc..56023ebf9627036528fa82ff9862663fe99c7d49 100644 (file)
@@ -27,8 +27,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>
+      <script defer data-domain="docs.python.org" src="https://analytics.python.org/js/script.outbound-links.js"></script>
     {% endif %}
     <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html">
     {% if builder != "htmlhelp" %}