Cookieless analytics in Go with Postgres and Grafana Cloud's free tier
go
dev.to
I run several sites under one company, all written in Go. I wanted one analytics package I could drop into every one of them, with the data in my own database and no new monthly bill. So I built snout, an MIT-licensed Go package in the spirit of GoatCounter. It's live on pigfox.com right now, running next to Google Analytics so I can compare the two. This post covers how it works, what it costs, and the setup problems I ran into, so you can skip them. What it does A small JavaScri