John 5c8b1065e8
Some checks failed
Build Hugo Site / build (push) Failing after 7s
add ackee post
2025-04-20 22:06:37 -05:00

26 lines
1.2 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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.