sincecutoff.com
← all changes

vercel project web-analytics enables Web Analytics

Introduced 2026-04-06 · score 0.94

HOW TO USE IT

When enabling Web Analytics for a Vercel project, run `vercel project web-analytics` with an optional project name; add `--format json` for JSON output. In non-interactive use, handle the command’s error payloads.

vercel project web-analytics
vercel project web-analytics <project-name>
vercel project web-analytics --format json

WHY THIS HELPS

Enable Web Analytics for a project while configuring its development workflow.

REQUIREMENTS AND LIMITATIONS

  • Version: 50.40.0
  • name: Project name; omit to use the linked project.
  • --format json: Output the result as JSON.
  • Prerequisite: For CLI project selection, link the project with `vercel link`, or select it with `--project` or `VERCEL_PROJECT_ID`. In non-interactive environments, the docs say to set `VERCEL_ORG_ID` and `VERCEL_PROJECT_ID` to skip linking.
  • The command includes non-interactive error payloads.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card