AI assistant traffic
ai_trafficVisits from AI assistants (ChatGPT, Perplexity, Copilot, Gemini, Claude and others) from GA4: total, share of all sessions, by assistant, every landing page and the daily trend, with change against a comparison period.
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": "ai_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true returns Google's response exactly as Google sent it, unchanged. | |
| site | No | The site's domain (example.com) or its label. Optional when the account has exactly one site switched on. An unknown name returns an error that lists the switched on sites. | |
| offset | No | Row to start from, for the next page. Default 0. | |
| period | No | Date range. Default last_28_days. Named ranges end when the data is complete. | |
| compare | No | What to compare with. Default previous_period (same length, right before). | |
| end_date | No | Custom end date YYYY-MM-DD. | |
| page_size | No | Rows per page, default 1000, max 5000. Every row is available through paging. | |
| start_date | No | Custom start date YYYY-MM-DD. Overrides period. |