List analytics goals
analytics_list_goalsRetrieve destination-URL goals with per-goal completions and per-source splits, plus attribution rules like within-visit counting. Use stable numeric IDs to act on a goal.
Instructions
List destination-URL goals via GET /api/v1/analytics/goals: per-goal completions and per-source split, with the attribution disclosure (within-visit model, one completion per goal per visit, prospective counting from goal creation). Goal names are customer-authored data; use the stable numeric id to act on a goal. Does not use credits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analytics_list_goals"
}
}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). |