{{-- Auto-refresh indicator --}}
Updating...
{{-- Date Filter --}}

Overview

{{-- Row 1: Stats Cards --}}
{{-- Total Visitors --}}

Total Visitors

{{ number_format($this->totalVisitors) }}
@php $comp = $this->getComparison($this->totalVisitors, $this->previousVisitors); @endphp
{{ $this->getComparisonText() }}@if ($this->dateFilter !== 'all_time') ({{ number_format($this->previousVisitors) }}) @endif @if ($comp['showPercentage']) @if ($comp['isPositive']) @else @endif {{ abs($comp['percentage']) }}% @endif
{{-- Total Locker Viewers --}}

Locker Viewers

{{ number_format($this->totalLockerViewers) }}
@php $comp = $this->getComparison($this->totalLockerViewers, $this->previousLockerViewers); @endphp
{{ $this->getComparisonText() }}@if ($this->dateFilter !== 'all_time') ({{ number_format($this->previousLockerViewers) }}) @endif @if ($comp['showPercentage']) @if ($comp['isPositive']) @else @endif {{ abs($comp['percentage']) }}% @endif
{{-- Total Leads --}}

Total Leads

{{ number_format($this->totalLeads) }}
@php $comp = $this->getComparison($this->totalLeads, $this->previousLeads); @endphp
{{ $this->getComparisonText() }}@if ($this->dateFilter !== 'all_time') ({{ number_format($this->previousLeads) }}) @endif @if ($comp['showPercentage']) @if ($comp['isPositive']) @else @endif {{ abs($comp['percentage']) }}% @endif
{{-- Total Payout --}}

Total Payout

${{ number_format($this->totalPayout, 2) }}
@php $comp = $this->getComparison($this->totalPayout, $this->previousPayout); @endphp
{{ $this->getComparisonText() }}@if ($this->dateFilter !== 'all_time') (${{ number_format($this->previousPayout, 2) }}) @endif @if ($comp['showPercentage']) @if ($comp['isPositive']) @else @endif {{ abs($comp['percentage']) }}% @endif
{{-- Row 2: Live Leads --}}

Live Leads

Recent conversions in real-time (Today)

Live
@forelse($this->todayLeads as $lead)
@if ($lead->app && $lead->app->logo) {{ $lead->offer_name }} @else @endif
#{{ $lead->offer_id }} {{ $lead->offer_name }}
{{ $lead->app_name }}

{{ $lead->conversion_date->format('H:i:s') }}

{{ $lead->device ?? 'Unknown' }}

{{ $lead->country ?? 'Unknown' }}

${{ number_format($lead->payout, 2) }}
@empty
No leads today yet
@endforelse
{{-- Row 3: Top 5 Stats --}}
{{-- Top Offers --}}

Top Apps

Best performing 5 Apps

@forelse($this->TopBrands as $app)
@if ($app->app_icon) {{ $app->app_name }} @else @endif
{{ $app->app_name }}
{{ $app->leads_count }} conversions
${{ number_format($app->total_payout, 2) }}
@empty

No data available

@endforelse
@for ($i = 0; $i < 5; $i++)
@endfor
{{-- Top Countries --}}

Top Countries

Best performing 5 countries

@forelse($this->topCountries as $country)
{{ $country->country }}
{{ $country->leads_count }} Conversions
${{ number_format($country->total_revenue, 2) }}
@empty

No data available

@endforelse
@for ($i = 0; $i < 5; $i++)
@endfor
{{-- Device Performance --}}

Device Performance

Best performing 5 devices

@forelse($this->topDevices as $device)
@if ($device->device == 'Android') @elseif($device->device == 'iOS') @else @endif
{{ $device->device }}
{{ $device->leads_count }} conversions
${{ number_format($device->total_payout, 2) }}
@empty

No data available

@endforelse
@for ($i = 0; $i < 5; $i++)
@endfor