Goal

Partially update goal

Update several fields of a goal

patch/goals/{goalId}

Request

Path parameters

goalIdinteger required

Request body

descriptionstring

Description of the goal

hasMultipleConversionsboolean

Does this goal have multiple conversions

isMainGoalboolean

Indicates if this is the main goal associated with this experiment

namestring

Name of the goal

tagsstring[]

Tags being associated with this experiment

trackingToolsstring[]

Tracking tools being used in this experiment

type'CLICK' | 'CUSTOM' | 'SCROLL' | 'PAGE_VIEWS' | 'URL' | 'TIME_SPENT' | 'RETENTION_RATE' | 'WAREHOUSE' | 'RATIO_METRICS'

Type of goal

Response

OK

createdByinteger

Account Id of the creator of the experiment

dateCreatedstring date-time
dateModifiedstring date-time
descriptionstring
experimentAmountinteger

Number of experiments using this goal. This is an optional field that that is included in the request body

experimentsinteger[]

List of experiment ids using this goal. This is an optional field that is included in the request body

featureFlagAmountinteger

Number of feature flags using this goal. This is an optional field that that is included in the request body

hasMultipleConversionsboolean required

Indicates if this goal has multiple conversions

holdoutAmountinteger

Number of holdouts using this goal. This is an optional field that is included in the request body

holdoutsinteger[]

List of holdout ids using this goal. This is an optional field that is included in the request body

idinteger

Unique Id of the goal

isActiveboolean

Deprecated. Use status instead. Indicates the status of the goal: active or not

isTargetingSegmentMentalistboolean

Indicates if the goal is related to a mentalist segment. This is an optional field that is included in the request body

mentalistWeightnumber double
namestring required

Name of the goal

personalizationAmountinteger

Number of personalizations using this goal. This is an optional field that is included in the request body

personalizationsinteger[]

List of personalization ids using this goal. This is an optional field that is included in the request body

siteIdinteger required

Site Id of the project that the goal belongs to

status'ACTIVE' | 'INACTIVE'

Indicates the status of the goal: active or inactive

tagsstring[]

List of tags belonging to this goal. For GET requests: this is an optional field that has to be specified in request params.

targetingSegmentMentalistinteger[]
trackingToolsstring[]
type'CLICK' | 'CUSTOM' | 'SCROLL' | 'PAGE_VIEWS' | 'URL' | 'TIME_SPENT' | 'RETENTION_RATE' | 'WAREHOUSE' | 'RATIO_METRICS' required

Type of goal

Changes

No recorded changes to this operation across all 1 revision of this API.