Get Google Analytics ecommerce performance
get_google_analytics_ecommerce_performanceRead item views, add-to-cart units, purchases, and item revenue by item, or transactions and purchase revenue by landing page. Returns a detected, none, or unknown activity state; landing pages can be limited to those with transactions. Organic Search is the default. 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_ecommerce_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| channel | No | organic_search | |
| endDate | No | Inclusive YYYY-MM-DD date. Provide both startDate and endDate. | |
| breakdown | No | item | |
| 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. | |
| onlyWithTransactions | 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 |