GoalCardGoal
Goal returned by goalCardList, with full trigger settings and A/B test counts.
type GoalCardGoal {
id: Int!
siteId: Int!
name: String
autoName: String
createdAt: Int
triggers: [GoalTriggers!]
abTestsCount: Int
abTestsCountActive: Int
}
Fields
GoalCardGoal.id ● Int! non-null scalar
GoalCardGoal.siteId ● Int! non-null scalar
Id of the site the goal belongs to.
GoalCardGoal.name ● String scalar
GoalCardGoal.autoName ● String scalar
Fallback display label; null when unset.
GoalCardGoal.createdAt ● Int scalar
Creation time in Unix seconds.
GoalCardGoal.triggers ● [GoalTriggers!] list object
All triggers, soft-deleted ones included; check deletedAt.
GoalCardGoal.abTestsCount ● Int scalar
A/B tests ever linked to the goal, including drafts and deleted tests.
GoalCardGoal.abTestsCountActive ● Int scalar
Linked A/B tests that are neither drafts nor deleted, such as running and stopped tests.
Member Of
GoalCardListMeta object