Skip to main content

goalCardList

Returns a cursor page of non-deleted goals with full trigger settings and A/B test counts, newest id first. Use goalListSummary for recent conversion counts; pass nextPageCursor back as cursor while hasNextPage is true. Requires goal view access.

goalCardList(
site: Int
search: String
cursor: String
limit: Int
): GoalCardListMeta!

Arguments​

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

goalCardList.cursor ● String scalar​

nextPageCursor from the previous page of this query; omit for page one.

goalCardList.limit ● Int scalar​

Page size from 1 to 200; defaults to 50, and -1 returns every remaining goal.

Type​

GoalCardListMeta object​

Cursor page returned by goalCardList.