File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1919 - [ Delete Visit Monitoring Records By Specific Days] ( #delete-visit-monitoring-records-by-specific-days )
2020 - [ Turn ON-OFF] ( #turn-on-off )
2121 - [ Views] ( #visit-monitoring-views )
22+ - [ Ajax Requests] ( #ajax-requests )
2223 - [ Action Monitoring] ( #action-monitoring )
2324 - [ Views] ( #action-monitoring-views )
2425 - [ Authentication Monitoring] ( #authentication-monitoring )
@@ -289,6 +290,26 @@ Laravel-User-Monitoring also has an amazing views that you can use it very easy,
289290
290291![ Visit Monitoring Preview] ( /art/visits-monitoring/preview.png " Visit Monitoring ")
291292
293+ <a name =" ajax-requests " ></a >
294+ ### Ajax Requests
295+
296+ Maybe you may disable record visits for ` Ajax ` requests, you can use config to disable it:
297+
298+ ``` php
299+ 'visit_monitoring' => [
300+ ...
301+
302+ /*
303+ * If you want to disable visit monitoring in Ajax mode, set it to false.
304+ */
305+ 'ajax_requests' => true,
306+
307+ ...
308+ ],
309+ ```
310+
311+ When set to false, Ajax requests will not be recorded.
312+
292313<a name =" action-monitoring " ></a >
293314## Action Monitoring
294315
You can’t perform that action at this time.
0 commit comments