add ackee post
Some checks failed
Build Hugo Site / build (push) Failing after 7s

This commit is contained in:
John 2025-04-20 22:06:37 -05:00
parent f8c3e96b16
commit 5c8b1065e8

26
content/blog/ackee.md Normal file
View File

@ -0,0 +1,26 @@
---
title: 'Adding Ackee Analytics (Because I Was Curious)'
date: 2025-04-20
draft: false
---
My Hugo blog is barely a month old, but I already wondered whether anyone besides bots ever stops by. I didnt want heavyweight or cookie tracking pop ups, so I spun up [Ackee](https://github.com/electerious/Ackee)
—opensource, cookiefree, and small enough to ignore until I need the numbers.
## What Actually Happened
Ackee went up on the same box that serves the blog—Node, Mongo, nothing exotic.
TLS certs required the classic Certbotnginx twostep (stop → certonly standalone → start).
Tracker script landed in custom_head.html; Hugo injects it sitewide.
CORS needed a single env line: ACKEE_ALLOW_ORIGIN="https://lambwire.net".
Nginx proxies /tracker.js and /records to Ackee; the dashboard itself is LANonly because nobody else needs to see my traffic trickle.
Total time: an evening, most of it spent chasing a stray `localhost` reference that kept the dashboard empty.
## Why Bother?
Now I know how many real humans rotate through (answer: just me!), and I don't have to route visitor data through a third party. The setup was uneventful, which is exactly how infrastructure should feel.