Skip to main content

funnelsUsingGoals

Returns saved funnels on a site that reference any supplied goal, ordered by newest creation time by default. Use funnelList for a paginated search; this operation returns all matches without a cursor. Requires goals view access.

funnelsUsingGoals(
siteId: Int!
goalIds: [Int!]!
order: FunnelListOrder
): [Funnel!]!

Arguments​

funnelsUsingGoals.siteId ● Int! non-null scalar​

Site ID from sites containing the goals and funnels.

funnelsUsingGoals.goalIds ● [Int!]! non-null scalar​

Goal IDs from goalRefList; matches funnels referencing any supplied ID.

funnelsUsingGoals.order ● FunnelListOrder input​

Defaults to CREATED_AT descending; use NAME for alphabetical ranking.

Type​

Funnel object​

Saved funnel definition returned by funnel list, detail, create, and edit operations. Use its ordered goals and optional visit baseline with funnelResult.