Skip to Content (Press Enter)
Is your Statamic site hiding the pain like Harold? Find out

Latest version v1.2.1 Recently updated

Headcount

Headcount shows how much of your Statamic site's traffic is real people and how much is bots, which bots they are, and which pages the AI crawlers read.
composer require d3creative/statamic-headcount
A wolf wearing a sheep fleece costume looks sheepishly at the camera in a field.

Analytics tools filter out the bots they recognise. That makes them good at counting people, but it leaves out search engines, AI crawlers, SEO tools, uptime monitors and vulnerability scanners. Headcount counts every request on the server, sorts it into humans, suspected bots and named bots, and shows the split in the Control Panel.

What it does

  • Splits page requests into humans, suspected bots and bots, per day and in total, with a chart you can filter by type of traffic or by a single bot such as GPTBot.

  • Names more than 100 bots, from Googlebot and ClaudeBot to AhrefsBot and UptimeRobot, grouped into search engines, AI crawlers, SEO tools, monitors and more.

  • Lists the pages AI crawlers read most, beside the pages people read, so you can see which pages are most likely to shape what AI tools say about you.

  • Checks bots that claim to be from Google, Bing, Apple, OpenAI or Perplexity against the IP ranges those companies publish, and counts the rest as fakes.

  • Lists the paths bots asked for that don't exist, such as /wp-login.php and /.env, and suggests NGINX rules that turn them away before PHP runs.

  • Records requests through Laravel middleware with no setup, or reads your NGINX or Apache access log, which also sees pages served by Statamic's full static cache.

  • Stores no IP addresses and sets no cookies. Nothing is added to your pages, and everything stays on your server.

It needs Statamic 6, PHP 8.3 or later, and Laravel's scheduler running, which most Statamic hosts already have. If you'd like someone to keep your site updated and its server in good shape, that's what my Statamic maintenance plans cover.

Posted by Stephen Meehan. Published .

Posts about Headcount

A woman in retro 3D glasses eats popcorn against a dark background with blue graphics and floating popcorn.

Popcorn

Recently updated

Popcorn adds a Mux video field to Statamic, to upload, choose and play videos, including ones already in your assets.

Latest version v1.0.2 10+ installs

Grayscale canary wearing a miner's hat with a lit headlamp, set against a dark background with blue and cream graphics.
Canary checks that a Statamic site's form emails still send, without saving a submission or emailing the client.

Latest version v1.4.0 55+ installs

A smiling woman holds a blank photographic print, framed by a swirling arc of developing photos.
Darkroom generates images with Google's Nano Banana models in the Statamic Control Panel and saves them into your assets.

Latest version v1.4.0 15+ installs