# Dashboard access requires sign-in

You can also investigate this project using the Vercel CLI. The commands below require a CLI session with access to the project.

If you don't have the CLI installed, run:

```sh
npm i -g vercel
```

Sign in with `vc login` if needed.

## Web Analytics

### Query daily page views

```sh
vc metrics vercel.analytics.page_view.count --scope burhanuddins-projects-4f5cce59 --project stream-vault-7u6q --since 7d --granularity 1d --json
```

### Query daily unique visitors

```sh
vc metrics vercel.analytics.page_view.count --scope burhanuddins-projects-4f5cce59 --project stream-vault-7u6q --aggregation unique/visitorId --since 7d --granularity 1d --json
```

### Query top pages

```sh
vc metrics vercel.analytics.page_view.count --scope burhanuddins-projects-4f5cce59 --project stream-vault-7u6q --group-by requestPath --since 7d --json
```

### Query custom events by name

```sh
vc metrics vercel.analytics.event.count --scope burhanuddins-projects-4f5cce59 --project stream-vault-7u6q --group-by eventName --since 7d --json
```

### Discover Analytics metrics and dimensions

```sh
vc metrics schema vercel.analytics --scope burhanuddins-projects-4f5cce59 --json
```

