Skip to content

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.

html
<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.

Example decision. Illustrative, not a real visitor.
Verdictblock
Block band: 70 to 100
Why it blocks
  • headless_user_agentAutomation layer0.9Critical
Also fired
  • ip_datacenterIP layer0.45
  • click_teleportBehaviour layer0.8
One critical reason is enough to block. A VPN alone cannot reach block.
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.

  1. The script loads from s.geoiphub.com and reads the visit in the browser.
  2. It sends device, connection and interaction signals to GeoIPHub.
  3. GeoIPHub scores the visit and returns a verdict, within a few seconds.
  4. 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.

The seven layers of evidence in Traffic Analyzer
Layer: NetworkWhat it reads: Relayed or proxied connections, measured from round-trip times.Example reason code: rtt_gap_relay
Layer: AutomationWhat it reads: Traces left by automation frameworks and headless browsers.Example reason code: automation_framework_globals
Layer: BehaviourWhat it reads: How the visitor moves, clicks and types.Example reason code: click_teleport
Layer: ConsistencyWhat it reads: Whether the browser's story agrees with itself and with the connection.Example reason code: ua_header_mismatch
Layer: DeviceWhat it reads: Evidence about the browser and device.Example reason code: device_many_ips_24h
Layer: IPWhat 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: HistoryWhat 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 29
  • challenge: 30 to 69
  • block: 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.

Example decision. Illustrative, not a real visitor.
Verdictblock
Block band: 70 to 100
Why it blocks
  • headless_user_agentAutomation layer0.9Critical
Also fired
  • ip_datacenterIP layer0.45
  • click_teleportBehaviour layer0.8
One critical reason is enough to block. A VPN alone cannot reach block.

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:

BotD compared with the Traffic Analyzer Free plan
Topic: What it isBotD (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: InstallBotD (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 livesBotD (FingerprintJS open source): The library returns a result to your codeTraffic Analyzer Free: In your dashboard, with reasons per visit
Topic: BlockingBotD (FingerprintJS open source): Your own codeTraffic Analyzer Free: Not on Free; on paid plans
Topic: LimitsBotD (FingerprintJS open source): No visit cap statedTraffic 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 JavaScriptTraffic Analyzer Free: See What it does not stop
Topic: MaintenanceBotD (FingerprintJS open source): README: near-term roadmap is stability-only, so new features are unlikelyTraffic 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.

PlanFreeStarterBusinessEnterprise
Price$0$29 a month, or $290 a year$99 a month, or $990 a yearCustom
Websites1210Custom
Visits a month2,50025,000250,000Custom
Visit history in the dashboard7 days30 days365 daysCustom
Block listNone500 entries5,000 entriesCustom
Blocking and auto-blockNo (detection only)YesYesYes
Choose a planStart freeGet StarterGet BusinessBook 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.

Bot Detection for Websites

What Traffic Analyzer detects

Each visit is read in the browser, and every verdict comes with the reasons that fired.

Read the Traffic Analyzer docs

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.webdriver is 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.com and agent.bot.goog. A verified agent is labelled verified_agent, scores at most 10 and is not auto-blocked. A valid signature from any other signer is labelled agent_signed_unknown and 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:

  1. Visitor block
  2. IP block
  3. 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

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