@extends('layouts.app') @section('title', 'Report: '.$campaign->name) @section('content')

{{ $campaign->name }}

· {{ number_format($campaign->sent_count) }} sent @if ($campaign->started_at) · started {{ $campaign->started_at->format('d M Y H:i') }}@endif

Campaign @can('export reports') Export CSV @endcan

Activity over time

Top clicked links

@forelse ($topLinks as $link) @empty @endforelse
URLClicksUnique
{{ $link->url }} {{ number_format($link->clicks) }} {{ number_format($link->unique_clicks) }}
No clicks recorded yet.
@foreach ([['Country', $byCountry], ['Industry', $byIndustry], ['Source', $bySource]] as [$label, $rows])

By {{ strtolower($label) }}

@forelse ($rows as $row) @empty @endforelse
{{ $label }}SentOpened*Clicked
{{ $row->label }} {{ number_format($row->sent) }} {{ number_format($row->opened) }} {{ number_format($row->clicked) }}
No data.
@endforeach

* Open tracking is approximate — privacy features in modern email clients can inflate or hide opens.

@endsection @push('scripts') @endpush