> ## Documentation Index
> Fetch the complete documentation index at: https://docs.duckie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics Overview

> Understand and improve agent performance

Analytics help you understand how your agents are performing and identify opportunities for improvement.

{/* Screenshot: Analytics overview showing key metrics and charts */}

## Available Analytics

### Performance Metrics

Key performance indicators for your agents:

* **Deflection Rate** — Conversations handled without human help
* **Resolution Rate** — Conversations successfully resolved
* **Escalation Rate** — Conversations handed to humans
* **Response Time** — How fast agents respond
* **Time to Resolution** — Total time to resolve issues

<Card title="Performance Metrics" icon="chart-line" href="/analytics/performance-metrics">
  Track your KPIs
</Card>

### Breakdown Analysis

Visualize distribution by category and attributes:

* Pie charts and bar charts
* Drill-down into segments
* Compare over time

<Card title="Breakdown" icon="chart-pie" href="/analytics/breakdown">
  Analyze distribution
</Card>

### Run History

Complete execution logs:

* Every agent run
* Step-by-step details
* Searchable and filterable

<Card title="Run History" icon="clock-rotate-left" href="/analytics/runs">
  View execution logs
</Card>

### Alerts

Notifications for important agent events:

* Guardrail violations
* Tool failures
* Agent-triggered review or escalation events
* Email and Slack notification targets

<Card title="Alerts" icon="bell" href="/analytics/alerts">
  Configure event alerts
</Card>

## Using Analytics

### Daily Monitoring

Quick health check:

1. Check performance dashboard
2. Review escalation trends
3. Spot any anomalies
4. Address urgent issues

### Weekly Review

Deeper analysis:

1. Analyze breakdown by category
2. Review individual runs behind important metric changes
3. Fill knowledge gaps
4. Plan improvements

### Monthly Analysis

Strategic review:

1. Compare metrics month-over-month
2. Identify trends
3. Evaluate ROI
4. Adjust strategy

## Key Metrics at a Glance

{/* Screenshot: Key metrics cards showing deflection rate, resolution rate, etc. */}

| Metric              | What It Tells You                       |
| ------------------- | --------------------------------------- |
| **Deflection Rate** | How much AI is handling without humans  |
| **Resolution Rate** | How well issues are being resolved      |
| **Escalation Rate** | When humans need to step in             |
| **Response Time**   | How fast customers get answers          |
| **CSAT**            | Customer satisfaction with AI responses |

## Analytics Navigation

Access analytics from the **Analyze** section:

```
Analyze
├── Performance — Metrics and trends
├── Breakdown — Category/attribute distribution
├── Runs — Execution history
└── Alerts — Event notifications and alert history
```

## Next Steps

<CardGroup cols={2}>
  <Card title="Performance Metrics" icon="chart-line" href="/analytics/performance-metrics">
    Start with KPIs
  </Card>

  <Card title="Run History" icon="clock-rotate-left" href="/analytics/runs">
    View individual runs
  </Card>

  <Card title="Breakdown" icon="chart-pie" href="/analytics/breakdown">
    Analyze distribution
  </Card>

  <Card title="Set Up Alerts" icon="bell" href="/analytics/alerts">
    Stay informed
  </Card>
</CardGroup>
