GoalCreateParams
Goal to create with goalCreate.
input GoalCreateParams {
siteId: Int!
name: String!
autoName: String!
triggers: [GoalTriggerInput!]!
syncValues: Boolean
}
Fields
GoalCreateParams.siteId ● Int! non-null scalar
Site id from the sites query.
GoalCreateParams.name ● String! non-null scalar
Conversion name. Must be between 1 and 255 characters.
GoalCreateParams.autoName ● String! non-null scalar
Fallback display label stored as given; the web app sends the goal name.
GoalCreateParams.triggers ● [GoalTriggerInput!]! non-null input
Triggers that define when the goal converts. Omit id on every entry; ids are rejected on create.
GoalCreateParams.syncValues ● Boolean scalar
Editor preference: when true, the web app copies the first trigger's value settings to every trigger. The server only stores the flag, so send each trigger's value settings explicitly.
Member Of
goalCreate mutation