Update Goal

Update an existing goal.

Update Goal

Updates the configuration of an existing goal. Requires member role or higher.

Endpoint

PUT /api/v1/organizations/:orgId/sites/:siteId/goals/:goalId

Request Body

FieldTypeRequiredDescription
namestringNoGoal display name
patternstringNoPage path or event name to match
match_typestringNoexact, contains, or regex
valuenumberNoMonetary value per conversion
currencystringNoCurrency code (e.g. USD)
property_conditionsarrayNoProperty filters for custom events

The type field is immutable — goals are auto-created as custom_event or pageview and cannot change type after creation.