@extends('layouts.master') @section('style') @endsection @section('content')

Dashboard Statistics

Visitors Weekly progress
December 30, 2014 - January 28, 2015
@if (session('message'))
{{ session('message') }}
@endif @if(env('ANALYTICS_VIEW_ID') == '130414418')
NOTE: You need to change Google Analytics View ID with your. Click here
@endif
@if($users[0][0] > 0)
100%
Total Users: {{$users[0][0]}}
@endif
@if(@$userTypes[0][1] > 0)
{{round((@$userTypes[0][1]/(@$userTypes[0][1]+@$userTypes[0][1])) * 100)}}%
New Users: {{@$userTypes[0][1]}}
@endif
@if(@$userTypes[1][1] > 0)
{{round((@$userTypes[1][1]/($userTypes[0][1]+@$userTypes[1][1])) * 100)}}%
Returning Users: {{@$userTypes[1][1]}}
@endif
@foreach($mobileLists as $key => $value) @endforeach
Devices Usage
{{$key}} {{round(($value/$mobileTotalSession) * 100)}}%
Device OS Usage
@foreach($deviceLists as $key => $row) @endforeach
Device Progress
{{$key}} {{round(($row['value']/$deviceTotalSession) * 100)}}%
Visitors location geo-presentation
@foreach($countryLists as $key => $value) @endforeach
{{$countryTotalSession}} views from {{count($countryLists)}} countries
{{$key}} {{round(($value/$countryTotalSession) * 100)}}%
@endsection @section('plugin') @endsection @section('script') @endsection