@extends('layouts.admin') @section('title', 'Web Tracking') @section('header', 'Web Tracking') @section('content')
Track frontend, checkout, admin, and store panel visits with country, timezone, local time, and allowed browser location.
| User | Panel / Page | Country | Time | Location | IP |
|---|---|---|---|---|---|
|
{{ $track->user?->name ?? 'Guest' }}
{{ $track->user?->email ?? $track->session_id }}
|
{{ ucfirst(str_replace('_', ' ', $track->panel ?? 'web')) }}
{{ $track->path }}
@if($track->referrer)
From: {{ $track->referrer }}
@endif
|
{{ $track->country ?: 'Unknown' }}
{{ $track->country_code ?: '-' }}
|
{{ $track->created_at?->format('d M Y, h:i A') }}
{{ $track->timezone ?: 'Timezone unknown' }}
@if($track->local_time)
Local: {{ $track->local_time->format('d M Y, h:i A') }}
@endif
|
@if($track->latitude && $track->longitude)
{{ $track->latitude }}, {{ $track->longitude }}
Source: {{ ucfirst(str_replace('_', ' ', $track->metadata['location_source'] ?? 'browser_or_saved_location')) }}
Accuracy: {{ $track->location_accuracy ? number_format((float) $track->location_accuracy) . 'm' : '-' }}
Open map
@else
No browser or selected delivery location yet
@endif
|
{{ $track->ip_address ?: '-' }}
{{ $track->user_agent }}
|
| No web tracking records yet. | |||||