Doc: Track file downloads via plausible#138393
Conversation
Please. A |
hugovk
left a comment
There was a problem hiding this comment.
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 <9087854+AA-Turner@users.noreply.github.com>
|
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 <jacob@z7x.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
(cherry picked from commit e4e2390) Co-authored-by: Jacob Coffee <jacob@z7x.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
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 |
…hon#138396) Co-authored-by: Jacob Coffee <jacob@z7x.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

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/