v1

latestOpenAPI 3.1.02026-07-265897154.5 KB
GA4

Get GA4 traffic sources

GA4 traffic sources by channel group + source. weeks defaults to 12, max 52; limit defaults to 20, max 100. Returns 409 ga4_not_connected if no GA4 property is linked.

get/api/mcp/projects/{projectId}/ga4/traffic-sources

Path parameters

projectIdstring uuid required

The project id.

Query parameters

weeksinteger

Lookback window in weeks.

limitinteger

Page size. Default and maximum vary by endpoint — see the operation description.

Response

Traffic sources.

successboolean required

Always true — injected on every success response by this endpoint family's response wrapper.