nordtally checks every pageview against about 1,500 bot patterns
the obvious way is one giant regex with all of them or'd together. benchmarked that at around 1.5ms per request
most patterns are plain strings, so they sit in an index by their first two bytes. the 36 real regexes run on their own
now about 30µs
6
made a little video of what i've been building
nordtally, web analytics without cookies
visitor hash resets every day, hosted in the eu
and it emails you if tracking stops or traffic spikes or drops
free while in beta, no card
nordtally.com
1
20
shipped an email alert for when tracking stops
the worst analytics bug is the quiet one. the script falls off after a deploy and you only notice weeks later when the chart is flat
it does spikes and drops too, but this was the one i wanted for myself
50
anyone here still running GA4 on a small site?
would you switch to something simpler if it was free while in beta
no audiences, no bigquery, just the numbers you actually look at
building nordtally, cookieless analytics hosted in the EU. mostly trying to figure out if anyone wants it before i build more
1
51
nordtally is in early beta with zero customers
still got my first beg bounty email today
"found a bug, pay me first and i'll tell you what it is"
if there's a real bug, send it over and i'll fix it. not paying for a mystery box though lol
#BuildInPublic
50
what nordtally runs on
go for the ingest
clickhouse for the events
postgres for accounts and settings
nextjs for the dashboard
production is one @Hetzner_Online box in helsinki. every container has a memory cap so clickhouse can't eat the rest
#golang
40
ran a 30 min load test on nordtally's ingest today, on a throwaway 2 cpu hetzner box
first try with 320mb memory crashed after 8 min lol
bumped it to 640mb and pushed 1,250 events/s
2.26M requests, every one accepted, zero dropped
still need a 2 hour run
1
25
so what is nordtally
web analytics without cookies. the IP and user agent only exist in memory while the request is handled, then they're gone. the database doesn't even have a field for them
you still get pageviews, sources, countries etc
nordtally.com #buildinpublic
1
1
21
nordtally's own numbers since nov 3, tracked with nordtally
3,459 visits
4,695 pageviews
92% direct
filtered out 680 bot hits: 525 crawlers, 87 floods, 68 headless browsers
13 people had global privacy control on, so not tracked at all
small but real
1
10
hey X, Danny here. fisherman from Denmark, and I code every chance I get, even on the boat tbh
gonna start sharing what I build on here, the good and the bad. gonna ship until something sticks
first thing up is nordtally, been working on it the last few weeks
#buildinpublic
1
11
