hermosodocs

vercel_event_analytics

Vercel custom events (conversions) read-only

Area: Vercel · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Vercel CUSTOM EVENTS, the CONVERSIONS on a Vercel-hosted site (signups, purchases, any track('Name') from @vercel/analytics): the count and unique visitors over a window, and with `by` a breakdown by eventName, eventData/<property> (e.g. eventData/plan), utmSource / utmMedium / utmCampaign / utmContent / utmTerm (which ad or campaign drove the conversion), requestPath, country and the rest, or a time step. Up to TWO at once, e.g. by 'utmCampaign,eventName' or 'day,utmCampaign'. eventName narrows to one event. This is the conversion half of an ad report for a landing page on Vercel; vercel_web_analytics is the traffic half. Custom events need Web Analytics on and a Vercel Pro or Enterprise plan. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).

Parameters

ParameterTypeDescription
projectIdrequiredstringproject id or name (list_vercel_projects)
eventNamestringonly this event, e.g. 'Signup'
bystringone or TWO comma-separated dimensions: eventName, eventData, eventData/<property>, utmSource, utmMedium, utmCampaign, utmContent, utmTerm, requestPath, referrerHostname, country, deviceType, osName, browserName, route, environment, flags, flags/<key>, or one time step hour/day/week/month/year
daysnumber1-366, default 30
sincestringYYYY-MM-DD (instead of days)
untilstringYYYY-MM-DD (default now)
limitnumberrows in the breakdown, 1-100, default 10
filterstringVercel'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_event_analytics.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"vercel_event_analytics","arguments":{"projectId":"<string>"}}}

CLI

hermoso call vercel_event_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.

All 728 Publishing & scheduling tools · tools.json