WebKeeper, the site-monitoring app I'm building, counts visits to its marketing site on the server. There's no cookie banner to click through and nothing in the browser. A CloudFront function looks at each request, decides whether it's a person loading a page, and writes one line to a log. Once a day a Lambda adds the lines up and sends PostHog a single total.

For its first week the total sat between 50 and 120 a day, which is about right for a product whose Product Hunt launch went nowhere. (One day in there, September 16, came in at 2,830: also the home page, also no referrer, and gone the next morning. I still don't know what that was.)

Then, on September 24, it was 1,529. The day after, 1,524. Then 1,517, 1,546, 1,581, 1,584.

Meanwhile the browser analytics on the same site, the kind that needs JavaScript and consent, kept reporting a few page views a day. Two counters, same site, a factor of twenty between them.

My first thought was bots. Somebody's crawler with a User-Agent my filter didn't know about.

The filter

This is the part of the CloudFront function that decides what counts as automated:

var automated = /bot|crawler|spider|headless|curl|wget|python|uptime|monitor/i
  .test(header(request, 'user-agent'));

On top of that, a request has to be a GET for a known page. It can't be a prefetch, it has to be a navigation if the browser says what kind of request it is (Sec-Fetch-Mode), and it can't carry Do Not Track or Global Privacy Control. It's a decent filter for the bots that announce themselves. It says nothing about the ones that don't.

So I went looking for the new bot.

The numbers already knew

The daily summary doesn't only carry a total. It splits by page and by source, so the first thing to do was look at which columns grew:

day          loads   home   direct
2026-09-21      56     47       48
2026-09-22      80     63       61
2026-09-23     817    816      773
2026-09-24    1529   1526     1477
2026-09-25    1524   1520     1470
2026-09-28    1581   1540     1525

Everything new landed on one page, the home page, with no referrer. The other pages didn't move. Search traffic didn't move.

A crawler reads more than one page. This was something that loaded the front door, the same one, over and over.

Then the arithmetic. The jump is about 1,450 a day. A day has 1,440 minutes.

Something was loading the home page once a minute. And the first day was 817, a little more than half of 1,440, so it had started around the middle of September 23.

September 23

I knew what happened on September 23, because I shipped it. WebKeeper got plan-based uptime intervals that day: hourly checks on the cheapest plan, down to one minute on the top one.

And of course my own site was one of the first on one-minute checks.

The collector, the part of WebKeeper that actually makes the requests, identifies itself honestly:

const collectorUserAgent = "WebKeeper-Collector/1"

Now read that against the regex again. No bot. No monitor. No uptime. The word that describes what it does is nowhere in its name. It doesn't send Sec-Fetch-Mode either, because it isn't a browser, and the filter only rejects the header when it's present with the wrong value.

So every check looked like a person typing webkeeper.io into the address bar.

The funny part is that this was never a new bug. The hourly checks had been counted from day one, 24 page views a day of me visiting myself. At 24 a day, nobody notices. At 1,440, it's your biggest visitor.

The fix

One word in the regex:

var automated = /bot|crawler|spider|headless|curl|wget|python|uptime|monitor|webkeeper/i
  .test(header(request, 'user-agent'));

No browser sends webkeeper in its User-Agent, so it can't swallow real visitors.

And a test that sends exactly what the collector sends, a User-Agent of WebKeeper-Collector/1 and no Sec-Fetch-Mode, and expects nothing in the log. The existing test only tried Googlebot, which is precisely the kind of visitor that was never the problem.

The fix went live on September 30. The first full day after it, the counter said 199. Then 135, then 90.

The totals already sent to PostHog stay as they are. Each day is frozen before it's sent, on purpose, so for September 24 to 29 the real number is the reported one minus about 1,440, and the half days on either side need the same treatment. That leaves somewhere around 60 to 140 page loads a day. Less exciting, and a lot more believable next to the browser numbers.

Takeaway

When a counter jumps and settles on a flat new level, divide by 1,440 before you go hunting for bots. A flat line at a multiple of the minutes in a day is a clock, and there's a decent chance the clock is yours.