# See what one person did in your app

> After a feedback message or a support email, have an Agent find that person in AirTraffic and list what they did in your app, in order, before the problem.

Source: https://air.build/docs/services/see-what-one-person-did-in-your-app/

When someone writes in about a problem, it helps to know what they did just before it. An Agent can list one person's AirTraffic events in the order they happened: the screens they opened and what they did there, with the app's version. It uses `workers traffic events --person`.

> [!NOTE]
> No screen in AirBuild shows one person's events: **Latest Events** in the **AirTraffic** tab shows the newest events from everyone. You ask an Agent in the Project's chat. Your app needs AirTraffic: see [Measure app usage (AirTraffic)](https://air.build/docs/services/measure-usage/#add-airtraffic-to-your-app).

## Who the Agent can find

It depends on **Identity** in the **AirTraffic** tab. The tab says: "Anonymous counts devices. Linked counts each signed-in person once across their devices."

| Identity | What it means here |
| --- | --- |
| **Linked to Signed-In Users** | A signed-in person's events are tied to them, across their devices. The Agent starts from their account, such as their email or user ID. |
| **Anonymous** | Each device is a separate person, and its events aren't tied to an account. The Agent can only find someone's events if it can tell which device was theirs. |

Linking needs sign-in in your app. You can't change **Identity** in the tab: ask your Agents. See [Measure app usage (AirTraffic)](https://air.build/docs/services/measure-usage/#identity). The app doesn't say whether events sent before a change are tied to the person afterwards, or which of a person's IDs AirTraffic knows them by. If the Agent can't find someone from what you gave it, give it what else you know.

## Ask

Tell the Agent what happened, roughly when, and something that names the person: the email they wrote from, or their user ID. For people who sign in with the sign-in AirHost provides, open their page in the **App Users** tab and tap **Copy User ID**. See [See and manage your app's users](https://air.build/docs/services/manage-app-users/#open-a-persons-page).

Ask in the Project's chat, for example:

```text
Someone wrote that the app froze after they tapped Save on a new note, around 3 PM today. Their user ID is USER_ID. What did they do in the app before that?
```

1. The Agent finds the person. It can look through your app's users with `workers users`, or read a feedback entry you point it to with `workers feedback show`.
2. It lists the person's events with `workers traffic events --person`, a page at a time (`--limit`, `--before`). With `--event`, it keeps to one kind of event.
3. It replies with the events in order: each one's name and time, and what your app sent with it, such as the screen and the app's version.

Nothing changes in your app: these commands only read.

## Start from a feedback message

1. Open the message in the **AirFeedback** tab and tap **Ask _Agent_ to Fix** (or **Fix with Agent**). A card with the message, the device details and the screenshots goes into the Project's chat. See [Collect feedback and crashes (AirFeedback)](https://air.build/docs/services/collect-feedback-and-crashes/#hand-it-to-an-agent).
2. In the chat, ask the Agent to check what the person did first, as below.

```text
Before you fix it, check what this person did in the app before they wrote. Their email is EMAIL.
```

The message's **Details** show the **App Version**, **Device**, **OS Version**, **Language** and when it was **Received**, but not who sent it. If you know who it was, tell the Agent.

## Ask for a fix

Once the steps are clear, ask, for example:

```text
Try those steps in Preview and fix what goes wrong.
```

Check the fix yourself in Preview. See [Run your app in Preview](https://air.build/docs/build/preview-your-app/). When it's fixed, open the message in **AirFeedback** and tap **Mark as Done**, or ask the Agent to mark it done.

## Questions

**The Agent can't find the person.**

With **Anonymous**, see [Who the Agent can find](https://air.build/docs/services/see-what-one-person-did-in-your-app/#who-the-agent-can-find). With **Linked to Signed-In Users**, the person may not have signed in, or may have used a version of your app without AirTraffic. After someone taps **Reset Data** in the **AirTraffic** tab, everything sent before is gone: see [Measure app usage (AirTraffic)](https://air.build/docs/services/measure-usage/#reset-the-data).

**The list doesn't show the thing they tapped.**

Your app doesn't send an event for it. Ask the Agent to add one. It shows from the next version of your app on, not for what happened before.

**Did the app crash?**

Look in the **Crashes** list in **AirFeedback**. A crash shows its **Last Screen** when the app reports screens. See [Collect feedback and crashes (AirFeedback)](https://air.build/docs/services/collect-feedback-and-crashes/#read-a-crash).

**I want numbers for everyone, not one person.**

See [Ask your Agents how people use your app](https://air.build/docs/services/ask-agents-about-your-apps-numbers/), or [See where people drop off in your app](https://air.build/docs/services/see-where-people-drop-off/) for a flow such as sign-up.
