Your analytics are lying to you

https://lobste.rs/rss Hits: 30
Summary

Alistair Davidson writes about migrating a form-heavy web application from a React SPA to a traditional server-rendered HTML-first website. The entire article is worth reading, but I want to draw attention to this bit about analytics (emphasis mine): The results? When we launched, the number of people completing the form doubled. The analytics people didn’t even know where these users were coming from. Of course, your javascript-based analytics package doesn’t see the users you are bouncing because of javascript failures. It was a flood! We also saw my “keep a backend session, never lose user data” approach pay off. In one case, someone completed a form a month after starting it. Web analytics are fragile. They fail in so many ways that making product decisions based wholly on your Google Analytics or Plausible data is folly of the highest degree.Here's a subset of all the reasons your analytics package undercounts or miscounts visitors:Network errors prevent your analytics script from loading.Ad-blockers and tracking prevention block your script from loading (enabled by default on many browsers today).A JavaScript error in an unrelated part of the page prevents the analytics script from working correctly.The user loses network connectivity before the analytics script can send data to the server.The user gets impatient and bounces off your website before the page can load fully and start collecting data.Too much JavaScript on the page causes the browser tab to crash (a common issue on low-end devices).The analytics script is blocked by a DNS rule, corporate proxy, firewall, or VPN.The user has disabled JavaScript.The user's browser has limited or no support for JavaScript (Opera Mini still has more than half a million downloads on Android, and it's still widely-used in Africa).The user is accessing your content using a service that strips JavaScript (e.g. an RSS reader, a web archiving tool, Telegram Instant View, AMP, a read-later service, or a bookmarking service)...

First seen: 2026-07-23 05:56

Last seen: 2026-07-24 11:21