# People

List the people your site signs in, find one by your own user ID, and open their visits, pages, events and goals.

People lists the visitors your site signs in, the most recently seen first. Open a person to see their visits, the pages they read, the events they sent, the goals they reached and where they came from. Open People under Explore in the sidebar. People come with Insight and Foresight.

## Before you start

People lists only the visitors your site names with a [user ID](/docs/tracking/identify), since an anonymous visitor gets a new ID every day. Once someone signs in, pass the ID your database gives the account, with `data-user` on the script tag, the `user` prop or `identify()`. Until the first event with a user ID arrives, the page shows the snippets to add.

## Read the list

Each row is one person who sent a signed-in event in the range you picked.

- The label is the first 8 characters of the person's ID, a hash of your user ID. The same person keeps the same label on every visit and every device.
- First seen is their first signed-in event in the range, so pick a longer range to look further back. Last seen is their latest, in your site's time zone. A green dot and **Online now** mark a person who sent an event in the last 5 minutes.
- The middle column counts their visits, pageviews and custom events in the range.
- The last country, device and browser come from their latest event sent by a browser. A person your server alone reported, through the [server events API](/docs/install/server), shows **Server events only**.

The list shows 50 people at a time. Click **Seen earlier** for the next 50, and **Most recent** to go back to the top.

## Find a person

Type the user ID your app gives the account in **Find a person by your user ID** and press Enter to open that person. We never store or log the typed ID, and it never goes into the address bar. If nobody with that ID was active in the range, the form says so, so check the ID or pick a longer range.

## Open a person

Click a row to open the person. The top sums up the range: visits, pageviews, events and goals reached, then first and last seen, the last country, device and browser, and the full person ID.

- **Pages they viewed most** counts their pageviews by page.
- **Events they sent** counts their custom events by name.
- **Goals they reached** counts the visits in which each of your [goals](/docs/tracking/goals-and-funnels) happened.
- **Countries, devices and browsers** lists each one they used, the most recent first, with the days it first and last showed up.
- **Visits** lists their latest 50 visits. Click one to open it in [Sessions](/docs/dashboard/sessions), with every event in order.

## How people count

- People count only signed-in events. A page someone viewed before signing in belongs to the visit but not to the person.
- Filters keep whole visits, as in Sessions, and match the person's signed-in events. With Page is `/pricing` set, the list shows the people who opened `/pricing` while signed in, and their counts cover those visits.

Share links never show people.

## Privacy

People never stores or shows the user ID your site passes, only its hash. The hash links one person's visits, so mention it in your privacy notice. Use the ID your database gives the account, never an email address. Only members whose role reads stats can open People; a billing member cannot.

## In the API

The [query endpoint](/docs/api/query) takes `people` for the list and `person` for one profile, by `id` or by your own `user` ID, and answers with what the page shows.

```json
{ "person": { "user": "u_8f2k1x" }, "date_range": { "preset": "30d" } }
```

## Plans

On Glance, People shows what it does with demo people and the plan that has it. The query endpoint answers `ULT-1203` for people on Glance.
