@extends('layouts.portal') @section('title', 'Marketing & admissions analytics') @section('subtitle', 'Which sources, campaigns, courses and offers turn into leads, applications, admissions and revenue.') @section('content')
@foreach($funnel as $label => $n)
{{ $label }}{{ number_format($n) }}@if(! $loop->first && reset($funnel)){{ round($n / max(1, reset($funnel)) * 100, 1) }}% of leads @else {{ $from->format('d M') }} – {{ $to->format('d M Y') }}@endif
@endforeach @can('finance.view')
Revenue from admissions{{ money($revenue) }}confirmed payments on admissions in this period
@endcan
Median first response{{ $medianResponse !== null ? $medianResponse.' h' : '—' }}{{ $contacted }} leads contacted · target 4 h

By {{ $dim }}

Tag every ad and post: ?utm_source=facebook&utm_medium=paid_social&utm_campaign=oct-launch
@can('finance.view')@endcan @forelse($rows as $r) @can('finance.view')@endcan @empty @endforelse
{{ ucfirst($dim) }}LeadsApplicationsAdmissionsLead → admissionRevenue
{{ $r['label'] }}{{ $r['leads'] }}{{ $r['applications'] }}{{ $r['admissions'] }}{{ $r['conversion'] !== null ? $r['conversion'].'%' : '—' }}{{ money($r['revenue']) }}
No data in this period yet.

By course

@can('finance.view')@endcan@forelse($courseRows as $r)@can('finance.view')@endcan@empty@endforelse
CourseLeadsAppsAdmittedRevenue
{{ $r['label'] }}{{ $r['leads'] }}{{ $r['applications'] }}{{ $r['admissions'] }}{{ money($r['revenue']) }}
No data yet.
@forelse($offers as $o)@empty@endforelse
OfferViews (all time)Leads (period)
{{ $o->name }}@if($o->isLive()) live@endif{{ number_format($o->views) }}{{ $o->leads_count }}
No offers yet.
@endsection