GoalRef
Lightweight goal reference returned by goalRefList, goalRef, and goalsByIds; may be soft-deleted.
type GoalRef {
id: Int!
siteId: Int!
name: String
hasValue: Boolean
createdAt: Int
deletedAt: Int
}
Fields
GoalRef.id ● Int! non-null scalar
GoalRef.siteId ● Int! non-null scalar
Id of the site the goal belongs to.
GoalRef.name ● String scalar
GoalRef.hasValue ● Boolean scalar
True when any trigger, soft-deleted ones included, has a value source or every trigger is an api or
ecommerce_event trigger; false when the goal has no triggers.
GoalRef.createdAt ● Int scalar
Creation time in Unix seconds.
GoalRef.deletedAt ● Int scalar
Soft-deletion time in Unix seconds; null while the goal is active.
Returned By
goalRef query ● goalRefList query ● goalsByIds query