Bot Detection for Websites
Traffic Analyzer: one script, a dashboard and blocking
GeoIPHub Traffic Analyzer is bot detection for websites. Add one script and every visit is scored from 0 to 100 across seven layers of evidence, with the reasons in your dashboard. Free is detection only, for one website and 2,500 visits a month. Starter ($29 a month) and Business ($99 a month) can block.
<script src="https://s.geoiphub.com/v1/traffic.js" defer></script>
<script>geoiphub.init({ websiteKey: "sk_your_website_key" });</script>The website key is public. No secret, no backend change.
Free plan, no card. Paid from $29 a month.
After you sign in, add your website under Traffic Analyzer in the left menu.
- headless_user_agentAutomation layer0.9Critical
- ip_datacenterIP layer0.45
- click_teleportBehaviour layer0.8
- Layers of evidence
- 7
- Documented reasons
- 127
- Verdict bands
- 3
- Free plan
- $0
How do you detect bots on your website with one script?
Traffic Analyzer installs with two lines before the closing body tag of your pages, plus your website key. Every visit is then read in the browser and scored by GeoIPHub within a few seconds.
- The script loads from s.geoiphub.com and reads the visit in the browser.
- It sends device, connection and interaction signals to GeoIPHub.
- GeoIPHub scores the visit and returns a verdict, within a few seconds.
- The dashboard shows the visit, the verdict and the reasons; on paid plans a block shows a block screen.
In the dashboard, bot traffic detection is per visit: every scored visit gets a class (human, bot, AI agent or proxy and VPN) and the top reasons behind its verdict, and you can see bot traffic by country and network.
The website key is public and only your allowed websites can use it. No secret, no backend change. It is a small script, and the tag uses defer.
If your site sends a Content Security Policy, add https://s.geoiphub.com to script-src, https://s.geoiphub.com wss://s.geoiphub.com to connect-src, and blob: to worker-src, as the script reference shows.
Step-by-step setup is in the Traffic Analyzer install guide.
What does Traffic Analyzer look at? Seven layers of evidence
Traffic Analyzer scores each visit from 0 to 100 across seven layers of evidence: network, automation, behaviour, consistency, device, IP and history, scored separately and combined.
| Layer | What it reads | Example reason code |
|---|---|---|
| Layer: Network | What it reads: Relayed or proxied connections, measured from round-trip times. | Example reason code: rtt_gap_relay |
| Layer: Automation | What it reads: Traces left by automation frameworks and headless browsers. | Example reason code: automation_framework_globals |
| Layer: Behaviour | What it reads: How the visitor moves, clicks and types. | Example reason code: click_teleport |
| Layer: Consistency | What it reads: Whether the browser's story agrees with itself and with the connection. | Example reason code: ua_header_mismatch |
| Layer: Device | What it reads: Evidence about the browser and device. | Example reason code: device_many_ips_24h |
| Layer: IP | What it reads: GeoIPHub IP intelligence: VPN, Tor, hosting, abusive and spoofed-crawler IPs, and IPs GeoIPHub has observed acting as proxies, including on residential and mobile lines. See VPN and proxy detection. | Example reason code: ip_datacenter |
| Layer: History | What it reads: How an IP address and a device have behaved in their earlier sessions, such as repeated bot sessions or bursts of visits. | Example reason code: ip_bot_history |
History alone cannot block someone who moves like a person.
Behind the layers is a catalogue of 127 documented reasons, each with a weight.
For how the IP and the device compare as evidence, read device fingerprinting vs IP intelligence.
Three verdict bands
Traffic Analyzer turns the score into one of three verdicts:
allow: 0 to 29challenge: 30 to 69block: 70 to 100
These bands belong to Traffic Analyzer. The IP lookup API uses its own scale.
A block needs two layers at 0.6 or higher, or one critical reason. Otherwise the score is capped at 69, so it stays a challenge. A VPN or privacy tool alone cannot produce a block.
Critical reasons include automation_framework_globals and headless_user_agent in the automation layer, and behaviour reasons such as mostly_untrusted_events.
A challenge is a flag in your dashboard: the visitor is allowed and is not interrupted.
- headless_user_agentAutomation layer0.9Critical
- ip_datacenterIP layer0.45
- click_teleportBehaviour layer0.8
Is there a free bot detection script?
Yes, with a limit: Traffic Analyzer's Free plan is a hosted script that scores visits and fills a dashboard, for one website and 2,500 visits a month. It detects and does not block.
A hosted script with a free tier is a different thing from a library. BotD from FingerprintJS is a free open-source library, so here is how the two compare:
| Topic | BotD (FingerprintJS open source) | Traffic Analyzer Free |
|---|---|---|
| Topic: What it is | BotD (FingerprintJS open source): An open-source library you bundle (MIT licence, "will always be free for developers and commercial use") | Traffic Analyzer Free: A hosted script and dashboard on a Free plan |
| Topic: Install | BotD (FingerprintJS open source): npm i @fingerprintjs/botd, then load() and botd.detect() | Traffic Analyzer Free: Two script lines with a website key |
| Topic: Where the result lives | BotD (FingerprintJS open source): The library returns a result to your code | Traffic Analyzer Free: In your dashboard, with reasons per visit |
| Topic: Blocking | BotD (FingerprintJS open source): Your own code | Traffic Analyzer Free: Not on Free; on paid plans |
| Topic: Limits | BotD (FingerprintJS open source): No visit cap stated | Traffic Analyzer Free: 1 website, 2,500 visits a month, 7 days of history |
| Topic: Scope (its README) | BotD (FingerprintJS open source): Detects "basic bots"; stealth plugins and AI agent detection are listed only for the paid Fingerprint Bot Detection API; needs JavaScript | Traffic Analyzer Free: See What it does not stop |
| Topic: Maintenance | BotD (FingerprintJS open source): README: near-term roadmap is stability-only, so new features are unlikely | Traffic Analyzer Free: Hosted product, changes with the service |
Checked against the BotD README on 2026-12-01.
What does bot detection for websites cost?
GeoIPHub Traffic Analyzer has four plans: Free at $0, Starter at $29 a month ($290 a year), Business at $99 a month ($990 a year) and Enterprise at a custom price. Free detects and does not block; the paid plans add blocking and longer history.
| Plan | Free | Starter | Business | Enterprise |
|---|---|---|---|---|
| Price | $0 | $29 a month, or $290 a year | $99 a month, or $990 a year | Custom |
| Websites | 1 | 2 | 10 | Custom |
| Visits a month | 2,500 | 25,000 | 250,000 | Custom |
| Visit history in the dashboard | 7 days | 30 days | 365 days | Custom |
| Block list | None | 500 entries | 5,000 entries | Custom |
| Blocking and auto-block | No (detection only) | Yes | Yes | Yes |
| Choose a plan | Start free | Get Starter | Get Business | Book a call |
At the monthly limit new visits are not analysed and your site keeps working; on paid plans your IP blocks stay enforced, and visitor blocks when the device matches exactly. Counts reset on the 1st of each month (UTC). On a downgrade your blocks are kept but not enforced.
Traffic Analyzer is included in your GeoIPHub plan: the same Starter or Business subscription also raises the IP lookup API limit (5,000 and 50,000 requests a day).
Every plan side by side is on the pricing page. After you sign in, add your website under Traffic Analyzer in the left menu.
What Traffic Analyzer detects
Each visit is read in the browser, and every verdict comes with the reasons that fired.

Headless browsers
Traces left by automation frameworks and headless browsers. Two of them are critical reasons on their own.
- headless_user_agent
- automation_framework_globals
Scripted behaviour
How the visitor moves, clicks and types. Some behaviour reasons are critical on their own.
- click_teleport
- mostly_untrusted_events
AI agents
Signed agents from trusted signers are verified and labelled. Browser agents that act step by step are flagged.
- verified_agent
- agent_think_cadence
Relayed connections
Relayed or proxied connections, measured from round-trip times.
- rtt_gap_relay
Risky IPs
VPN, Tor, hosting and abusive IPs from GeoIPHub IP intelligence.
- ip_datacenter
Spoofed crawlers
A User-Agent that claims a crawler from an IP that does not belong to its operator.
- ip_crawler_spoofed
Headless browser detection
Traffic Analyzer detects headless browsers by the traces that automation tools such as Puppeteer, Playwright and Selenium leave in the browser. Each reason has a weight from 0 to 1, and two of them are critical, so either can block on its own. These are the reasons it reads:
headless_user_agent(0.9, critical): the browser declares itself headless in its User-Agent.automation_framework_globals(0.95, critical): globals left in the page by an automation framework.webdriver_flag(0.6):navigator.webdriveris true.headless_markers(0.5): a zero outer window size, or the 800x600 default viewport without browser chrome.cdp_runtime(0.25): a debugging protocol client is attached. Opening DevTools also trips it, so it is weak on its own.
A setup that hides these traces scores lower on this layer. One weak reason cannot block, and the visit is still scored on behaviour, consistency and IP evidence.
What the IP alone can and cannot tell you about a headless click is in our test of headless browser ad clicks.
AI agent detection
Traffic Analyzer tells three kinds of AI traffic apart and labels them in the dashboard, where AI agents appear as their own class next to people and bots.
- Crawlers that fetch HTML. GPTBot and ClaudeBot generally do not run page scripts, so a script may not see them as visits. Verify them by IP range or reverse DNS instead, as in how to verify an AI crawler; the AI crawler list names the common ones.
- Signed agents. A Web Bot Auth signature is checked and accepted only from trusted signers, by default
chatgpt.comandagent.bot.goog. A verified agent is labelledverified_agent, scores at most 10 and is not auto-blocked. A valid signature from any other signer is labelledagent_signed_unknownand earns no trust. - Browser agents that act step by step.
agent_think_cadence(0.4) fires on a long pause before nearly every action with almost no pointer motion.
Does it block Googlebot and verified AI agents?
Not automatically. Verified crawlers and verified signed agents score at most 10 and are allowed, so auto-block never touches them.
A crawler is verified by a published IP range or reverse-and-forward DNS; spoofed ones are excluded. When a User-Agent claims a crawler and the IP does not belong to its operator, the visit gets ip_crawler_spoofed (0.85) instead of a pass.
Manual blocks still apply. If you add a visitor or IP to your block list by hand, that block applies even to a verified crawler.
The allowance depends on verification being right, so check a crawler yourself with the crawler IP checker, or read how to spot a fake Googlebot.
From score to action: how blocking works
Free is detection only. From Starter up, Traffic Analyzer can block, and the block runs in the visitor's browser as a block screen. It reaches only visitors that run the script.
Each visit is checked in this order:
- Visitor block
- IP block
- Auto-block, only when auto-block is on for the website, the plan allows it and the verdict is block
To block by hand, open a session in the dashboard and use Block visitor or Block IP in the Access box. The Blocked page lists your entries, each with Unblock. Auto-block is a per-website switch and is off by default. Block list sizes are in the plans table above.
If no decision arrives within 12 seconds, the visit is allowed.
What it does not stop
Traffic Analyzer only decides on visits where its script runs. These are its limits:
- Clients that do not run JavaScript, including scripts using curl or plain HTTP libraries.
- A stripped or blocked script: if the script does not load, there is no verdict.
- Direct calls to your API or server endpoints that never load a page.
- Visits with no decision within 12 seconds are allowed (fail open).
- The Free plan does not block. Over the monthly limit new visits are not analysed and the site keeps working; on paid plans IP blocks stay enforced (visitor blocks when the device matches exactly), and auto-block needs a score, so it does not apply to visits that were not analysed.
- A VPN or a privacy tool alone is never blocked; a single layer cannot block; history alone cannot block a human-looking visit.
- Declared crawlers that do not run page scripts are not visible to the script (see AI agent detection).
For requests that never load your pages, check the IP on your server with the IP lookup API. Bot detection by IP covers what the address can tell you, and detecting web scraping covers scrapers that skip your pages.
Frequently asked questions
- GeoIPHub Traffic Analyzer is bot detection for websites. You add one script, every visit is scored from 0 to 100 across seven layers of evidence, and your dashboard shows each verdict with the reasons. Paid plans can also block. It comes with your GeoIPHub plan, the same one that covers the IP lookup API.
- Yes, with a limit: one website and 2,500 visits a month, 7 days of history, detection only. It is a hosted script with a website key, not a library you download and run yourself.
- Free is $0 for one website and 2,500 visits a month, and it detects without blocking. Starter is $29 a month ($290 a year) for 2 websites and 25,000 visits a month. Business is $99 a month ($990 a year) for 10 websites and 250,000 visits a month. Enterprise is priced on request.
- Not automatically, if they verify. Verified crawlers and verified signed agents score at most 10 and are never auto-blocked. Only two signers are trusted by default, chatgpt.com and agent.bot.goog, so a visit that claims ChatGPT without a valid signature is scored like any other visit. Manual blocks still apply, even to a verified crawler.
- No. A VPN or a privacy tool alone cannot produce a block. A block needs two layers at 0.6 or higher, or one critical reason, so such a visit stops at challenge at most. A challenge is a flag in your dashboard: the visitor is allowed and is not interrupted.
- Yes, some can. A client that never runs the script, or a stripped script, is not stopped, as the section on what it does not stop explains. A setup that hides automation traces scores lower on that layer, and the visit is still scored on behaviour, consistency and IP evidence.
- New visits are not analysed and your site keeps working. On paid plans your IP blocks stay enforced, and visitor blocks when the device matches exactly. Auto-block needs a score, so it does not apply to visits that were not analysed. Counts reset on the 1st of each month (UTC).
- Within a few seconds. If no decision arrives within 12 seconds, the visit is allowed, so a slow or failed decision never locks a visitor out.
- Yes. It is one script tag, so it works anywhere you can paste a script before the closing body tag of your pages. The install guide has steps for WordPress and Shopify.
- Yes. Use Traffic Analyzer for visits that load your pages, and the IP lookup API for server-side checks on requests that never load a page, such as direct calls to your API or form posts.
Last updated 2026-12-01. Also see threat intelligence for the IP feeds behind the IP layer.
Put one script on your site
The Free plan covers one website and 2,500 visits a month, no card. Paid plans add blocking and longer history.
- 1 website free
- Detection on every plan
- Blocking from Starter
