rigraph icon indicating copy to clipboard operation
rigraph copied to clipboard

Online doc pages should have analytics

Open szhorvat opened this issue 2 years ago • 9 comments

The online doc pages at https://r.igraph.org/ should have Google Analytics, and hooked up to the igraph Google Analytics account.

@maelle, is this reasonably easy to do? Do we generate docs for offline distribution through the same system, and if yes, is it easy to exclude the offline version from the analytics?

Reason: Page view stats are relevant for grant applications.

szhorvat avatar Nov 29 '23 07:11 szhorvat

@szhorvat yes it is reasonably easy!

you'd need to edit https://github.com/igraph/rigraph/blob/main/_pkgdown.yml as shown in https://pkgdown.r-lib.org/reference/build_site.html#analytics

Now, don't ask me how GDPR-compliant this is. :thinking:

ICYMI there are privacy-friendlier alternatives to Google Analytics (Plausible, Matomo), but one needs to pay for them (or self-host :cold_sweat:).

maelle avatar Dec 01 '23 14:12 maelle

Google Analytics is not GDPR compliant. Should we go for an alternative or configure it in a way that it might become compliant https://gdprlocal.com/google-analytics-gdpr-compliance/

schochastics avatar Jul 16 '25 19:07 schochastics

I fear that making Google Analytics GPDR compliant is going to be a cat-and-mouse thing, with new hidden settings all the time. If we need analytics, could we pay for it and go for Plausible or Matomo?

maelle avatar Jul 17 '25 07:07 maelle

I wonder if it is worth it. @szhorvat is there still a usecase for this?

schochastics avatar Jul 17 '25 08:07 schochastics

The point is that view counts might be useful for grant applications. Maybe there are other ways to get these, or maybe it's just too complicated.

At the airport now, can't respond in more detail

szhorvat avatar Jul 17 '25 09:07 szhorvat

https://umami.is/pricing has a free tier. Given that we basically only want page views, we can go for something really rudimentary

schochastics avatar Jul 17 '25 11:07 schochastics

I remember using plausible.io somewhere. @christophsax: Does that ring a bell?

No strong opinion, we can go with Umami -- I like the flavor too.

krlmlr avatar Aug 21 '25 08:08 krlmlr

@szhorvat would you be happy with Umami?

maelle avatar Aug 27 '25 11:08 maelle

I have no input on this. I would rely on your judgement :-)

szhorvat avatar Aug 27 '25 11:08 szhorvat