goals_create
Create or reactivate a conversion goal and return the goal record. Browser pixel events with the same eventName count as conversions; monetary value is stored only on plans with revenue tracking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable goal name, e.g. Lead or Purchase. | |
| value | No | Optional default monetary value. Ignored when the plan does not include revenue tracking. | |
| eventName | Yes | Exact event name the browser pixel will fire. | |
| projectId | No | Optional project ID. Omit only when the API key is project-scoped or the account has a clear default project. |