Closed lipasite closed 5 years ago
Thats a simple way to do it. visitortracker.php
'layout' => 'layout',
'section_content' => 'content',
layout.blade.php
<section>
<div>
@yield('content')
</div>
</section>
@MouadBH Thank you! It works!
Please explain how to see the statistics?
visitortracker.php
layout.php
As I understand it, after declaring a section with a name that matches the config file of the tracker, statistics should appear in this section, but there is none.
web.php
VisitStats::routes();
My route list
I go to the /stats URL but nothing happens - I see my dashboard as before - unchanged. At the same time, in Laravel DebugBar, I see requests for obtaining statistics on the visitortracker_visits table.
P.S. visitortracker_visits table works correctly - I see all stats data collected at MySql DB. I have more 20 records.
Можешь объяснить по-русски? :)