voerro / laravel-visitor-tracker

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

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

Closed Winnetu closed 5 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 5 years ago

Sorry, it's not possible.