[3.12] Add Plausible for docs metrics (GH-106644) (#106661)

Add Plausible for docs metrics (GH-106644)
(cherry picked from commit e8ab0096a5)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-07-11 19:46:12 -07:00 committed by GitHub
parent e248ba7b72
commit ae31599143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@
{% endblock %} {% endblock %}
{% block extrahead %} {% block extrahead %}
<script defer data-domain="docs.python.org" src="https://plausible.io/js/script.js"></script>
<link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" /> <link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
{% if builder != "htmlhelp" %} {% if builder != "htmlhelp" %}
{% if pagename == 'whatsnew/changelog' and not embedded %} {% if pagename == 'whatsnew/changelog' and not embedded %}