@extends('layouts.admin') @section('header', 'Dashboard') @section('content')

Total Plates

{{ \Illuminate\Support\Number::abbreviate($total_plates, precision: 1) }}

Total Views

{{ \Illuminate\Support\Number::abbreviate($total_views ?? 0, precision: 1) }}

Total Clicks

{{ \Illuminate\Support\Number::abbreviate($total_clicks ?? 0, precision: 1) }}

CTR

{{ $ctr }}%

Total Value

£{{ \Illuminate\Support\Number::abbreviate($total_value, precision: 1) }}

Avg Price

£{{ \Illuminate\Support\Number::abbreviate($avg_price, precision: 1) }}

Performance (Last 30 Days)

Top Searched Terms

@forelse($top_searches as $search) @empty @endforelse
Term Searches
{{ $search->keywords }} {{ number_format($search->count) }}
No searches recorded yet.

Recent Activity

Import Plates →
@forelse ($latest_imports as $import) @empty @endforelse
Date Site Type Status
{{ $import->created_at->format('M d, H:i') }} {{ $import->site->name ?? 'N/A' }} @if ($import->status === 'deleted') Deletion @elseif (is_null($import->file_path)) Automated @else Manual @endif {{ ucfirst($import->status) }}
No recent imports.
@endsection