# Getting data & results

The final pillar of building a successful direct mail program is the ability to continuously iterate--to measure your baseline performance, and keep optimizing your direct mail performance with data and results gained from your sends.&#x20;

Lob offers you ways to gain unprecedented visibility into where every single individual mail piece is moving in the delivery mailstream, and can alert you with notifications at each stage so that you can build sophisticated downstream workflows and processes based on these alerts. You can also define, search, and slice and dice your mailpiece data in any way you see fit, to better understand channel performance and attribution.&#x20;

<table data-view="cards"><thead><tr><th></th><th data-hidden></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Tracking your mail</strong></td><td></td><td></td><td><a href="getting-data-and-results/tracking-your-mail">tracking-your-mail</a></td><td><a href="https://1775164782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiXDYGxBp6aAwhpEhTMNC%2Fuploads%2FygSU7FQC7BqkThcVtA08%2FScreen%20Shot%202022-12-13%20at%202.37.46%20PM.png?alt=media&#x26;token=47cc2bf3-613a-40d8-957b-8e013c7dbc60">Screen Shot 2022-12-13 at 2.37.46 PM.png</a></td></tr><tr><td><strong>Getting notifications via webhooks</strong></td><td></td><td></td><td><a href="getting-data-and-results/using-webhooks">using-webhooks</a></td><td><a href="https://1775164782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiXDYGxBp6aAwhpEhTMNC%2Fuploads%2F1vSZu18uVT7KB6zPgkDZ%2FScreen%20Shot%202022-12-13%20at%202.45.10%20PM.png?alt=media&#x26;token=5fd832ee-41e5-4a81-85ca-1de8aef9c669">Screen Shot 2022-12-13 at 2.45.10 PM.png</a></td></tr><tr><td><strong>Mail analytics and reporting</strong></td><td></td><td></td><td><a href="getting-data-and-results/mail-analytics">mail-analytics</a></td><td><a href="https://1775164782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiXDYGxBp6aAwhpEhTMNC%2Fuploads%2F0cvdAkga6agujJZiKHs8%2FScreen%20Shot%202022-12-13%20at%202.38.55%20PM.png?alt=media&#x26;token=7bec914a-b6a6-4a1f-99ea-528e4796a86e">Screen Shot 2022-12-13 at 2.38.55 PM.png</a></td></tr><tr><td><strong>Measuring attribution</strong></td><td></td><td></td><td><a href="getting-data-and-results/measuring-attribution">measuring-attribution</a></td><td><a href="https://1775164782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiXDYGxBp6aAwhpEhTMNC%2Fuploads%2FaJbQkELtnEIg9kDXrKsp%2FScreen%20Shot%202022-12-13%20at%202.41.00%20PM.png?alt=media&#x26;token=d3c70ace-a447-4b61-b161-efa0cc6d29cb">Screen Shot 2022-12-13 at 2.41.00 PM.png</a></td></tr><tr><td><strong>Exporting mail data</strong></td><td></td><td></td><td><a href="getting-data-and-results/exporting-mail-data">exporting-mail-data</a></td><td><a href="https://1775164782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiXDYGxBp6aAwhpEhTMNC%2Fuploads%2F4IL7Nz11COPnbCe76Xd4%2FScreen%20Shot%202022-12-21%20at%205.24.59%20PM.png?alt=media&#x26;token=9f6fcf77-1bb2-4d7b-a195-d7fcee70240a">Screen Shot 2022-12-21 at 5.24.59 PM.png</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.lob.com/print-and-mail/getting-data-and-results.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
