From 5c8b1065e856a02e964cd54372ae5e484b985f50 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 20 Apr 2025 22:06:37 -0500 Subject: [PATCH] add ackee post --- content/blog/ackee.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 content/blog/ackee.md diff --git a/content/blog/ackee.md b/content/blog/ackee.md new file mode 100644 index 0000000..e51a9bb --- /dev/null +++ b/content/blog/ackee.md @@ -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 didn’t want heavyweight or cookie tracking pop ups, so I spun up [Ackee](https://github.com/electerious/Ackee) +—open‑source, cookie‑free, 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 Certbot–nginx two‑step (stop → certonly ‑‑standalone → start). + +Tracker script landed in custom_head.html; Hugo injects it site‑wide. + +CORS needed a single env line: ACKEE_ALLOW_ORIGIN="https://lambwire.net". + +Nginx proxies /tracker.js and /records to Ackee; the dashboard itself is LAN‑only 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. \ No newline at end of file