Visit/session analytics summary (by day / source / device / landing)
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Inclusive window start (YYYY-MM-DD). Parsed with parseDateRangeParams; when either startDate or endDate is missing/invalid the route falls back to a rolling default window (30 days for events/visits/attribution, 7 days for growth).
Inclusive window end (YYYY-MM-DD). See startDate for fallback behavior.
Responses
Section titled “Responses”ByDay / bySource / byDevice / topLanding plus _meta. Same fixed _count.<dimension> literal-key pattern as analyticsEventsSummary. bySource labels come from visit_attributions.channelSource (falling back to utmSource, then the literal “direct”); byDevice falls back to “UNKNOWN”; topLanding falls back to “(unknown)”. _meta here has no queryDurationMs — only scope/scopeLabel constants.
object
Gap-filled daily series across the requested range.
object
YYYY-MM-DD (UTC)
Top 10 channel sources.
object
object
Top 10 device types.
object
object
Top 10 landing URLs.