ga4_user_journey
Retrieve a chronological event timeline for a single user using their GA4 client ID. Analyze user journey step-by-step with customizable date range and event limit.
Instructions
Best-effort event timeline for a single user. Requires user-scoped clientId custom dimension exposed via GA4 — falls back to empty rows if not configured.
Args: client_id: GA4 clientId value to filter on start_date: YYYY-MM-DD (default: 28 days ago) end_date: YYYY-MM-DD (default: today) limit: Max events (default: 100)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"client_id": "<client_id>"
},
"name": "ga4_user_journey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| end_date | No | ||
| client_id | Yes | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |