Overview
overviewCompare a date range’s visits, identified users, conversions, revenue, failed writes, daily activity, and top pages/events against the previous period to spot trends and diagnose jumps.
Instructions
Visits, identified users, conversions, revenue and failed writes of a range against the previous period, the daily activity of both, and the top pages and events. Annotations (the annotations tool) are notes the project's people wrote on days, such as a launch, a campaign or a broken release: they often explain a jump in the daily series. revenue holds current, previous and daily: the revenue of the events counted as conversions, null when the goal counted is a page or the project has no goal. Revenue is a sum of the numeric revenue property the site sent on events, in the project's currency (currency in list_projects and project_settings) and as sent: changing the currency or sending amounts in another one converts nothing. A range that ends today is compared with the previous period up to the same time of day. visitors holds the unique visitors, counted without any identifier and only for a project that counts them (visitors.enabled, visitors_enabled in project_settings); when enabled is false every list is empty. The first event of each visit says whether its browser is new (first_visit), back for the first time this month (first_this_month) or today (first_today), or back again today (again_today); a visit without that mark never counts. daily holds those four counts per day: the unique visitors of a day are first_visit + first_this_month + first_today, and the new ones are first_visit. months holds, per calendar month the range touches, first_visit and first_this_month on the range's days of that month, and exact: their sum is the month's unique visitors only when exact is true, as when the range holds the whole month or runs from its 1st to today. previous_daily and previous_months hold the same for the previous period. Days do not add up to unique visitors: a browser back on two days counts on both. A visitor is a browser: two devices count as two, and a browser whose storage was cleared counts as new. Conversions count one goal: the one goal names, by its id from the goals tool, or else the first goal (goal 1), which started as the project's former conversion event; they are null when the project has no goal.
The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days.
Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived.
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": {
"project_id": "<project_id>",
"from": "<from>",
"to": "<to>"
},
"name": "overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day of the range, inclusive (YYYY-MM-DD), at most the project's today. | |
| from | Yes | First day of the range, inclusive (YYYY-MM-DD). | |
| goal | No | The goal counted as conversions, by its id from the goals tool; without it, the first goal (goal 1). | |
| project_id | Yes | The project id, from list_projects. |