Create Goal
rybbit_create_goalCreate a new conversion goal for a site, either as a URL path match or custom event trigger, to track user actions.
Instructions
Create a new conversion goal for a site. Goal can be path-based (URL match) or event-based (custom event triggered).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional display name for the goal | |
| config | Yes | Goal configuration. Use pathPattern for path goals or eventName for event goals. | |
| siteId | Yes | Site ID (numeric ID or domain identifier) | |
| goalType | Yes | 'path' = URL pattern, 'event' = custom event |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| message | No | ||
| success | No |