private function getAuthenticatedVisitorsRatio($visitors)
    {
        $ratio = [
            'authenticated' => 0,
            'guest'         => 0,
        ];

        foreach ($visitors as $visitor) {
            $visitor->hasUser() ? $ratio['authenticated'] += 1 : $ratio['guest'] += 1;
        }

        return collect($ratio)->transform(function ($count, $key) {
            return [
                'name'  => trans("tracker::visitors.$key"),
                'count' => $count,
            ];
        });
    }