Bots: find automated visitors and the networks they come from
Describes Web Analytics 0.9.0.
The Bots page ranks visitors by how much they look automated, and says why. It only reads: nothing on it drops or blocks anyone. It gives you what you would decide by, including a list to paste into a firewall.
Where to find it
Web Analytics → Bots (/admin/web-analytics/bots). You need the Owner role or the Web Analytics permission.
The page reads what Settings → Who a visitor is keeps about visitors. With nothing kept it says Nothing is kept about visitors yet. and links to Open settings. Declared bots (crawlers that name themselves) only appear when Record bot traffic is on in Settings.
Bots: visitors by how automated they look.
Choosing what to look at
Two rows of links at the top:
- The period: 24 hours, 7 days (the default), 30 days or All.
- The level: Everyone, Suspicious and up or Likely bots.
The numbers
- Visitors: visitor IDs seen in the period that something is kept about. One person or bot can be several, when its address changes or its ID’s period ends.
- Likely bots: a score of 60 or more.
- Suspicious: a score from 30 to 59.
- Devices: distinct device hashes among them. Needs device measurements kept.
The score
Each visitor’s score is the sum of the weights of the reasons found, for example Says it is a bot, No User-Agent, Hosting provider’s network, Browser under automation, Pages faster than a person reads, Never ran JavaScript or Graphics drawn in software. A reason can only count if its data is kept: header reasons need Keep request headers, network reasons Keep the network’s owner, device reasons Keep device measurements.
A score never removes a visit from the reports. A visit leaves the reports only when it is flagged as a bot’s: a declared bot, or one caught by Spot bots by behaviour in Settings.
Visitors and groupings
The tabs pick the view: Visitors, Networks, Subnets, Addresses, Devices and User-Agents.
Visitors lists each one with Score, Visitor (address, visitor ID, device hash, network with a hosting tag, User-Agent), Why (the reasons), Last seen, and Latest visit, which opens that visitor’s newest visit. Clicking an address, device or network narrows the list to it; the filter shows as a badge you can click to remove.
A grouping lists what several visitors share, with Visitors, Likely bots, Highest score and Last seen. Click a group to see its visitors. A grouping with nothing to show says what it needs, for example Needs the IP address kept.
As a list
On Networks, Subnets and Addresses, As a list opens the groups with at least one likely bot, one per line, to paste into a firewall, a CDN rule or a deny list. Look before you block: a network or subnet holds more than the visitors seen here.
What it doesn’t do
- It doesn’t block, drop or flag anyone.
- It knows nothing about a visitor that Settings don’t keep. Network names need a geo resolver that returns them; the module has none built in.