Get analytics breakdown
get_analytics_detailDeep-dive analytics with period comparison, device breakdown, UTM tracking, and CTA click analysis.
Use when the user wants to optimize campaigns, evaluate traffic sources, or understand user behavior in detail. Includes everything from get_analytics_summary PLUS:
CTA click breakdown (which buttons get clicked most)
Device breakdown (mobile/desktop/tablet)
UTM parameter analysis (source, medium, campaign)
Period-over-period comparison with change percentages
Hourly breakdown (short-term only) 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 analytics detail. 180d/365d/all require Pro or MAX plan. | 7d |
| siteId | Yes | The ID of the page to get detailed 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 |