Get Google Analytics traffic acquisition
get_google_analytics_traffic_acquisitionCompare session acquisition by channel group, source/medium, or campaign, including sessions, users, engagement, key events, transactions, and revenue. Previous-period comparison is available for channel group; source/medium also reports attribution-quality diagnostics. Reads only the GA4 property already connected to a NameIO project the caller is authorized to access. The server selects the Google account and property from that project's saved connection. Read-only and uses no NameIO credits.
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": {
"projectId": "<projectId>"
},
"name": "get_google_analytics_traffic_acquisition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| endDate | No | Inclusive YYYY-MM-DD date. Provide both startDate and endDate. | |
| breakdown | No | channel_group | |
| projectId | Yes | Required. The NameIO project ID to scope this call to. Get one from list_projects. | |
| startDate | No | Inclusive YYYY-MM-DD date. Provide both startDate and endDate. | |
| comparePreviousPeriod | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| error | No | ||
| quota | No | ||
| source | No | ||
| status | Yes | ||
| request | No | ||
| pageInfo | No | ||
| rowCount | No | ||
| warnings | No | ||
| comparison | No | ||
| diagnostics | No | ||
| totalRowCount | No | ||
| reportMetadata | No | ||
| ecommerceActivity | No | ||
| diagnosticCoverage | No | ||
| siteSearchActivity | No |