tracker
tracker copied to clipboard
return Tracker::sessions(); not returning all the rows in tracker_sessions table
This package is awesome and everything is working as intended but I want to count all the rows in tracker_sessions table, when I do
$sessions = Tracker::sessions();
return count($sessions);
It returns number of rows created today. How would I return all the rows in tracker::sessions table?
@meeprakash25 I have a similar problem. Did you find a solution? Perhaps this is the solution: Tracker::sessions(60 * 24 * 30, false)->count(); // 30 days