Skip to content

DOC: Enable Plausible file-downloads, hash, and outbound-links tracking - #32703

Open
InessaPawson wants to merge 1 commit into
numpy:mainfrom
InessaPawson:plausible-ext
Open

InessaPawson wants to merge 1 commit into
numpy:mainfrom
InessaPawson:plausible-ext

Conversation

@InessaPawson

Copy link
Copy Markdown
Member

PR summary

Follow-up to #29892 (comment).

AI Disclosure

No AI tools used

@mattip

mattip commented Sep 20, 2026

Copy link
Copy Markdown
Member

How do we know this is working?

@InessaPawson

Copy link
Copy Markdown
Member Author

@mattip To verify that the tracking is working end to end, we need to configure numpy.org/doc/stable as a site in Plausible. That part needs to be coordinated with @stefanv , since Scientific Python holds the admin access for the numpy.org Plausible instance.

Comment thread doc/source/conf.py
@@ -279,7 +279,10 @@ def setup(app):
"show_version_warning_banner": True,
"analytics": {
"plausible_analytics_domain": "numpy.org/doc/stable/",

@stefanv stefanv Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plausible changed the way that it handles domains, I see, so we will have to update pydata-sphinx theme. However, the way it is configured I hope it will "just work".

That said, the link below is now no longer current. Presuming you want logging under the numpy.org site, your analytics url is:

https://views.scientific-python.org/js/pa-b-PtGyEXHnuzbdQ51uHRi.js

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @stefanv! Before I update the script URL, a quick question about where the data will go: we were hoping to track the docs as their own site, so docs traffic is easy to see separately. Could you confirm that the script you shared is for numpy.org/doc/stable? If it isn't, please generate one for that site.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants