-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Docs: Migrate entirely to PSF hosted plausible for analytics #132648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I also updated the script to enable tracking of outbound link clicks, which may be nice to have. Analytics can still be viewed publicly at https://analytics.python.org/docs.python.org. The only discrepency I have encountered comparing the analytics data between the two is that hosted plausible seems to count more Unique visitors. I'm unsure why... but for our purposes it isn't really important, as we are mainly tracking what pages/languages are being viewed.
We'll also need to update https://github.com/pypa/packaging.python.org |
I oped this first :) pypa/packaging.python.org#1850 |
GH-132660 is a backport of this pull request to the 3.13 branch. |
We still have Plausible-hosted on the 3.12 branch but it's in security only. This is more an infra change than a bug or security fix, so I think it's worth doing. @Yhg1s is that okay? |
Yeah, it makes sense to backport this to 3.12. |
GH-132664 is a backport of this pull request to the 3.12 branch. |
I also updated the script to enable tracking of outbound link clicks, which may be nice to have.
Analytics can still be viewed publicly at https://analytics.python.org/docs.python.org.
The only discrepency I have encountered comparing the analytics data between the two is that hosted plausible seems to count more Unique visitors. I'm unsure why... but for our purposes it isn't really important, as we are mainly tracking what pages/languages are being viewed.edit: this is now fixed, just needed to map Fastly-Client-IP header to the X-Plausible-IP header. I'll reset stats and re-import to clear things up.📚 Documentation preview 📚: https://cpython-previews--132648.org.readthedocs.build/