v1

latestOpenAPI 3.1.02026-07-265897154.5 KB
GA4

Get GA4 traffic trend

GA4 daily traffic trend (users, sessions, pageviews) with totals. weeks defaults to 12, max 52. Returns 409 ga4_not_connected if no GA4 property is linked.

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

Path parameters

projectIdstring uuid required

The project id.

Query parameters

weeksinteger

Lookback window in weeks.

Response

Traffic trend.

successboolean required

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