update_goal
Replace a goal's full definition to update its configuration; send complete goal data to avoid clearing unspecified fields.
Instructions
Replace a goal's definition. Send the whole goal, not just the changed fields — omitted fields are cleared, not kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | ||
| site | Yes | site_id from list_sites. | |
| goal_id | Yes | id from list_goals. | |
| operator | No | ||
| event_name | No | ||
| scroll_depth | No |