Sign inGet started
Tracking

Googlebot

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

Googlebot crawls the web for Google Search and renders pages in Chromium. Its user agents, robots.txt rules, how to slow it down and how to verify it's Google.

Updated

Googlebot is the crawler of Google Search. It comes in two types, Smartphone and Desktop, and most requests come from the smartphone one, since Google indexes the mobile version of a page first. After fetching a page, Google renders it in a headless Chromium and runs its JavaScript, so Googlebot can run your analytics tag.

We checked Google's Googlebot page and its common crawlers page on November 30, 2026.

What does Googlebot's user agent look like?

W.X.Y.Z stands for the current Chrome version, so match it with a wildcard:

Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z Safari/537.36

Rarely, it sends the short Googlebot/2.1 (+http://www.google.com/bot.html).

Does Googlebot follow robots.txt?

Yes, always, when it crawls on its own. Both types answer to one token, Googlebot, so robots.txt can't tell them apart; Googlebot-Image, Googlebot-Video and Googlebot-News follow Googlebot rules too. Blocking a page from crawling doesn't keep it out of results: a blocked address can still show up. To keep a page out, use noindex and let Googlebot read it.

Google doesn't support Crawl-delay. For most sites, Google says Googlebot shouldn't come more than once every few seconds on average. To slow it in an emergency, answer with 500, 503 or 429 for a few hours; after a day or two, pages may start dropping from the index.

How do you know it's really Google?

Look up the address: the name must end in googlebot.com, google.com or googleusercontent.com, and looking that name up again must return the same address. Or match it against Google's list at https://developers.google.com/static/crawling/ipranges/common-crawlers.json. See Google's verification page.

Does it show up in your analytics?

Not as a visit. Most crawlers read your HTML and never run your analytics tag, so tag-based tools such as Google Analytics 4 don't see them at all. The ones that render pages in a browser can run the tag. nextanalytica recognizes them by their user agent when the hit reaches its edge, stores the hit apart under the bot's name and leaves it out of every report. Your agent still sees how many hits from bots arrived and weren't counted as visits. See Bot traffic.

This command adds nextanalytica to Claude Code:

claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp

Next steps

Related
  • What the tag collects: Page views, clicks, forms, scroll, errors and page speed, counted without code. What never leaves the page.
  • Add the tag: Put one script line in the head of every page. Where it goes in plain HTML, site builders and each framework.
  • Next.js analytics: Add analytics to Next.js with @nextanalytica/tag: install, events, consent and AI crawlers, counted without cookies until a yes and read by your agent.
  • Next.js custom events: Send custom events from a Next.js app with @nextanalytica/tag: sign-ups, demo requests and conversions your agent reads by channel.
  • Next.js cookie consent: Wire a cookie banner in Next.js to analytics: count without cookies until the answer, and pass the saved answer on every page.
  • Next.js revenue tracking: Record orders in a Next.js app, from the browser or from your server, so revenue ties to the visit, channel and campaign it came from.
Still have questions?
Was this page useful?