analytics_ecommerce
Retrieve ecommerce performance data from GA4, including products and revenue, with filtering by date and pagination.
Instructions
Get ecommerce performance (products, revenue) from 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": {
"propertyId": "<propertyId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "analytics_ecommerce"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | Yes | GA4 Property ID | |
| accountId | No | GA4 account ID for multi-account setups | |
| startDate | Yes | Start date (YYYY-MM-DD) | |
| endDate | Yes | End date (YYYY-MM-DD) | |
| limit | No | Max rows (default 50) | |
| offset | No | Starting row for pagination (0-based) |