🔥 Some use cases:
store visit analytics and statistics
number of visitors online / rich info about online visitors
visitors and opened pages
get rich visitor info
automatically logout user after X min of inactivity
Plugin provides rich information about the user.
Based on IP address:
Location: city, area_code, region, country, country_code (2 and 3 symbols), continent_code
accuracy (in km)
Based on website interaction:
status: active; idle (inactive); hidden (browser is hidden or user is on another tab)
is Idle: whether user is active or not
Idle for (ms): time in ms of user inactivity
Time left (ms): time left before user will be considered inactive (idle)
Add the element to a page. Setup "Time to idle" (in seconds): time of inactivity before user becomes idle.
2. In workflow, use events "Status changed" and "IP info ready". Access plugin's shared states.