---
id: 20260627-T0-10
title: "Vercel CLI支持直接查询Web Analytics数据"
title_en: "Vercel CLI Adds Support for Direct Web Analytics Queries"
url: https://ai.daily.yangsir.net/daily/20260627-T0-10
issue_date: 2026-06-27
publish_date: 2026-06-26T08:00:00.000Z
category: release
source_name: "Vercel Blog"
source_url: https://vercel.com/changelog/query-web-analytics-from-the-vercel-cli
---

# Vercel CLI支持直接查询Web Analytics数据

Vercel 发布更新，现可通过命令行工具 `vercel metrics` 直接查询 Web Analytics 数据点。开发者无需访问网页端，即可在终端拉取项目的页面浏览量、访客数及自定义事件数据，用于分析流量趋势和对比站点性能。该功能通过提供编程代理访问权限，进一步简化了开发者在本地环境进行数据监控的流程。

## English Version

**Vercel CLI Adds Support for Direct Web Analytics Queries**

Vercel released an update allowing users to query Web Analytics datapoints directly via the CLI using the `vercel metrics` command. Developers can now pull page views, visitors, and custom events for their projects directly in the terminal to analyze traffic and compare trends. This feature simplifies workflows by providing programmatic agent access to site performance data without needing to visit the dashboard.

---

**来源**：[Vercel Blog](https://vercel.com/changelog/query-web-analytics-from-the-vercel-cli)

**详情页**：https://ai.daily.yangsir.net/daily/20260627-T0-10

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*