Day 18 of the 2021 Series:

Since migrating from to Jekyll, I haven't had any analytics on my page. I've done a little bit of research on it, and this is what I've decided to do.

@mike I just use goatcounter and it serves me well, I don't really care that much but having some numbers is fun

@mike You should just assume (rightly so) that I read every post. So, in your brain-analytics, you can put in that someone from "Kindersley, SK" (I don't know why that's where the IP is registered to, but whatevs) has viewed that page, and then clicked to "Home" to see if there are any that were missed (which there was - so I clicked into exa vs ls)

@scylla OK, I'll write that down in my notebook. Views: 1

@mike "That is, of course, assuming anybody read this. I can't tell." 😂

@mike Did you consider Goatcounter?

It's written in Go and so a lot easier to self-host, if that's what you're looking for. If not, there's a hosted service at with a free tier that may suit your needs.

And then, of course, if you like the project you can always contribute with a donation.

@emanuel I did, but I ruled them out because when I tried accessing their site from my work network I got this error:


I'm only getting that at work, so I'm assuming it's a block of some sort on our network. While I don't think it's anything wrong with Goatcounter, it does make accessing information annoying for me. If I'm going to have this kind of thing on my page, I want it to be accessible at least.

@mike That's pretty much the same conclusion I came to for my site :) While it's nice to know that some people enjoyed my posts, it's not why I'm writing them. I still, from time to time, look at my access logs and perhaps peek a little bit at the feed subscription stats that readers like Feedly and Feedbin send with each request 😅

I have analytics for my blog posts but it isn't on my site. There is no JS or some other trickery that is counting views.

Instead there is a unique toot for each blog post linked at the end of the blog post. People have to click on the link (opt-in) and then either favorite, boost or reply to toot for them to be counted. I call this "engagement analytics".



I can't know how many people read a post but I can see how many people found it useful by looking at toot's favorite and boost count or had a comment by looking at the toot's replies.

I don't care how many people clicked on a link. I care about how many clicks worth it.

You could argue that engagement/read ratio would be a good analytic and I suppose so. But that is the sacrifice I am willing to make to keep my site light(er).


Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.