Analytics: Only When We Use It
Post from July 27, 2015 (↻ October 2, 2020), filed under Web Development.
Here’s something so obvious, it isn’t anymore. Which is: We should only use analytics software when we actually use it. Not when we think we could might want to need it. And not when we only glance at it, every now and then.
That’s what I recently pushed myself to conclude, culminating in removing Google Analytics from seven of my web projects, including traffic-rich UITest.com and World’s Highest Website, outreach efforts such as Code Responsibly, and campaigns like Have We Stopped Killing Yet. (meiert.com is one of a couple of sites where I keep Google Analytics for another moment.)
There are three good reasons to question our use of analytics software.
Analytics software is only useful when actually needed and used. This makes sense! Yet when we don’t need nor use analytics software, it even turns into a liability.
Analytics software is collecting data. Data can be abused. We may trust our analytics provider (Google, for example), but we may not trust, or be able to trust, our administrations (the U.S. government, for example). Would something as insanely popular like Google Analytics not lend itself to an extremely useful data source? I’m not a statistician, and so I’d say, yes.
Analytics tracking code means a performance hit. There are other hits we incur when using analytics software (like maintenance or documentation cost), and they’re all unnecessary when we don’t actually need and use respective software—per 1.—, but performance is what pulls our users into the picture. Analytics code makes our sites slower (even, or perhaps especially, with Google Analytics), and so we have an incentive to make sure we really need that code.
There’s this nice term Datensparsamkeit, “data frugality,” that floats around in the German language space. We should always be frugal when it comes to sharing potentially sensitive information—like PII (personally identifiable information) we enter on websites and apps. But that also applies to data we gather, or help to gather. Like analytics software. Let’s use it only when we use it.
I’m Jens Oliver Meiert, and I’m a web developer (engineering manager) and author. I love trying things, sometimes including philosophy, art, and adventure. Here on meiert.com I share some of my views and experiences.
If you have questions or suggestions about what I write, please leave a comment (if available) or a message.
Have a look at the most popular posts, possibly including:
Perhaps my most relevant book: CSS Optimization Basics (2018). Writing CSS is a craft. As craftspeople we strive to write high quality CSS. In CSS Optimization Basics I lay out some of the most important aspects of such CSS. Available at Amazon, Google Play Books, and Leanpub.
Looking for a way to comment? Comments have been disabled, unfortunately.