traffic
Retrieve GA4 sessions by source and medium, and total AI assistant referrals separately, including each assistant's top landing pages. Use it to see which sources and AI platforms drive site visits.
Instructions
GA4 sessions by source and medium, plus AI assistant referrals (ChatGPT, Perplexity, Copilot, Gemini, Claude and others) totalled separately. Each assistant lists the landing_pages its visits started on, most sessions first. Only for sites with GA4.
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": {
"site": "<site>"
},
"name": "traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| days | No | ||
| site | Yes | ||
| limit | No | ||
| start | No | ||
| compare | No |