|
| 1 | +--- |
| 2 | +title: "TIL: A few ways to track web traffic for open source projects" |
| 3 | +date: "2025-10-19" |
| 4 | +authors: |
| 5 | + - Chris Holdgraf |
| 6 | +categories: |
| 7 | +- learning |
| 8 | +tags: |
| 9 | +- community |
| 10 | +- open-source |
| 11 | +--- |
| 12 | + |
| 13 | +Understanding how people discover and navigate your project's web presence is valuable for open source communities. Chris has been [serving on the Jupyter Executive Council](../executive-council-updates/) as a [Foundational contribution](../foundational-contributions/). As part of this work, we did some research to improve their web analytics, and learned about several free and low-cost options for tracking web traffic. |
| 14 | +Here's a quick report of what stood out. |
| 15 | + |
| 16 | +## Three analytics tools we found helpful |
| 17 | + |
| 18 | +**[Plausible.io](https://plausible.io/)** - A privacy-friendly, GDPR-compliant analytics service |
| 19 | +- Clean interface with public dashboards (see [Jupyter's dashboard](https://plausible.io/jupyter.org)) |
| 20 | +- Paid service but offers 15% discount for open source projects |
| 21 | +- Cost scales with traffic volume. It can get expensive for a project as big as Jupyter! |
| 22 | +- This is the service we ultimately ended up using... |
| 23 | + |
| 24 | +**[ReadTheDocs Analytics](https://docs.readthedocs.com/platform/stable/traffic-analytics.html)** - Built-in traffic tracking for documentation sites |
| 25 | +- Available as a free add-on for ReadTheDocs projects, it provides traffic data specific to documentation pages. |
| 26 | +- There's no additional cost if already using ReadTheDocs, though if you're on a business plan you may need to pay for it. |
| 27 | +- The analytics are a bit barebones, but quite useful for learning where your readers are navigating. |
| 28 | +- Enable in `Settings` > `Addons` > `Analytics`. |
| 29 | + |
| 30 | +**[GitHub Repository Analytics](https://docs.github.com/en/repositories/viewing-activity-and-data-for-your-repository/viewing-traffic-to-a-repository)** - Native analytics in GitHub. |
| 31 | +- Shows clones, views, and referring sites. This is also fairly barebones, but it's really useful to see who is actually looking at your repository. |
| 32 | +- Free for all GitHub repositories. |
| 33 | +- Access via `Insights` > `Traffic` on any repository. |
| 34 | + |
| 35 | +## Learn more |
| 36 | + |
| 37 | +- [GitHub issue coordinating Jupyter's analytics work](https://github.com/jupyter/jupyter.github.io/issues/815) |
| 38 | +- [Plausible.io public dashboard for jupyter.org](https://plausible.io/jupyter.org) (this might be down for now, but we're working to bring it back up) |
| 39 | +- [ReadTheDocs Analytics documentation](https://docs.readthedocs.com/platform/stable/traffic-analytics.html) |
| 40 | +- [GitHub Traffic Analytics API](https://docs.github.com/en/rest/metrics/traffic?apiVersion=2022-11-28) |
| 41 | + |
| 42 | +## Acknowledgements |
| 43 | + |
| 44 | +Thanks in particular to [Jason Grout](https://github.com/jasongrout) from [Jupyter EC](/collaborators/jupyter/) for collaborating on this investigation and helping test these tools. |
0 commit comments