Dev.to WebDev 🛠 Dev 👁 0 📖 4 min read

A month after launch, 98% of my traffic is still bots

A month ago I wrote about my launch week: the logs said 749 page views, and after filtering, the real number was 31. A few people asked the obvious follow-up: does it get better once the launch spike is over? So here's

A month ago I wrote about my launch week: the logs said 749 page views, and after filtering, the real number was 31. A few people asked the obvious follow-up: does it get better once the launch spike is over?

So here's the month. Since launch, my site has served 22,351 HTML requests. 483 of them were people.

That's 2.2%. And the share hasn't moved: about 1.5% in the first six days, about 1.6% in the last seven. The number of people grew. So did the bots, at about the same rate.

Where the 22,351 went

Same report as last time: a Python script over CloudFront's JSON access logs, no IP addresses, no analytics script. Each HTML request lands in exactly one bucket, in this order:

Bucket Requests
Bot user agent, or a browser that can't exist 11,808
Crawler (too many pages a minute or a day) 4,934
Fetched the HTML, never ran the app 4,622
Probe for a page that doesn't exist 228
Opened my own dashboard that day (me, mostly) 75
Uncertain: old browser, but ran the app 201
People 483

The user-agent check still does most of the work, and the "never ran the app" check is still the one I trust most: a real browser downloads the JavaScript bundle (or has it cached) within a minute of the page. Over 4,600 requests a month skip that step.

People, week by week

Week Page views
19–25 Oct 46
26 Oct–1 Nov 83
2–8 Nov 122
9–15 Nov 162

That's real growth, from a small base. Most visits arrive with no referrer at all, so I can't say where they came from; of the ones that do, Google and my own posts lead. Most people land on the homepage or a comparison page, read it and leave.

What changed after the comments

The "uncertain" line. The most useful comment on the first post (thanks, Om) was about the old-browser rule. I was dropping any browser more than about a year out of date, because scanners hard-code old versions. Om's point: real people use old phones and work PCs that stopped updating. When I checked, 10 launch-week views had been dropped by that rule alone, and every one of them had run the app.

So those don't get dropped or counted now. They go on their own line:

if not ran_app(r):
    bots["HTML only, never ran the app"] += 1
    continue
if OLD_BROWSER.search(unquote(key[2] or "")):
    uncertain += 1   # ran the app, but on a browser years out of date
    continue

The order matters: the old-browser check comes after "did it run the app", so anything on this line has already passed every other test.

I expected that line to stay small. It didn't: about 8 in the first six days, 10 the week after, then 70, 61 and 52 in the last three weeks. Either more people on old devices found the site at the same time as more people did generally, or a scanner that runs JavaScript and sends an old user agent turned up. Without IPs I can't tell, which is the whole reason it's a separate line.

Real 404s. My site is a single-page app, so it used to return index.html with a 200 for any path. In the first six days, 200 requests were probes for /wp-login.php and friends. In the last seven days: none. The scanners haven't stopped; unknown paths now get a real 404, so they never reach the HTML count at all. The filter became the fix.

A higher daily limit. A browser fetching 20 pages in a day is treated as a crawler. It was 8, which caught a keen reader (and me).

The thing I can't explain yet

71 of the 483 views came from China, 70 of them in the last three weeks, in bursts. They pass every filter: current browsers, they run the app, they don't read pages faster than a person. No Chinese referrers, no sign-ups, and the site has nothing aimed at China.

They're probably automated browsers good enough to pass all of the checks. But "probably" isn't proof, and without IPs I can't see more. For now they're counted, with a note next to them. Without them, the last few weeks are flatter than the table suggests.

Bots aside, the number that matters

Three browsers reached the sign-up form in the month. The form recorded one submission. Two people actually signed up in that time, so some browsers block even my own first-party pings. Every number above is a lower bound for people and an upper bound for anything that looks like a person.

What I took from it

  • The bot share didn't fall after launch. It's the background level of the internet for a small site, and it scales with how findable you are.
  • Every filter needs a "not sure" line. Dropping things you can't classify quietly hides the mistakes in your own rules.
  • Fixing the server beat filtering the logs. Real 404s removed a whole category.
  • 483 real views in a month, from 31 in launch week. It's small, but it's real, and it's the number I watch.

If you read your own logs, what's the strangest traffic you've had to explain? And has anyone found a good way to classify old browsers that run JavaScript?

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.