Today's Posts
{{ number_format($todays_posts) }}
Total Posts
{{ number_format($total_posts) }}
Daily Performance
Today's PageViews
{{ ($total_views) ? number_format($total_views->total) : '0' }}
Gathered Today
Daily Pageviews Report
Report for the month of {{ date('M. Y')}}
{{--
--}}
Top Publishers
All time counter
@forelse ($top_authors as $author)
@php
$thumbnail = "https://ui-avatars.com/api/?name=" . $author->first_name . "+" . $author->last_name . "&color=4c4e52&background=bdbec1";
if ($author->thumbnail) {
$thumbnail = Storage::disk('public')->url($author->thumbnail);
}
@endphp
{{ $author->first_name." ".$author->last_name}}
{{ ($author->total_views) ? number_format((($author->views/$author->total_views)*100), 2) : "0" }}%
@empty
@endforelse
Top 10 Stories
All time counter# | Title | Category | Views | % |
---|---|---|---|---|
{{ $i++ }} | {{ $post->title }} | {{ $post->category_name }} | {{ number_format($post->views) }} | {{ ($post->total_views > 0) ? number_format((($post->views/$post->total_views)*100), 2) : 0 }}% |