@extends('layout') @section('content')

Admin — Statistik Pengunjung Website

Total Pengunjung

{{ number_format($totalVisitors) }}

Pengunjung Unik (IP)

{{ number_format($uniqueVisitors) }}

Pengguna Terautentikasi

{{ number_format($authenticatedVisitors) }}

Rata-rata per Hari

{{ number_format(round($totalVisitors / max($period, 1))) }}

Pengunjung per Perangkat
Pengunjung per Hari
10 Halaman Paling Dikunjungi
@foreach($visitorsByPage as $page) @endforeach
Halaman Kunjungan
{{ $page->page_url }} {{ number_format($page->total) }}
10 IP Address Paling Aktif
@foreach($topIPs as $ip) @endforeach
IP Address Kunjungan
{{ $ip->ip_address }} {{ number_format($ip->total) }}
50 Kunjungan Terakhir
@foreach($recentVisitors as $visitor) @endforeach
Waktu IP Address Pengguna Halaman Perangkat
{{ $visitor->visited_at->format('d/m/Y H:i:s') }} {{ $visitor->ip_address }} @if($visitor->user) {{ $visitor->user->name }} @else Anonim @endif {{ $visitor->page_url }} {{ ucfirst($visitor->device) }}
@endsection