Skip to content

How does umami detect client disconnection/exit event? #950

Closed Answered by mikecao
daniel31x13 asked this question in Q&A
Discussion options

You must be logged in to vote

Because the websocket wouldn't persist when they move between pages anyways. The answer is to use the Beacon API, just haven't got around to it yet.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@daniel31x13
Comment options

Comment options

You must be logged in to vote
3 replies
@daniel31x13
Comment options

@mikecao
Comment options

@daniel31x13
Comment options

Answer selected by daniel31x13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants