Skip to main content

goalSelectorList

Returns every matching non-deleted goal with its trigger filters, ordered by name, without pagination. Use goalRefList when filters are not needed or goalCardList for paging and A/B test counts. Trigger lists include soft-deleted triggers. Requires goal view access.

goalSelectorList(
site: Int
search: String
): [GoalLinked!]!

Arguments​

goalSelectorList.site ● Int scalar​

Site id from the sites query; omit to list goals from all account sites.

Keeps goals whose name contains this text; * matches any characters. Blank means no filter.

Type​

GoalLinked object​

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