simulate_googlebot
Simulate Googlebot crawling to capture analytics events and verify bot detection. Returns event timing, snapshots, and request details.
Instructions
Simulate Googlebot crawling a page and capture analytics events.
This tool:
Uses authentic Googlebot user-agent strings
Simulates Googlebot's idle detection behavior (requestIdleCallback)
Intercepts and captures network requests matching your pattern
Returns detailed timing, events captured, and optional screenshots
Use this to verify:
Analytics pageview events fire correctly for bots
Bot detection is working (e.g., page_viewed vs page_viewed_bot)
Content is rendered correctly at the "idle" state
Timing of event firing relative to page load
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | URL(s) to simulate Googlebot crawling | |
| options | No | Optional configuration for the simulation | |
| eventPattern | Yes | Pattern to identify analytics/tracking events. At least one of urlPattern or bodyContains required. |