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
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
https://t.co/F31ZgPuJPX
@JackEllis this is why i still read every diff
the obvious ones get caught, it's the ones that look like the rest of the codebase that slip through
was it string building inside a query builder or something like that?
@oxodesign doing the same, salt rotates at midnight utc and gets thrown away
the catch is weekly uniques come out inflated since the same person is a new visitor every day
do you show that somewhere in the dashboard?
what's keeping you stuck, the old data or stuff like ads and audiences?
if it's mostly pageviews, sources and signups, switching is pretty painless. run both side by side for a few weeks and compare
i'm building nordtally for that, cookieless and eu hosted. free while it's in beta