Y
Hacker News
new
|
ask
|
show
|
jobs
by
mildweed
5420 days ago
Another way to do this is to trigger the tracking with the window.onbeforeunload event paired with logic that makes sure the user has actually been on page for longer than X seconds/minutes.