Get analytics overview
analytics_get_overviewRetrieve a comprehensive analytics overview with visits, AI visits, goal completions, top engines, landing pages, and collector state to monitor site performance.
Instructions
Get the GA Overview via GET /api/v1/analytics/overview: visits · AI visits · goal completions chain, top engines and landing pages, goals summary, instrumentation card, six-state collector + freshness. HONESTY: totals: null means the collector has no basis to report (check collector.state) — NOT zero; totals.goalCompletions: null and goals.configured: false mean goals are not set up, which is different from a configured goal with zero completions. Does not use credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO end date. | |
| tz | No | IANA time zone for day bucketing. | |
| from | No | ISO start date (alternative to range). | |
| range | No | Day count (default 30). | |
| projectId | No | Numeric project id (convenience shape; do not combine with propertyId). | |
| propertyId | No | Explicit analytics property id (primary target). Pass ALONE — combining with a project reference is rejected. When omitted, pass a project reference instead; that resolves only when the project has exactly one property (409 property_scope_ambiguous otherwise). | |
| projectUuid | No | Project UUID (alternative to projectId). |