funnelResult
Calculates ordered goal-conversion counts, step values, and next-step rates for a site and required window. Use
funnelDetail for saved definitions; this operation accepts steps directly and saves nothing. Goals must be
accessible and belong to the site; an optional leading visit step uses site-wide visitor/session counts. Buckets
sort chronologically and rates are percentages; drop-off is 100 minus the rate. Requires funnels view access.
funnelResult(
siteId: Int!
startAt: Int!
endAt: Int!
timeUnit: TimeUnit!
steps: [FunnelStep!]!
): FunnelQueryResult!
Arguments
funnelResult.siteId ● Int! non-null scalar
Site ID from sites; every goal step must belong to this site.
funnelResult.startAt ● Int! non-null scalar
Inclusive conversion-window start in Unix seconds, interpreted in UTC.
funnelResult.endAt ● Int! non-null scalar
Inclusive conversion-window end in Unix seconds, interpreted in UTC.
funnelResult.timeUnit ● TimeUnit! non-null enum
Bucket size for timeUnitResults: DAY, WEEK (starting Monday), or MONTH.
funnelResult.steps ● [FunnelStep!]! non-null input
Ordered steps: an optional leading VISIT step without id, followed by GOAL steps with IDs from
goalRefList. URL matching comes from each goal's triggers, not from this input.
Type
FunnelQueryResult object
Top-level funnel response containing the full-range summary and the same ordered steps grouped into day, week, or month buckets.