@php $r = $this->getReport(); $cell = 'padding:.5rem .75rem;border-top:1px solid rgba(128,128,128,.25);'; $pct = fn ($a, $b) => $b > 0 ? round($a / $b * 100) . '%' : 'none yet'; @endphp
@foreach ([7, 30, 90] as $d) Last {{ $d }} days @endforeach Mode: {{ str_replace('_', ' ', $this->mode()) }}. Change it in Global settings.
@foreach ([['Page views', $r['views'], 'Everyone, no identifiers'], ['Visitors who said yes', $r['visitors'], 'Counted by a random number'], ['Enquiries received', $r['enquiries'], 'From the leads table'], ['Started the form', $r['funnel']['started'], 'Visitors who said yes'], ['Sent the form', $r['funnel']['submitted'], $pct($r['funnel']['submitted'], $r['visitors']) . ' of visitors']] as [$label, $value, $note])
{{ $label }}
{{ number_format($value) }}
{{ $note }}
@endforeach
@if (array_sum($r['daily']) === 0)

No page views recorded in this period yet.

@else @endif
@forelse ($r['top_pages'] as $p)@empty@endforelse
{{ $p['path'] }}{{ number_format($p['views']) }}
Nothing yet.
@forelse ($r['sources'] as $s)@empty@endforelse
SourceVisitorsEnquiries
{{ $s['name'] }}{{ $s['visitors'] }}{{ $s['enquiries'] }}
Nothing yet. This fills as visitors accept analytics.
@forelse ($r['campaigns'] as $s)@empty@endforelse
{{ $s['name'] }}{{ $s['visitors'] }} visitors{{ $s['enquiries'] }} enquiries
Add utm_campaign to your links to see campaigns here.
@forelse ($r['ctas'] as $label => $n)@empty@endforelse
{{ $label }}{{ $n }}
Nothing yet.
@forelse ($r['searches']['top'] as $s)@empty@endforelse
{{ $s['query'] }}{{ $s['count'] }}x, {{ $s['results'] }} results
No searches yet.
@forelse ($r['searches']['zero'] as $s)@empty@endforelse
{{ $s['query'] }}{{ $s['count'] }}x
None. Every search found something.

Visitor figures only include people who accepted analytics. Page views count everyone but carry no identifier. Team members and bots are excluded. Visitor events are deleted after {{ \App\Support\Settings::get('analytics.retention_days', 400) }} days.