@extends('admin.social-automation.layout') @section('title', 'Metrikler') @section('sma_content')

Metrikler

Başarıyla paylaşılmış içeriklerin platform bazlı performans özeti.

Platform Özeti

@csrf
@if ($totalsByPlatform->isEmpty())

Henüz başarıyla paylaşılmış bir içerik yok.

@else
@foreach ($totalsByPlatform as $platform => $data)
@include('admin.social-automation.partials.platform-icon', ['platform' => $platform, 'size' => 20]) {{ $platforms[$platform]['label'] ?? $platform }}

{{ $data['count'] }} paylaşım ({{ $data['with_metrics'] }} metrikli)

@if (count($data['totals']) > 0) @foreach ($data['totals'] as $key => $value)
{{ $metricLabels[$key] ?? $key }}: {{ number_format($value) }}
@endforeach @else

Metrik verisi yok.

@endif
@endforeach
@endif

Tüm Paylaşımlar

@foreach ($results as $result) @endforeach
PlatformİşBağlantıMetriklerSon Güncelleme
@include('admin.social-automation.partials.platform-icon', ['platform' => $result->platform, 'size' => 18]) {{ $platforms[$result->platform]['label'] ?? $result->platform }} #{{ $result->content_job_id }} @if ($result->external_url) görüntüle @else — @endif @if ($result->metrics)
@foreach ($result->metrics as $metricKey => $metricValue)
{{ $metricLabels[$metricKey] ?? $metricKey }}: {{ number_format($metricValue) }}
@endforeach
@else Henüz çekilmedi @endif
{{ $result->metrics_fetched_at?->diffForHumans() ?? '—' }}
@if ($results->isEmpty())

Henüz başarıyla paylaşılmış bir içerik yok.

@endif
@endsection