ga_run_report
Run custom Google Analytics reports by specifying date ranges, dimensions, metrics, and filters to retrieve tailored data.
Instructions
Run a custom Google Analytics report with dimensions and metrics.
⚠️ TOKEN OPTIMIZATION: Use 'limit' to control result size (default: 10). This tool can consume significant tokens with large datasets.
Common dimensions: date, city, country, deviceCategory, browser, pagePath, eventName Common metrics: activeUsers, sessions, screenPageViews, conversions, totalRevenue
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of rows to return (default: 10) | |
| offset | No | Number of rows to skip (for pagination) | |
| metrics | Yes | Metrics to measure (e.g., [{name: "activeUsers"}]) | |
| orderBys | No | Sorting specification | |
| dateRanges | Yes | Date ranges for the report | |
| dimensions | No | Dimensions to group by (e.g., [{name: "date"}]) | |
| metricFilter | No | Metric filter expression | |
| dimensionFilter | No | Dimension filter expression |