Add RTD stats collection - #764
Open
JessicaS11 wants to merge 9 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## development #764 +/- ##
============================================
Coverage 77.17% 77.17%
============================================
Files 42 42
Lines 3234 3234
Branches 402 402
============================================
Hits 2496 2496
Misses 604 604
Partials 134 134 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
JessicaS11
marked this pull request as ready for review
June 2, 2026 19:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
After activating analytics collection on Read the Docs last fall, we thought it would be interesting to have a >90 day record of which pages are most used. This PR sets up the infrastructure to collect/combine/manage that data, per #729.
It turns out that the RTD API doesn't have fetching of analytics data implemented (which I didn't realize until I'd set up the action and a script to do so); the only way to get them is to download the csvs from the UI. Thus, the action included in this PR has the cron run commented out and the script will need to be run manually after the updates are downloaded manually. But it at least starts keeping track of the data.
The search tracking don't show much of anything interesting --> "download" is the most common search term.
The top five viewed docs pages (from 3/3/2026-6/1/2026) are:
"Ready for review" checklist
closes #1)README.mdupdatedReview and merge checklist
pre-commit.ci autofixif pre-commit is failing)@all-contributors add @[GitHub_handle] for a, b, and cTips and Tricks
Include
/binderin a comment to add a Binder badge that will launch a binder notebook for the most recent commit in the PR.