Live data from Hacker News

Lightweight Alternatives to Google Analytics

lwn.net

81–90 of 320 posts

Re: Lightweight Alternatives to Google Analytics

#81
post #2

Google Analytics has a "bot filtering" option that works pretty well (even though it's not perfect). Do the alternatives also have similar features? There is a lot of automated traffic on the internet.

Of course. Fathom filters bots on the client side and then looks for bot signs on the server. If it looks questionable, it doesn’t process it.

Re: Lightweight Alternatives to Google Analytics

#82

I've recently whipped up my own self-hosted analytics solution [0] based on SQLite, Bash and Metabase. It's all self hosted, easy to install and very flexible with regards to the queries you can write and display. Metabase comes with a lot of cool features for display, live reload and other cool stuff. :) [0]: https://funnybretzel.com/self-hosted-analytics-using-sqlite-...

Thanks for the tutorial. Looks interesting.

I'm a fan of GoAccess. Unfortunately the queries are pre-made and there are nearly no options whatsoever. You can't (yet) filter by date for example.

One thing I realized is, that on small sites, like my blog, an overwhelming amount of traffic comes from search engines or bots which are looking for vulnerabilities. Filtering them out takes a lot of time in any self-hosted or self-made solution.

Re: Lightweight Alternatives to Google Analytics

#83
post #28

I turned off Google Analytics, because I realized that it doesn't actually report any useful or actionable data, just vanity metrics, and many of them of dubious quality. I run a SaaS and what matters for me is paid subscriptions. "Visits" (even if by humans, which is hard to tell) really do not matter much. Yes, I do want to increase conversion rates, and run bandit experiments, but I'm better off doing that myself.…

> I realized that it doesn't actually report any useful or actionable data The actionable part never occurred to me, but makes so much sense. What action could anyone really take, based on the data presented by Google Analytics? On top of my head I can actually think of anything you could easily get from server logs.

There are millions of possible answers to this question... Examples:

- Conversion rate grouped by browser and browser version to find browser specific bugs. - Total revenue per user per marketing channel / search keyword / ... to optimize budget allocation. - Revenue by mobile OS version share to decide testing procedures to not optimize for users that don't contribute to your bottom line. - Client side loading times per user location and provider to optimize infrastructure placement. - ...

Re: Lightweight Alternatives to Google Analytics

#84
post #56

Earlier quoted context omitted.

> it has no "viral effect" in case of linking

Neither does the GPL or any other licence under European laws.

That's interesting, wouldn't that mean that the licenses themselves aren't in some sense 'legal' in the EU? How does the GPL prevent this from invalidating down the whole license?

Re: Lightweight Alternatives to Google Analytics

#85
If your app is already built with Rails, adding https://github.com/ankane/ahoy is pretty simple. Combine with https://github.com/ankane/blazer and you can build a reasonable set of reports as well.

It's pretty simple to extend too: I've added basic client-side (JavaScript) error reporting on top of it, and I'm thinking about using it for Content Security Policy reporting too.

Re: Lightweight Alternatives to Google Analytics

#86
Another shameless plug, if you are just using it for finding out where visitors are coming from and page hits, I wrote https://geo-yak.com for that. Doubles as an ip geolocation API.

I'm putting the finishing touches on a `tag=XXX` parameter that allows you to record a tag (like a pageid), and then filter the maps by it (not publicly documented yet, but will be in the next couple weeks).

Re: Lightweight Alternatives to Google Analytics

#87
I'm working on an end-to-end encrypted analytics SaaS, to try and solve the "putting your eggs in someone else's basket" problem, while offering something simpler than self-hosting.

I'm collecting feedback and looking to open it for beta in the next couple of weeks, but there's already a preview signup link in the newsletter, where I share my progress on building the platform on a weekly basis.

https://chiffre.io

Re: Lightweight Alternatives to Google Analytics

#88

I've been happily using Fathom Analytics: https://usefathom.com and I have zero complaints. No tracking. Privacy focused. Lightweight. You embed from your own domain. They even do site monitoring now!

Thanks James. You wait till we launch V3 ;)

I have zero use for your product but I just want to say that I love your website ! From the minimal design to the clear and concise copy, to the signup process. It's all frictionless and smooth, you nailed it :)

Re: Lightweight Alternatives to Google Analytics

#89

Earlier quoted context omitted.

> I realized that it doesn't actually report any useful or actionable data The actionable part never occurred to me, but makes so much sense. What action could anyone really take, based on the data presented by Google Analytics? On top of my head I can actually think of anything you could easily get from server logs.

Examples I saw in a website I launched last year: * High bounce rate showed that people did not find the content engaging / not what they were looking for, confirming a hypothesis I had; this was particularly true for certain sections of the website. * Time spent on pages was another metric that was helpful to find problems in some sections. * Easy slicing of traffic sources by referrer and country, showed me that mo…

To optimize the bounce rate metric even further a funnel can be created and measured. This allows to see bounces for each part of the funnel up to your conversion(s). It is often really valuable to see how a change on your website improves one part of the funnel but impairs another one, and than to think about the reason why this happens.

Re: Lightweight Alternatives to Google Analytics

#90

If you decide to migrate off GA, there's very little reason to not use self-hosted analytics. The only case when you'd get better analytics from a _service_ is exactly a GA-like setup that can track people as they go from one website to another. That is, the real value of an analytics service is derived directly from its ability to invade people privacy, at scale. Granted, migrating to another service is usually simp…

My reason is the server not being able to handle the traffic. We used Piwik but I couldn't trust it'd be able to handle big eventual spikes of traffic (which the site itself could, being static and on a CDN) or that it wouldn't slow the site down (if I remember correctly I had the option to call piwik asynchronously and not slow down the site, but at risk that it'd be less accurate if people closed the window / navigated to another page quickly.).

Of course you can run your own analytics on AWS or similar and have no issues with handling traffic, but that means higher costs / difficulty in setting up and maintaining it.

Post reply on HN