site_traffic
How a project's website was visited, from the service that counts it: Google Search Console (clicks, impressions, ctr, position by query, page, country, device or date), Vercel Web Analytics (visitors and page views by page, referrer, source, country, device or date) or Google Analytics 4 (sessions, active users, page views, engaged sessions and key events by source, channel, landing page, country, device or date). Only connections opened to agents are read. The totals are the site's — rows of a breakdown do not add up to them — and the answer's period and notes say what was actually counted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Break down by: query, page, country, device, date, referrer, source or channel. Omit for totals only. | |
| to | No | Last day, YYYY-MM-DD. Omit for the last day counted. | |
| from | No | First day, YYYY-MM-DD. Omit for a week before 'to'. | |
| page | No | Only pages whose address contains this (Search Console), whose path starts with it (Vercel), or sessions whose landing page contains it (Google Analytics). | |
| site | No | Which site, e.g. 'sc-domain:example.com', a Vercel project or 'properties/123456789'. Omit when only one is open. | |
| limit | No | How many rows, at most 50. Default 10. | |
| query | No | Only searches containing this. Search Console only. |