nim-lang / website

Code for the official Nim programming language website
https://nim-lang.org
Other
115 stars 78 forks source link

Remove or replace Google Analytics #226

Open ghost opened 4 years ago

ghost commented 4 years ago

Would you kindly be willing to remove this Google Analytics "functionality" from this website? There are better alternatives if you must keep tabs on users' activity.

Some reputable alternatives can be seen here: https://switching.software/replace/google-analytics/

narimiran commented 4 years ago

@dom96 ^

ghost commented 4 years ago

Also official Nim docs use Google Analytics (for page view stats) :P

Calinou commented 4 years ago

I'm in favor of removing Google Analytics too. I don't think statistics on website visits are that important to have, especially since we're not here to sell stuff.

We already have traffic statistics on GitHub repositories anyway, which can give us some insight on the community activity.

TheEvilSkeleton commented 4 years ago

To be honest, I find analytics okay as long they aren't sent to GAFAM. It's true that one can just block it in the Hosts file, or use an ad blocker, but using a FOSS and ethical alternative is better, in my opinion.

ITwrx commented 4 years ago

@TheEvilSkeleton i agree.

While not a direct replacement for GA, another option not listed is https://goaccess.io/

Using GA also adds noticeable delay to page loads sometimes and is fairly infuriating when you look to see why the page hasn't loaded and it's waiting on thinly veiled spyware...bad for nim's image in at least two ways.

pietroppeter commented 3 years ago

I have been using https://plausible.io/ to track analytics on some nim projects: https://github.com/pietroppeter/pietroppeter/blob/main/README.md A nice thing about plausible is that you can make your dashboard public and everyone can see the stats (it is also easy to opt out).

I have a paid subscription with plenty of views available (10k view monthly of which <500 currently used) and I would be happy to provide this as a service for nim websites as part of my sponsoring nim effort (I am not sure how many monthly views does the site gets, but if needed it would be ok also to bump the subscription to next tier which has 100K monthly views).

ringabout commented 2 years ago

Related: https://forum.nim-lang.org/t/8828

@dom96

dom96 commented 2 years ago

Leave it to Google to deprecate their service... https://support.google.com/analytics/answer/11583528. So we'll lose historical data anyway :/

So I now see no reason not to move to a non-Google alternative.

pietroppeter commented 2 years ago

Plausible made a tool to import historical Google analytics data into their solution:

https://plausible.io/docs/google-analytics-import

Btw, what is the current total monthly pageviews (average over the months)?

dom96 commented 2 years ago

@pietroppeter average is around 100k pageviews per month. There are some peaks going as high as 150k though.