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

Total Sent

{{ $totalSent }}

Total Opened

{{ $totalOpened }}

Total Clicks

{{ $totalClicks }}

Failed Emails

{{ $totalFailed }}

Open Rate

{{ $openRate }}%

Click Rate

{{ $clickRate }}%

Report Summary

Total Sent Emails {{ $totalSent }}
Opened Emails {{ $totalOpened }}
Total Link Clicks {{ $totalClicks }}
Failed Emails {{ $totalFailed }}
Open Rate {{ $openRate }}%
Click Rate {{ $clickRate }}%

Recent Emails

@forelse($recentEmails as $email)
{{ $email->subject ?? '-' }}
{{ $email->to_email ?? '-' }} | {{ $email->sent_at ?? $email->created_at }}
@empty

No recent emails.

@endforelse

Recent Clicks

@forelse($recentClicks as $click)
{{ $click->clicked_url }}
{{ $click->created_at }}
@empty

No recent clicks.

@endforelse

Top Clicked Links

@forelse($topLinks as $link) @empty @endforelse
URL Clicks
{{ $link->clicked_url }} {{ $link->total_clicks }}
No link click data available.
@endsection