posthog-js
posthog-js copied to clipboard
PageLeave: TimeSpent on Each Route
Description
I want to capture the time spent on each route when the user navigates away from the page.