@extends('adminlte::page') @section('title', __('title.dashboard')) @section('content_top_nav_right') @endsection @section('content_header')

{{ __('title.dashboard') }}

@stop @section('plugins.Flag', true) @section('plugins.Pace', true) @section('plugins.Toastr', true) @section('plugins.Sweetalert2', true) @section('content')
@can('read-posts') @endcan @can('read-pages') @endcan
@can('read-categories') @endcan @can('read-tags') @endcan @can('read-users') @endcan @can('read-roles') @endcan @can('read-contacts') @endcan @can('read-galleries') @endcan
@if(env('ANALYTICS_PROPERTY_ID')) @can('read-analytics') @if(\App\Helpers\SettingHelper::check_connection()) @if(\App\Helpers\SettingHelper::checkCredentialFileExists())

{{ __('title.google_analytics') }} ({{ __('see_more') }})

@include('admin.analytics._device')
@include('admin.analytics._visitors_pageviews')
@endif @endif @endcan @endif @stop @push('css') @endpush @push('js') @include('layouts.partials._switch_lang') @include('admin.analytics._script') @endpush @section('footer') @include('layouts.partials._footer') @stop