Goals
get_goalsEvery goal completed in the period with completions, converting visitors, conversion rate and the revenue of converting visitors; give goal for one goal's properties. Lists the site's funnels.
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": "get_goals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | A custom range's last day (YYYY-MM-DD), with from. | |
| from | No | A custom range's first day (YYYY-MM-DD), with to. Up to 366 days, not past today. | |
| goal | No | A goal's name, for its properties' breakdown. | |
| site | No | The site's id. Optional: the API key's site is the one read. | |
| period | No | A preset period, in the site's time zone. Leave out for the tool's default, or give from and to instead. | |
| filters | No | Visits that match every filter (AND). Each dimension at most once. |