How the catalogs are doing
get_analyticsThe analytics the app shows: views, unique visitors and product clicks over a period, with a time series. Without catalogId: the account-wide overview, plus top catalogs, referrers, countries, devices and browsers. With one: that catalog's detail — page heatmap and top products where the plan includes them — and live, the visitors of the last five minutes. Referrers, countries and devices are reported account-wide only. Needs a plan with analytics; without one the answer says so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO date, with period "custom"; default now | |
| from | No | ISO date, with period "custom" | |
| period | No | 7d, 30d, 90d, 1y, all, or custom with from/to | 30d |
| catalogId | No | One catalog, as returned by list_catalogs; omit for the overview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| summary | Yes |