Skip to content

Commit 630c594

Browse files
committed
Update README.md
1 parent 8bfa031 commit 630c594

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- [Turn ON-OFF](#turn-on-off)
2222
- [Views](#visit-monitoring-views)
2323
- [Ajax Requests](#ajax-requests)
24+
- [Guest Mode](#visit-monitoring-guest-mode)
2425
- [Action Monitoring](#action-monitoring)
2526
- [Views](#action-monitoring-views)
2627
- [Reverse Proxy Config](#action-monitoring-reverse-proxy-config)
@@ -338,6 +339,27 @@ Maybe you may disable record visits for `Ajax` requests, you can use config to d
338339

339340
When set to false, Ajax requests will not be recorded.
340341

342+
<a name="visit-monitoring-guest-mode"></a>
343+
### Guest Mode
344+
345+
Determines whether to track and store `visits` for users who are not authenticated (guests).
346+
When set to `true`, the package will also monitor guest user activity.
347+
When set to `false`, only authenticated user visits will be recorded.
348+
349+
```php
350+
/*
351+
* Configuration settings for visit monitoring.
352+
*/
353+
'visit_monitoring' => [
354+
...
355+
356+
/*
357+
* Determines whether to store `visits` even when the user is not logged in.
358+
*/
359+
'guest_mode' => true,
360+
],
361+
```
362+
341363
<a name="action-monitoring"></a>
342364
## Action Monitoring
343365

0 commit comments

Comments
 (0)