-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Doc: Track file downloads via plausible #138393
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
Doc: Track file downloads via plausible #138393
Conversation
Please. A |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Let's check this works on main
= https://docs.python.org/dev/ before backporting.
@AA-Turner done! |
Oh and let's include .epub: |
Co-authored-by: Adam Turner <[email protected]>
Thanks @JacobCoffee for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
(cherry picked from commit e4e2390) Co-authored-by: Jacob Coffee <[email protected]> Co-authored-by: Adam Turner <[email protected]>
(cherry picked from commit e4e2390) Co-authored-by: Jacob Coffee <[email protected]> Co-authored-by: Adam Turner <[email protected]>
GH-138396 is a backport of this pull request to the 3.14 branch. |
GH-138397 is a backport of this pull request to the 3.13 branch. |
It's working :) ![]() https://analytics.python.org/docs.python.org?f=is,goal,File%20Download Or https://analytics.python.org/docs.python.org > Goal Conversions > File Download |
Co-authored-by: Jacob Coffee <[email protected]> Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Jacob Coffee <[email protected]> Co-authored-by: Adam Turner <[email protected]>
…hon#138396) Co-authored-by: Jacob Coffee <[email protected]> Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Trivial change to track zip files downloaded from https://docs.python.org/3/download.html
on our Plausible instance for docs: https://analytics.python.org/docs.python.org
ref: https://plausible.io/docs/file-downloads-tracking, https://hackmd.io/_vyolH-NR3GQHoOUjqdzuQ
We may want to add
file-types="zip, bz2"
if we also want the bz2 packed files? (ref: https://plausible.io/docs/file-downloads-tracking#which-file-types-are-tracked)📚 Documentation preview 📚: https://cpython-previews--138393.org.readthedocs.build/