@extends('layouts.app') @section('title', 'Reports') @section('content')

Performance reports for campaigns that have started sending.

@if ($campaigns->isEmpty()) @else
@foreach ($campaigns as $campaign) @php($sent = max(1, $campaign->sent_count)) @endforeach
CampaignStatusSentDeliveryBounceOpens*ClicksUnsubs
{{ $campaign->name }} {{ number_format($campaign->sent_count) }} {{ round($campaign->delivered_count / $sent * 100, 1) }}% {{ round(($campaign->soft_bounce_count + $campaign->hard_bounce_count) / $sent * 100, 1) }}% {{ round($campaign->unique_open_count / $sent * 100, 1) }}% {{ round($campaign->unique_click_count / $sent * 100, 1) }}% {{ number_format($campaign->unsubscribe_count) }} @can('export reports') CSV @endcan

* Opens are approximate due to email privacy protections.

{{ $campaigns->links() }} @endif
@endsection