Skip to content

Commit 5f2fc3a

Browse files
authored
Update README.md
1 parent cfefb9c commit 5f2fc3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ This Javascript Library allows to track user's behaviour by recording mouse acti
3232
- Timestamp
3333
- Scroll
3434
- Time on page
35+
- Window Resize
36+
- Visibility Change
3537

3638

3739
## 🏁 Installation <a name = "install"></a>
@@ -62,6 +64,8 @@ If no configuration was passes the libray will use the default configuration:
6264
mouseMovementInterval: 1,
6365
mouseScroll: true,
6466
timeCount: true,
67+
windowResize: true,
68+
visibilitychange: true,
6569
clearAfterProcess: true,
6670
processTime: 15,
6771
processData: function(results){
@@ -77,6 +81,8 @@ If no configuration was passes the libray will use the default configuration:
7781
| mouseMovementInterval | time between tracking mouse movements | int (seconds) | 1 |
7882
| mouseScroll | track mouse scroll | bool | true |
7983
| timeCount | track time | bool | true |
84+
| windowResize | window resize | bool | true |
85+
| visibilitychange | track visibility of the tab's content | bool | true |
8086
| clearAfterProcess | clear results object after processing the data | bool | true |
8187
| processTime | time between processing the data automatically <br>(false will enable manual only data processing) | int/bool (seconds) | 15 |
8288
| processData | function that processes the results object | function | ... |

0 commit comments

Comments
 (0)