Customise a goal
update_goal_customizationSets how one goal is shown: display name, color, internal description or hidden. Send only what changes; null clears a field. Tracking, filters and alerts keep the raw name. Requires the write scope and an admin or the owner.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"goal": "<goal>"
},
"name": "update_goal_customization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Raw goal (custom event) name, exactly as tracked. | |
| color | No | One of the palette hex colors, or null. | |
| hidden | No | Leave the goal out of dashboard lists. | |
| website_id | No | Website ID from list_websites (the data-site-id value in the tracking script). | |
| description | No | Internal note for the team. | |
| display_name | No |