Create a VWO campaign goal
vwo_new_campaign_goalAdd a new goal to a VWO campaign to define what the experiment measures. Note: modifying goals on a running campaign can invalidate results.
Instructions
Add a new goal to a VWO campaign. Goals define what the experiment measures, so changing them on a running campaign affects reported results and can invalidate conclusions drawn so far.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Definition of the goal to create. VWO does not publish a schema for this request body; see https://developers.wingify.com/reference/create-a-campaign-goal for the accepted fields. The object is sent to VWO as-is. | |
| accountId | No | Numeric VWO workspace (account) id to operate on. Required unless the server has a default workspace configured. If the user referred to a workspace by name, either pass workspaceName instead or call vwo_list_workspaces to look up the id — never guess an id. | |
| campaignId | Yes | VWO campaign id. Call vwo_list_campaigns first if you do not have it. | |
| workspaceName | No | Workspace name to resolve to an id, as an alternative to accountId. Must match exactly one visible workspace, otherwise an error lists the candidates. |