Query Web Analytics from the Vercel CLI
Vercel just handed coding agents direct access to Web Analytics. Now your AI can answer 'which pages drove conversions?' without human middleman.

Why it matters
Vercel's new CLI integration democratizes analytics querying for AI agents, reducing friction for autonomous agents to self-serve on performance data. This is a quiet infrastructure move that unlocks agent decision-making at the application layer.
The key facts
5 to knowVercel CLI now supports Web Analytics queries natively
Agents can pull page views, visitors, and custom events directly
Use cases: traffic analysis, trend comparison, UTM campaign performance, mobile vs. desktop conversion tracking
Enables agents to answer business questions autonomously without human intervention
Part of broader shift to agent-accessible infrastructure APIs
Go to the source
Vercel Blogvercel.com
Publisher excerpt: You can now query Web Analytics datapoints directly through the Vercel CLI. Using the command, you can pull page views, visitors, and custom events for your Vercel projects to analyze traffic, compare trends, and answer questions about site performance.vercel metrics By providing a coding agent…
