voerro / laravel-visitor-tracker

Visitor tracker and statistics for Laravel 5.5+ (abandoned for the time being, feel free to take over)
67 stars 41 forks source link

It it possbile to dont_record by url mask (admin pages, etc) ? #13

Closed Winnetu closed 6 years ago

Winnetu commented 6 years ago

Maybe in Tracker/shouldRecordRequest method: if ($field == 'url') {
if (preg_match('/'.$value.'/i', $data[$field])) $conditionsMet++; } else if ($data[$field] == $value) { $conditionsMet++; }

AlexMordred commented 6 years ago

Sorry, it's not possible.