MCP Fathom Analytics
by mackenly
get-aggregation
Get aggregated analytics data from Fathom
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aggregates | Yes | Comma-separated list of aggregates to include (visits,uniques,pageviews,avg_duration,bounce_rate,conversions,unique_conversions,value) | |
date_from | Yes | Start date (e.g., 2025-01-01 00:00:00 or 2025-01-01) | |
date_grouping | No | Optional date grouping | |
date_to | Yes | End date (e.g., 2025-12-31 23:59:59 or 2025-12-31) | |
entity | Yes | The entity to aggregate (pageview or event) | |
entity_id | Yes | ID of the entity (site ID or event ID) | |
field_grouping | No | Comma-separated fields to group by (e.g., hostname,pathname) | |
filters | No | Array of filter objects | |
limit | No | Limit on number of results | |
sort_by | No | Field to sort by (e.g., pageviews:desc) | |
timezone | No | Timezone for date calculations (default: UTC) |
Input Schema (JSON Schema)
You must be authenticated.