]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Docs: Migrate entirely to PSF hosted plausible for analytics (GH-132648) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 18 Apr 2025 04:21:14 +0000 (06:21 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Apr 2025 04:21:14 +0000 (07:21 +0300)
Docs: Migrate entirely to PSF hosted plausible for analytics (GH-132648)
(cherry picked from commit 1d529cbc892b824b387d672899265ed4258b2222)

Co-authored-by: Ee Durbin <ewdurbin@gmail.com>
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" %}