[3.12] Docs: Migrate entirely to PSF hosted plausible for analytics (GH-132648) (#132664)

Docs: Migrate entirely to PSF hosted plausible for analytics (GH-132648)
(cherry picked from commit 1d529cbc89)

Co-authored-by: Ee Durbin <ewdurbin@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-04-18 06:21:14 +02:00 committed by GitHub
parent a740fbd8de
commit 95d9dea1c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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" %}