@section('site_title', formatTitle([$website->url, __('Referrers'), config('settings.title')]))
@include('icons.link', ['class' => 'fill-current width-5 height-5'])
@if(isset($first->value)) @if($first->value)
@else
{{ __('Direct, Email, SMS') }}
@endif @else
{{ __('No data') }}
@endif
{{ (isset($first->count) ? number_format($first->count, 0, __('.'), __(',')) : '—') }}
@include('icons.trending_up', ['class' => 'fill-current width-3 height-3'])
{{ mb_strtolower(__('Most popular')) }}
{{ (isset($first->count) ? number_format((($first->count / $total->count) * 100), 1, __('.'), __(',')).'%' : '—') }}
@if(isset($last->value)) @if($last->value)
@else
{{ __('Direct, Email, SMS') }}
@endif @else
{{ __('No data') }}
@endif
{{ (isset($last->count) ? number_format($last->count, 0, __('.'), __(',')) : '—') }}
@include('icons.trending_down', ['class' => 'fill-current width-3 height-3'])
{{ mb_strtolower(__('Least popular')) }}
{{ (isset($last->count) ? number_format((($last->count / $total->count) * 100), 1, __('.'), __(',')).'%' : '—') }}
{{ __('Referrers') }}
@include('stats.filters')
@if(count($referrers) == 0) {{ __('No data') }}. @else
{{ __('Website') }}
{{ __('Visitors') }}
{{ __('Total') }}
{{ number_format($total->count, 0, __('.'), __(',')) }}
{{ number_format((($total->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@foreach($referrers as $referrer)
@if($referrer->value)
@else
{{ __('Direct, Email, SMS') }}
@endif
{{ number_format($referrer->count, 0, __('.'), __(',')) }}
{{ number_format((($referrer->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $referrers->firstItem(), 'to' => $referrers->lastItem(), 'total' => $referrers->total()]) }}
{{ $referrers->onEachSide(1)->links() }}
@endif