Customer Foot Traffic Dashboard
Key Foot Traffic Indicators
Foot Traffic Insights
No insights generated yet. Please configure your data.
Data Configuration
Define your foot traffic metrics, targets, and actuals. Click 'Add Metric' to add more rows.
Customer Foot Traffic Dashboard Report
Key Foot Traffic Indicators
Foot Traffic Insights
No KPI data available.
'; } else { let kpiTableHtml = `| Metric Name | Target Value | Actual Value | Unit | Progress (%) |
|---|---|---|---|---|
| ${metric.name || 'N/A'} | ${formatValue(metric.target, metric.unit)} | ${formatValue(metric.actual, metric.unit)} | ${metric.unit || 'N/A'} | ${progress.toFixed(2)}% |
No insights generated. Please configure your data.
'; } else { let overallProgress = 0; let metricsBelowTarget = []; let metricsAboveTarget = []; footTrafficMetrics.forEach(metric => { const progress = calculateProgress(metric.actual, metric.target); overallProgress += progress; if (progress < 100 && metric.actual < metric.target) { metricsBelowTarget.push({ name: metric.name, progress: progress.toFixed(2) }); } else if (progress >= 100 && metric.actual >= metric.target) { metricsAboveTarget.push({ name: metric.name, progress: progress.toFixed(2) }); } }); const avgProgress = footTrafficMetrics.length > 0 ? (overallProgress / footTrafficMetrics.length).toFixed(2) : 0; insightsForPdf += `Overall Performance: The average progress across all defined metrics is ${avgProgress}%.
`; if (metricsAboveTarget.length > 0) { insightsForPdf += `Strengths: Excellent performance observed in: ${metricsAboveTarget.map(m => `${m.name} (${m.progress}%)`).join(', ')}. These areas show strong visitor engagement or growth.
`; } if (metricsBelowTarget.length > 0) { insightsForPdf += `Areas for Improvement: Metrics currently below target include: ${metricsBelowTarget.map(m => `${m.name} (${m.progress}%)`).join(', ')}. Focus efforts on these to boost foot traffic or conversion.
`; } insightsForPdf += `