No cohort retention data available
| Cohort | Size | @for($i = 0; $i < $maxMonths; $i++)M{{ $i }} | @endfor
|---|---|---|
| {{ \Carbon\Carbon::parse($cohort['cohort_month'])->format('M Y') }} | {{-- Cohort Size --}}{{ number_format($cohort['cohort_size']) }} | {{-- Retention Months (M0, M1, M2, ...) --}} @for($i = 0; $i < $maxMonths; $i++) @php $monthKey = "M{$i}"; $retention = $cohort['retention'][$monthKey] ?? null; $percentage = $retention ? $retention['percentage'] : null; $count = $retention ? $retention['count'] : 0; @endphp
@if($percentage !== null)
{{ number_format($percentage, 1) }}%
({{ $count }})
@else
-
@endif
|
@endfor