Docs metrics trial with Plausible

In the Docs Community monthly meetings, we’ve discussed the need for gathering some metrics of page views from the docs:

  • This would help translators prioritise and focus their effort on the most popular pages
  • Likewise it would help us see which pages could most benefit from a rewrite or update

Plausible looks a promising choice:

  • open source
  • simple and lightweight, easy-to-use
  • no cookies and compliant with GDPR, CCPA and PECR
  • not as invasive as Google Analytics
  • paid option, hosted in the EU
  • free version, for self-hosting

The Docs Community would like to run a 30-day trial of the hosted version for https://docs.python.org. This would let us know how many page views we’d get, so we can see at what pricing level we’d need for paid hosting, and whether to consider self-hosting.

Are there any objections to a 30-day trial?

If not, I’ll next run this past the steering council.

Thanks!

14 Likes

No objections here, so I’ve asked the SC:

6 Likes

SC said yes to a trial, I’ll set it up.

3 Likes

As a followup, here are screenshots from the last day of the 30-day trial which ended on 2023-08-10.

5 million unique visitors, 6.5 million total visits, 10.9 million pageviews:

Top sources

Top pages

Top countries

Top regions

Top cities

Top browsers

Top operating systems

Top screen sizes

12 Likes

You can view the live stats here: Plausible · docs.python.org

(It took me too long to find and this discussion was the 3rd link to show up)

3 Likes

I’ve been using the public docs analytics on Plausible recently, and noticed there’s now a 404 error. Just wanted to check if it’s intentional that the analytics are no longer publicly-accessible?

I’ve found it helpful to understand which devices / OS / browser Python developers are using, what docs are popular, and where in the world Python devs are. See What we can learn from Python docs analytics as a practical example. There are other sources of information on those topics but they tend to be more biased.

1 Like

Now self-hosted. Use Plausible · docs.python.org.

A

5 Likes

Discovered accidentally today that analytics.python.org is slowly being added to blocklists, e.g. easylist.

We didn’t migrate to self-hosting to subvert blocklists, we did it to save money. People have the right to take measures beyond DNT (which plausible.io as well as our instance respect) if they so choose.

5 Likes

And that blocklist also blocks the main Plausible site, so self-hosting makes no difference. I guess they can still see the docs, we’re only losing out on a visitor count.

1 Like