vercel_web_analytics
Vercel Web Analytics read-only
Description
Vercel WEB ANALYTICS for one project: page views and unique visitors over a window (default the last 30 days, production traffic), and with `by` a breakdown by requestPath (which pages), referrerHostname (where visitors came from), country, deviceType, osName, browserName, route, utmSource / utmMedium / utmCampaign / utmContent / utmTerm (which campaigns and ads brought them), or a time step (day, week, month). Use it to see which landing pages and ad campaigns actually bring traffic. Needs Web Analytics turned on for the project in Vercel. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).
Parameters
| Parameter | Type | Description |
|---|---|---|
projectIdrequired | string | project id or name (list_vercel_projects) |
by | string | one or TWO comma-separated dimensions (at most one time step): requestPath, referrerHostname, country, deviceType, osName, browserName, route, utmSource, utmMedium, utmCampaign, utmContent, utmTerm, environment, flags, flags/<key>, hour, day, week, month, year — e.g. 'day,utmCampaign' |
days | number | 1-366, default 30 |
since | string | YYYY-MM-DD (instead of days) |
until | string | YYYY-MM-DD (default now) |
limit | number | rows in the breakdown, 1-100, default 10 |
filter | string | Vercel's OData filter, e.g. utmSource eq 'facebook' |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/vercel_web_analytics.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"vercel_web_analytics","arguments":{"projectId":"<string>"}}}
CLI
hermoso call vercel_web_analytics --json '{"projectId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
connect_connectorConnect a paste-a-key accountlist_vercel_domainsList Vercel domainsvercel_event_analyticsVercel custom events (conversions)list_vercel_deploymentsList Vercel deploymentsdeploy_vercel_pageDeploy a page to Vercellist_vercel_projectsList Vercel projectsdelete_vercel_deploymentDelete a Vercel deployment