Diagnose page performance
analyze_site_performanceAnalyze a landing page's aggregate analytics and return a compact diagnosis with prioritized next actions.
Use when the user asks what to improve, why conversions changed, whether traffic quality is healthy, or what to test next. This tool does NOT return raw event logs or form submission payloads. It returns aggregate metrics, top drivers, findings, evidence, and recommendations. Periods: 7d (default), 30d, 90d | 180d, 365d, all (Pro/MAX only). With 90d, a timeZone other than the workspace's leaves the change figures null, except for form submissions: the previous 90 days come only from daily summaries kept in the workspace's time zone. Leave timeZone out for 90d changes. Dates and hours are in the workspace's time zone, UTC when the workspace has none set. Pass timeZone, an IANA name such as America/New_York, for days in another zone; it changes only this response, never the workspace's time zone. The result's timeZone field names the zone used, and timeZoneSource says where it came from (argument, workspace, or default). A row for today's date in that zone counts only the hours so far. When timeZonePending is set, the workspace is switching to that zone once its history is recomputed. 180d, 365d, and all come from daily summaries kept in the workspace's time zone, so a different timeZone isn't used there: the result stays in the summaries' zone and names the zone you passed as requestedTimeZone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period for the diagnosis. 180d/365d/all require Pro or MAX plan. | 7d |
| siteId | Yes | The ID of the page to analyze | |
| timeZone | No | IANA time zone name for the days in this response, such as America/New_York, Europe/Berlin, or Asia/Tokyo. Leave it out for the workspace's time zone (UTC when none is set). It affects only this response: the workspace's time zone stays as it is, and only the workspace's owner changes it, in the dashboard's Settings. Abbreviations such as EST and offsets such as +09:00 aren't accepted. | |
| botFilter | No | Whether to exclude known bots and vulnerability scanner traffic. Defaults to exclude. Use include only for diagnostics. | exclude |