Get analytics summary
get_analytics_summaryCheck how a landing page is performing — pageviews, visitors, CTA clicks, referrers, and more.
Use when the user asks about traffic, performance, conversions, or how their page is doing. Returns daily breakdown, top pages, referrers, and country data.
Short-term periods: 7d (default), 30d, 90d
Long-term periods: 180d, 365d, all (Pro/MAX only) Visitors here are this page's; the dashboard's site overview counts people across a site, a different number. For deeper analysis (device breakdown, UTM, hourly data, period comparison), use get_analytics_detail instead. 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 analytics summary. 180d/365d/all require Pro or MAX plan. | 7d |
| siteId | Yes | The ID of the page to get analytics for | |
| 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 |