Analytics: Only When We Actually Use It
Published on JulĀ 27, 2015 (updated OctĀ 3, 2023), filed under development (feed). (Share this on Mastodon orĀ Bluesky?)
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.
About Me
Iām Jens (long: Jens Oliver Meiert), and Iām a web developer, manager, and author. Iāve been working as a technical lead and engineering manager for companies youāve never heard of and companies you use every day, Iām an occasional contributor to web standards (like HTML, CSS, WCAG), and I write and review books for OāReilly and Frontend Dogma.
I love trying things, not only in web development and engineering management, but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (I value you being critical, interpreting charitably, and giving feedback.)