Good day Wix team & fellow wix users
I’m interested in tracking how long a user stays on a particular page or on my website in general in a given viewing session. This can presumably be done using the storage api, but I would need to know when the user leaves or closes the site. I’m aware that Google Analytics provides such data, but I need it in a more specific form.
I’ve looked at length, but have been unable to find a way to trigger a “leaving site” event. Does anyone have any ideas on how this could be done? Any suggestions would be most appreciated.
Thx
Nicholas