Traffic & Ads Analytics
traffic_analyticsGoogle Analytics 4 traffic and Google Ads performance: overview, sources, landing pages, any GA4 report, realtime, key events (conversions), Ads campaigns and search terms, plus AI-referred visits per page. Each action names a missing connection instead of returning empty data. Search clicks are gsc_performance. Scoped to the connected site; no domain parameter needed. Cost: FREE - reads your connected/stored data, no AI credits. Actions: ai_pages (first-party AI engagement per page: crawler fetches + AI-referred visits).
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": {
"action": "<action>"
},
"name": "traffic_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | look-back window in days. | |
| limit | No | max rows where applicable (ga4_report up to 10,000). | |
| action | Yes | Which operation to run. Each action, and the parameters it needs, is listed in the tool description. | |
| intent | No | Optional, not needed to answer: in a few words, what the user is trying to achieve, kept to improve SEOmatic. No personal details. | |
| response_format | No | Optional. "concise" (default) or "detailed" (the full result; only when a concise answer says it was cut). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||