@extends('admin.layouts.app') @section('title','Analytics & Reports') @section('content')

Analytics & Reports

Actual recorded content views, in UTC

@foreach([7,30,90] as $d){{ $d }} days@endforeach
Total Views
{{ number_format($series->sum('views')) }}
New Users
{{ number_format($newUsers) }}
Active Subscriptions
{{ number_format($activeSubscriptions) }}

Daily Views

Views recorded by the tracking endpoint. No fabricated metrics.
@php($max=max(1,$series->max('views')) )@foreach($series as $day)
@endforeach

{{ $series->first()['date'] }} — {{ $series->last()['date'] }}

Views by Content Type

@forelse($byType as $type=>$total)
{{ ucfirst($type) }} {{ number_format($total) }}
@empty

No recorded views yet.

@endforelse

Top VOD Videos

@forelse($topVideos as $video)@empty@endforelse
TitleRecorded views
{{ $video->title }}{{ number_format($video->views) }}
No video views recorded.
@endsection