IVR Statistics Module Documentation
Table of Contents
- Module Overview (Technical)
- Module Overview (Commercial/Business)
- Module Overview (End User/Administrator)
- Metrics Reference
- Common Scenarios & Examples
- Limitations & Important Notes
- Troubleshooting Tips
- Glossary
---
1. Module Overview (Technical)
What Are IVR Statistics?
IVR Statistics is an analytics module that tracks and reports on IVR (Interactive Voice Response) menu interactions. It provides insights into caller behavior, option popularity, timeout rates, and overall IVR effectiveness.
Architecture
Key Tables
| Table | Purpose | |
|---|---|---|
public.ivr_stats | IVR interaction logs | |
public.ivr_menus | IVR menu definitions |
Key Files
| File | Description |
|---|---|
modules/ivrStats/IVRStatsPage.tsx | Analytics page |
2. Module Overview (Commercial/Business)
Business Value
IVR Statistics provides caller behavior insights:
| Without IVR Stats | With IVR Stats | |
|---|---|---|
| Unknown usage | Full analytics | |
| Guess at performance | Data-driven optimization | |
| Hidden problems | Visible timeouts/failures | |
| No improvement path | Clear optimization targets |
Use Cases
- IVR Optimization
- Simplify menu structure
- Problem Detection
- Frequent failures
- Capacity Planning
- Peak hour analysis
- Customer Experience
- Success rate tracking
Feature Highlights
| Feature | Benefit | |
|---|---|---|
| Total Interactions | Volume tracking | |
| Option Presses | Popularity analysis | |
| Timeouts | Navigation issues | |
| Failures | System problems | |
| Digit Breakdown | Option popularity | |
| Success Rate | IVR effectiveness |
3. Module Overview (End User/Administrator)
What Can You Do?
- View IVR interaction statistics
- Filter by date range
- Filter by action type
- See digit press distribution
- Analyze success/timeout rates
- Export detailed reports
IVR Statistics Interface
Quick Tips
TIP
Select IVR: Must select an IVR menu first to view statistics.TIP
Date Range: Limit date range to avoid slow queries.NOTE
Export: Export detailed data for external analysis.---
4. Metrics Reference
Summary Cards
| Metric | Description | |
|---|---|---|
| Total Interactions | All IVR entries | |
| Option Presses | Valid digit presses | |
| Timeouts | No response within limit | |
| Failures | System errors |
Action Types
| Action | Description | |
|---|---|---|
| Option Pressed | Caller pressed valid digit | |
| Timeout | No response from caller | |
| Failure | System or config error | |
| Invalid | Invalid digit pressed | |
| Direct Dial | Extension dialed directly | |
| Exit | Caller hung up |
Timing Metrics
| Metric | Description | |
|---|---|---|
| Average Wait Time | Time before digit press | |
| Average Duration | Total IVR time |
Success Metrics
| Metric | Calculation | |
|---|---|---|
| Success Rate | Options / Total × 100% | |
| Timeout Rate | Timeouts / Total × 100% | |
| Failure Rate | Failures / Total × 100% |
5. Common Scenarios & Examples
Scenario 1: Identify Popular Options
- Select IVR menu
- View Digit Breakdown chart
- Note most-pressed digits
- Consider reordering menu
Scenario 2: Reduce Timeouts
- Check Timeout Rate
- If high (>20%), menu may be confusing
- Simplify options
- Shorten prompts
Scenario 3: Monthly Report
- Set date range for month
- View all metrics
- Export Summary
- Share with management
Scenario 4: Troubleshoot Failures
- Filter by "Failure" action type
- View Call Details table
- Identify patterns
- Fix configuration issues
---
6. Limitations & Important Notes
Technical Notes
NOTE
Historical Data: Statistics depend on logging being enabled.NOTE
Select IVR First: Must choose an IVR to view stats.WARNING
Large Ranges: Long date ranges may be slow.Best Practices
- Regular Review: Check stats weekly/monthly
- Watch Timeouts: High timeout = confusing menu
- Watch Failures: Any failures need investigation
- Export Data: Archive important stats
- Optimize Menus: Use data to improve IVR
Target Benchmarks
| Metric | Target | |
|---|---|---|
| Success Rate | > 85% | |
| Timeout Rate | < 10% | |
| Failure Rate | < 1% | |
| Avg Wait Time | < 15 seconds |
7. Troubleshooting Tips
Common Issues
| Symptom | Possible Cause | Solution | |
|---|---|---|---|
| No data | Stats not logged | Check IVR logging | |
| High timeouts | Long/confusing prompts | Simplify menu | |
| High failures | Config errors | Check IVR settings | |
| High invalid | Wrong key mapping | Review option numbers | |
| No call details | Pagination | Use Next/Previous |
Diagnostic SQL
IVR statistics summary: Most pressed digits:---
8. Glossary
| Term | Definition | |
|---|---|---|
| IVR | Interactive Voice Response | |
| Interaction | Single caller entering IVR | |
| Option Press | Valid digit selection | |
| Timeout | No caller response | |
| Direct Dial | Extension dialed in IVR | |
| Success Rate | Percentage completing IVR |
Lua Script Status ℹ️
No Dedicated Handler Required
| Component | Status |
|---|---|
| IVR Statistics | ℹ️ Reporting module - reads logs from public.ivr_stats |
ivr_menu.lua) to public.ivr_stats. This module only reads and displays that data.
---
Documentation last updated: January 2026