Query Web Analytics from the Vercel CLI
You can now query Web Analytics data directly through the Vercel CLI using the vercel metrics command, allowing you to pull page views, visitors, and custom events for your projects to analyze traffic and performance trends.
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 access to the CLI, an agent can answer questions such as:
For more details on how to use the CLI command and a complete list of supported metrics, dimensions, filters, and query options, explore the .documentation
Which pages gained the most traffic this week?
Which UTM campaigns drove the most signups this month?
Compare conversion events between mobile and desktop users.
Source: original entry ↗