Steep captures what your users do, so you decide whom it captures, what it leaves out, and how long journeys are kept. This page covers every control, in your code and on the key.

## Deciding whom to capture

Deciding whom to capture is yours. Steep shows your users nothing — no banner and no prompt. Use `startSteep`, `stop`, `optOut` and `optIn` from your code. Giving your users any notice, and getting any consent the law requires, is your responsibility.

If your site asks for consent, ask in your own way, and start Steep only after the user agrees. Steep then applies two of the key's settings on top of your choice.

## Browser privacy signals

The key's **Respect browser privacy signals** setting is on by default. While it's on, a browser that sends Global Privacy Control isn't captured at all: Steep sends nothing, and its state reads `privacy-signal`.

If you turn it off, those browsers are captured, and each of their journeys shows that the browser sent the signal.

## Only signed-in users

The key's **Only capture signed-in users** setting is off by default. While it's on, Steep captures nothing until your app identifies the user with a token from your server, keeps nothing from before the sign-in, and stops capturing when the user signs out.

## Stop or opt out

`stop()` stops capture for the rest of the page. `optOut()` stops it on this browser for your site until `optIn()`, and throws away anything not yet sent.

| Call           | What it does                                                 | How long it lasts                                        |
| -------------- | ------------------------------------------------------------ | -------------------------------------------------------- |
| `steep.stop()` | Sends what was already captured, then stops                  | Until the next page load, or until you start Steep again |
| `optOut()`     | Stops Steep at once and throws away anything not yet sent    | In this browser, for your site, until `optIn()`          |
| `optIn()`      | Clears the opt-out. Steep runs again the next time it starts |                                                          |
| `isOptedOut()` | Tells you whether this browser is opted out                  |                                                          |

The opt-out lives only in this browser's storage. It doesn't follow the user to another browser or device, and clearing site data removes it. Keep the user's choice on your side too, and don't start Steep for someone who said no.

## Exclude parts of a page

Add `data-teaflask-ignore` to an element to keep it, and everything inside it, out of what Steep captures:

```html
<div data-teaflask-ignore>…</div>
```

Clicks, field changes and form submits inside it are skipped, and page outlines leave it out. To exclude elements without changing your markup, list CSS selectors, one per line, under **Ignored regions** on the key's **What it captures** page. Requests your code makes from an ignored region are captured like any other request, bodies included when the key's settings allow.

Steep captures nothing from sensitive fields such as passwords, card numbers and one-time codes, and nothing from the Teaflask assistant's own interface. See [What Steep captures](/steep-data).

## Typed values and outlines

Two of the key's settings decide how much of a page's content Steep keeps, and the settings that add request content depend on them:

| Setting           | When on (the default)                                               | When off                                                                                                                |
| ----------------- | ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| **Typed values**  | Field values are kept, after redaction                              | Only a field's length is kept, page addresses lose their query values, and typed text is masked in titles and addresses |
| **Page outlines** | A text outline of each page is kept, with sensitive fields redacted | No outlines are taken                                                                                                   |

Typed values off also turns off request bodies and request query values; Page outlines off also turns off response bodies. See [Steep keys](/steep-keys) for the other capture settings.

## How long journeys are kept

Journeys are kept for 90 days by default. Under **Keep journeys for** on the key's **What it captures** page, choose anything from 7 to 365 days. The setting applies to every journey from the key, including ones already captured, so shortening it deletes the older journeys within minutes.

## Delete journeys

Delete a journey from its page, or every journey of a signed-in user from their page, under **Steep**. Deletion is only in the dashboard. Deleting makes the data unreadable at once and removes it from storage within 24 hours. Learning findings that rest only on deleted journeys are hidden at once and deleted within about an hour. Text a learning run already sent to an AI provider may be kept by that provider for a limited time under its terms to monitor for abuse; providers don't train on it. A deleted person's id stays in the deletion receipt for at most 2 days.

Deleting a user's journeys doesn't stop new ones. To stop capturing someone, don't start Steep for them (keep your own opt-out list), or have your page call `optOut()` in their browser. Anonymous journeys can only be deleted one at a time, or left to expire.

**Deletions** under **Steep** lists every deletion and when its data left storage. Deleting your Teaflask organization deletes all of its journeys.

## No export

There is no export. To answer someone's request to see their data, open their journeys in the dashboard.

## What Steep stores in the browser

Steep sets no cookies. Its browser storage is listed below; it never stores captured activity in the browser.

| Storage          | Key                 | Holds                                                                                 | Cleared                                   |
| ---------------- | ------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------- |
| `sessionStorage` | `tf-steep:session`  | Journey id, key prefix, the signed-in user's id if any, start and last-activity times | When the tab closes                       |
| `sessionStorage` | `tf-steep:identity` | A sign-in token valid up to 12 hours                                                  | At sign-out, user change, or journey end  |
| `sessionStorage` | `tf-steep:config`   | The key's settings and any pause time                                                 | When the tab closes                       |
| `localStorage`   | `tf-steep:opt-out`  | `"1"`, only after `optOut()` (tab storage if `localStorage` is blocked)               | At `optIn()` or when site data is cleared |

## More resources

- [Overview](/steep) – what Steep captures, and what it is not
- [Steep keys](/steep-keys) – where the privacy and capture settings live
- [What Steep captures](/steep-data) – every event, and what redaction removes
- [View journeys](/steep-journeys) – opening and deleting journeys, and deletion receipts
- [Learning](/steep-learning) – reports on your journeys, and what deleting a journey does to them
