Update Goal
rybbit_update_goalUpdate an existing analytics goal by replacing its full definition with a new goal type and configuration. Specify site ID, goal ID, and config to modify path or event matching rules.
Instructions
Update an existing goal. You must provide the full goal definition (goalType + config) as the update replaces the entire goal. Use rybbit_list_goals to find goal IDs and current configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name for the goal | |
| config | Yes | ||
| goalId | Yes | Goal ID (numeric) to update. Use rybbit_list_goals to find IDs. | |
| siteId | Yes | Site ID (numeric ID or domain identifier) | |
| goalType | Yes | 'path' to match URL pathname, 'event' to match custom event name |