<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/query-web-analytics-from-the-vercel-cli-5iszwdncq" -->

---
title: Query Web Analytics from the Vercel CLI | daily.dev
description: Vercel has added a new `vercel metrics` CLI command that lets developers query Web Analytics data directly from the terminal. It supports pulling page views,...
canonical: https://daily.dev/posts/query-web-analytics-from-the-vercel-cli-5iszwdncq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Query Web Analytics from the Vercel CLI | daily.dev
og:description: Vercel has added a new `vercel metrics` CLI command that lets developers query Web Analytics data directly from the terminal. It supports pulling page views,...
og:url: https://daily.dev/posts/query-web-analytics-from-the-vercel-cli-5iszwdncq
og:image: https://api.daily.dev/og/posts/5isZWdNCQ.png
og:image:alt: Query Web Analytics from the Vercel CLI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Web Analytics from the Vercel CLI

**[Vercel](https://daily.dev/sources/vercel)** · 1 min read · 0 upvotes · 1 comments

## Summary

Vercel has added a new `vercel metrics` CLI command that lets developers query Web Analytics data directly from the terminal. It supports pulling page views, visitors, and custom events for Vercel projects, enabling traffic analysis, trend comparisons, and conversion tracking. The feature also supports integration with coding agents to answer analytics questions programmatically.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://vercel.com/changelog/query-web-analytics-from-the-vercel-cli>

## Community discussion

Top comments from developers on daily.dev.

**@capjavert** · 0 upvotes

> Enabling LLM to do traffic analysis, trend comparisons, and conversion tracking 😆

## Similar posts on daily.dev

- [Query observability metrics using the Vercel CLI](https://daily.dev/posts/query-observability-metrics-using-the-vercel-cli-ksviy7mcp) · Vercel · 0 upvotes · 0 comments
- [Query Speed Insights from the Vercel CLI](https://daily.dev/posts/query-speed-insights-from-the-vercel-cli-9n01yqkcm) · Vercel · 0 upvotes · 0 comments
- [Vercel Agent can now install Web Analytics and Speed insights for you](https://daily.dev/posts/vercel-agent-can-now-install-web-analytics-and-speed-insights-for-you-optg8gidu) · Vercel · 1 upvotes · 0 comments

---

Tags: [#cli](https://daily.dev/tags/cli), [#vercel](https://daily.dev/tags/vercel)

[View this post on daily.dev](https://daily.dev/posts/query-web-analytics-from-the-vercel-cli-5iszwdncq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Query Web Analytics from the Vercel CLI","url":"https://daily.dev/posts/query-web-analytics-from-the-vercel-cli-5iszwdncq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/query-web-analytics-from-the-vercel-cli-5iszwdncq"},"datePublished":"2026-06-26T12:25:49.210Z","dateModified":"2026-06-26T12:26:07.299Z","description":"Vercel has added a new `vercel metrics` CLI command that lets developers query Web Analytics data directly from the terminal. It supports pulling page views,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4d42d68e9016d58895534c04b760bf98?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4d42d68e9016d58895534c04b760bf98?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Vercel","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Vercel","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/04cca7235cf84db092f24b7ba427b3e1","url":"https://daily.dev/sources/vercel"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/query-web-analytics-from-the-vercel-cli-5iszwdncq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"cli,vercel","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Vercel","item":"https://daily.dev/sources/vercel"},{"@type":"ListItem","position":3,"name":"Query Web Analytics from the Vercel CLI"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/query-web-analytics-from-the-vercel-cli-5iszwdncq","comment":[{"@type":"Comment","text":"Enabling LLM to do traffic analysis, trend comparisons, and conversion tracking 😆","datePublished":"2026-06-26T12:34:22.598Z","url":"https://daily.dev/posts/5isZWdNCQ#c-nY37s4WHO","author":{"@type":"Person","name":"Ante Barić","url":"https://daily.dev/capjavert","image":"https://media.daily.dev/image/upload/v1679300599/avatars/avatar_LJSkpBexOSCWc8INyu3Eu.jpg"}}]}
```

