Back to feed
Vercel
Vercel
6/26/2026
Query Web Analytics from the Vercel CLI

Query Web Analytics from the Vercel CLI

Short summary

Vercel launched a new CLI command (vercel metrics) enabling developers to query Web Analytics data directly, pulling page views, visitors, and custom events for traffic analysis. The feature supports automated queries via coding agents, allowing real-time questions like identifying top-traffic pages and comparing UTM campaign performance. This enables programmatic analytics access without leaving the CLI environment.

  • New Vercel CLI command (vercel metrics) queries Web Analytics data directly
  • Supports automated queries via coding agents for traffic analysis and comparisons
  • Enables programmatic access to page views, visitors, and custom events

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more