Skip to main content

GoalLinked

Goal with trigger filters returned by goalLinked, goalSelectorList, and the goal field of add-ons; may be soft-deleted.

type GoalLinked {
id: Int!
siteId: Int!
name: String
autoName: String
hasValue: Boolean
createdAt: Int
deletedAt: Int
triggers: [GoalTriggerLinked!]
}

Fields​

GoalLinked.id ● Int! non-null scalar​

GoalLinked.siteId ● Int! non-null scalar​

Id of the site the goal belongs to.

GoalLinked.name ● String scalar​

GoalLinked.autoName ● String scalar​

Fallback display label; null when unset.

GoalLinked.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.

GoalLinked.createdAt ● Int scalar​

Creation time in Unix seconds.

GoalLinked.deletedAt ● Int scalar​

Soft-deletion time in Unix seconds; null while the goal is active.

GoalLinked.triggers ● [GoalTriggerLinked!] list object​

All triggers, soft-deleted ones included; check deletedAt.

Returned By​

goalLinked query ● goalSelectorList query

Member Of​

Addon object