secluded/content/posts/privacy-respecting-analytic...

81 lines
4.0 KiB
Markdown
Raw Normal View History

2023-03-06 03:11:22 +00:00
---
title: "Privacy-respecting analytics"
2023-03-06 17:23:45 +00:00
date: 2023-03-06T12:23:00-05:00
2023-03-31 21:02:41 +00:00
cover: ./cover.png
2023-03-06 03:11:22 +00:00
categories: ["Technology"]
tags: ["Privacy", "Web"]
2023-03-06 17:23:45 +00:00
draft: false
2023-03-06 03:11:22 +00:00
toc: false
---
For a long time, I was so vehemently opposed to analytics on personal websites
that I condemned people using privacy-respecting systems like [Plausible] on
their blog, shouting about mUh PrIvAcY and saying that these platforms only
boosted the bloggers' ego and they would end up writing for their readers rather
than personal enjoyment. I'm realising that I was kinda dumb 🤔
[Plausible]: https://plausible.io/
2023-03-06 17:20:58 +00:00
One of my clients recently asked me to add analytics to the website I created
for them. I said yes and asked whether they had a preference as to which
2023-03-06 03:11:22 +00:00
analytics system. They said no, they just wanted to see how many people were
using the website and whether they were actually looking at the menu and store
2023-03-06 17:20:58 +00:00
pages. I decided to set them up with [Umami] because it has a very simple UI,
it's not affiliated with Big Tech™ companies, [it's GDPR-compliant,](umami-gdpr)
and the script is only 2 KBs.
2023-03-06 03:11:22 +00:00
2023-03-06 17:20:58 +00:00
[Umami]: https://umami.is/
2023-03-06 03:11:22 +00:00
[umami-gdpr]: https://umami.is/docs/faq
Analytics on a business's website is a no-brainer. Business websites should be
pleasant, ergonomic, and useful for their customers and analytics do assist with
that goal. But what about on personal websites? The big reason Google Analytics
is so often condemned is because of Google; you bet your ass they're aggregating
2023-03-06 17:20:58 +00:00
all the data they harvest from their collective properties and associating that
2023-03-06 03:11:22 +00:00
information with your visitors' profiles (yes, even if they don't have a Google
2023-03-06 17:20:58 +00:00
account) to improve their advertising engine. Facebook, Reddit, Twitter, etc. do
exactly the same thing with all of their like/share buttons. They're ingesting
as much data as they can to feed their ad systems and I don't want to further
their mass surveillance of the internet.
2023-03-06 03:11:22 +00:00
The privacy issues with analytics primarily apply to the big providers that
2023-03-06 17:20:58 +00:00
aggregate everything across their customers' properties in order to surveil as
many people as possible. Systems like Umami are different. The minimal data
that's collected is anonymised and stays in-house, on your (preferrably)
self-hosted server. When you really give it some thought, there's nothing
inherently wrong with knowing how many visitors your site has, what pages
they're viewing, and what website they came from.
2023-03-06 03:11:22 +00:00
I enabled Umami on my website shortly after coming to this realisation and [made
the analytics page public.][public]
[public]: https://umami.secluded.site/share/7PNXq2e8/Secluded.Site
The referrers section is fascinating when you bump the period from "Today" to
"All time". There are some unusual search engines, a couple onion addresses,
another of my own websites [(scratchanitch.dev)][sai], and even some personal
ones. After seeing other individuals link to my website, I had the idea to use
GitHub's [Code Search] feature to poke around and see [where else it was
mentioned.][cs-results]
[sai]: https://scratchanitch.dev/
[Code Search]: https://github.com/features/code-search/
[cs-results]: https://github.com/search?q=%22secluded.site%22&type=code
A suprising number of people seem to be referencing my _[Vim as a Markdown
Editor][vme]_ post. I haven't thought about that post since I wrote it, much
less updated it. Taking a look at Umami indicates that it's by far my most
popular one. Maybe I should have another look at it and see if there's anything
that needs to be improved ...
[vme]: https://secluded.site/vim-as-a-markdown-editor/
Knowing that there are people visiting my site and that some of the things I've
written are useful is, frankly, quite encouraging. That's why I'm writing this
2023-03-06 17:20:58 +00:00
post. That's part of what inspired my next one and it's why I intend to start
2023-03-06 03:11:22 +00:00
writing more. I do enjoy writing, but the idea of tossing something I've spent
hours on into the void of the internet isn't exactly motivating.
2023-03-06 17:20:58 +00:00
As long as it isn't causing problems, I don't believe "boosting the blogger's
ego" is inherently bad. Encouragement can be quite good 🙂