Site traffic (GA4)
ga4_trafficGoogle Analytics 4 totals for the window (sessions, users, pageviews, key events, bounce rate, average session), visits per channel with AI assistants as a channel of their own, and the landing pages behind the key events. include_daily adds sessions per day.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ga4_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window length ending yesterday (default 28, 7–90). | |
| project_id | No | Project id or slug. | |
| include_daily | No | Also return sessions per day. |