{{-- ================= TOP TABS ================= --}}
@include('livewire.admin.partials.tab')
{{-- ================= FILTER CARD ================= --}}
{{-- CATEGORY --}}
{{-- START DATE --}}
{{-- END DATE --}}
{{-- BUTTONS --}}
@if(($role_id == 1) || in_array(101, $permissions)) @endif
{{-- ================= SUMMARY CARDS ================= --}} @php $ctr = (@$total_data->total_impression > 0) ? @$total_data->total_click / @$total_data->total_impression * 100 : 0; $position = (@$total_data->total_impression > 0) ? @$total_data->total_position / @$total_data->total_impression * 100 : 0; $average_time = (@$total_data->total_view > 0) ? @$total_data->avg_time / @$total_data->total_view : 0; $summaryCards = [ ['label' => 'Total URLs', 'value' => number_format($totalUrlCount), 'icon' => 'ri-links-line', 'color' => 'primary'], ['label' => 'Traffic URLs', 'value' => number_format(@$total_data->total_urls), 'icon' => 'ri-road-map-line', 'color' => 'info'], ['label' => 'Total Clicks', 'value' => number_format(@$total_data->total_click), 'icon' => 'ri-cursor-line', 'color' => 'success'], ['label' => 'Total Impressions', 'value' => number_format(@$total_data->total_impression), 'icon' => 'ri-eye-line', 'color' => 'warning'], ['label' => 'CTR', 'value' => number_format($ctr, 2) . '%', 'icon' => 'ri-percent-line', 'color' => 'danger'], ['label' => 'Position', 'value' => number_format($position, 2), 'icon' => 'ri-bar-chart-line', 'color' => 'secondary'], ['label' => 'Total Views', 'value' => number_format(@$total_data->total_view), 'icon' => 'ri-line-chart-line', 'color' => 'primary'], ['label' => 'Total Users', 'value' => number_format(@$total_data->total_users), 'icon' => 'ri-group-line', 'color' => 'success'], ['label' => 'Avg. Time', 'value' => number_format($average_time, 2) . 's', 'icon' => 'ri-time-line', 'color' => 'info'], ]; @endphp
@foreach ($summaryCards as $card)
{{ $card['label'] }}
{{ $card['value'] }}
@endforeach
{{-- ================= DATA TABLE ================= --}}
Master Dashboard @if($category) {{ $category }} @endif
@forelse($cryptoNews as $row) @empty @endforelse
Content Details Google Search Console Data Google Analytics Data
SEO Update Time Query / Slug Date Clicks Impressions CTR Position Views Users Avg Time
{{ $row->updated_at ?? '—' }} {{ $row->data_slug }} {{ $start_date}} - {{ $end_date}} {{ $row->click }} {{ $row->impresion }} {{ $row->ctr }} {{ number_format($row->position, 2) }} {{ $row->total_view }} {{ $row->total_users }} {{ number_format($row->avg_count ?? 0, 2) }}s
No Data Found