{{-- Admin Analytics Dashboard Sections โ€” ApexCharts + AJAX --}} @php $analyticsBase = route('admin.dashboard.analytics.kpis'); $analyticsRoutes = [ 'kpis' => route('admin.dashboard.analytics.kpis'), 'marketplace' => route('admin.dashboard.analytics.marketplace'), 'traffic' => route('admin.dashboard.analytics.traffic'), 'visitors' => route('admin.dashboard.analytics.visitors'), 'funnel' => route('admin.dashboard.analytics.funnel'), 'search' => route('admin.dashboard.analytics.search'), 'products' => route('admin.dashboard.analytics.products'), 'vendors' => route('admin.dashboard.analytics.vendors'), 'categories' => route('admin.dashboard.analytics.categories'), 'marketing' => route('admin.dashboard.analytics.marketing'), 'devices' => route('admin.dashboard.analytics.devices'), 'browsers' => route('admin.dashboard.analytics.browsers'), 'locations' => route('admin.dashboard.analytics.locations'), 'live' => route('admin.dashboard.analytics.live'), 'journeys' => route('admin.dashboard.analytics.journeys'), ]; $primaryColor = theme('primary_color', '#4f46e5'); $analyticsCompact = $analyticsCompact ?? false; @endphp
@if($analyticsCompact) Full Analytics @else Dashboard @endif
@if($analyticsCompact)

Dashboard preview โ€” top 10 analytics panels. Open Full Analytics for devices, locations, journeys & more.

@endif {{-- Section 1: Compact KPI Cards --}}
{{-- Section 2: Marketplace Analytics --}}
Marketplace Analytics
Full Report
{{-- Section 3: Traffic Sources --}}
Traffic Sources
SourceVisitorsOrdersRevenueConv.
{{-- Section 4: Visitor Analytics --}}
Visitor Analytics
{{-- Section 5: Funnel --}}
User Behavior Funnel
{{-- Section 6: Search Intelligence --}}
Search Intelligence

Top Keywords

Top Products

{{-- Section 7: Product Intelligence --}}
Product Intelligence
View All
@if($analyticsCompact)
Top Vendors
@else
{{-- Section 8: Vendor Rankings --}}
Top Vendors
Bottom Vendors
@endif {{-- Section 9: Categories --}}
Category Analytics
@if($analyticsCompact)
Marketing Intelligence
@else
Marketing Intelligence
Device Analytics
Browser Analytics
Location Analytics

Countries

Top Cities

@endif {{-- Section 14: Live Activity --}}
Live Marketplace Activity
Auto-refresh 15s
Online
Browsing
In Cart
Checkout
Live Orders
Live Revenue
@unless($analyticsCompact) {{-- Section 15: User Journeys --}}
User Journey Flow
User Behavior IQ
@endunless
@push('styles') @endpush @push('scripts') @endpush