Skip to main content

goalConversionBreakdown

Returns a numbered page of conversion metrics grouped by one visitor or traffic dimension for one non-deleted goal. Use goalPageConversions to group by conversion page with URL search. Rows default to total conversions descending, then dimension value ascending; missing values are grouped as (not set), and values use the site's display currency. Requires goal view access.

goalConversionBreakdown(
id: Int
siteId: Int
startDate: Int
endDate: Int
dimension: GoalConversionDimension!
page: Int
perPage: Int
order: GoalConversionBreakdownOrder
): GoalConversionBreakdownList

Arguments​

goalConversionBreakdown.id ● Int scalar​

Required despite being nullable: goal id from goalRefList or goalCardList.

goalConversionBreakdown.siteId ● Int scalar​

Ignored; the goal's own site is used.

goalConversionBreakdown.startDate ● Int scalar​

Unix seconds; defaults to the goal's creation time. Earlier times are raised to creation time, and the range starts at the beginning of that UTC day.

goalConversionBreakdown.endDate ● Int scalar​

Unix seconds; defaults to now. Times before creation are raised to creation time, and the range ends at the end of that UTC day.

goalConversionBreakdown.dimension ● GoalConversionDimension! non-null enum​

Attribute to group conversions by.

goalConversionBreakdown.page ● Int scalar​

Page number starting at 1; defaults to 1.

goalConversionBreakdown.perPage ● Int scalar​

Rows per page; defaults to 25. Must be at least 1; there is no maximum.

goalConversionBreakdown.order ● GoalConversionBreakdownOrder input​

Omit for TOTAL_CONVERSIONS descending. A supplied object defaults to TOTAL_CONVERSIONS and ASC, so set sort explicitly.

Type​

GoalConversionBreakdownList object​

Numbered page returned by goalConversionBreakdown.