Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
What events exist for fixation exit of site visitors?

I am trying to fix a time of site visitor exit. Tried almost everything like beforeunload, visibilitychange for mobile with detecting mobile devices. Nothing work properly especially for mobile devices.

Is there any more effective way for fixation exit of site visitors for mobile and PC?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There is no foolproof way. After all, the device can just be hard-powered-off, the app can be force-terminated at the OS level, etc.

It may not be the events you're using as much as what you're doing in the event handlers. The best you can do in terms of actively sending a notification to your server when the user leaves the page is to send a Beacon from visibilitychange and also (probably) from onunload and/or onbeforeunload.

The advantage to beacons is that they're designed for this use case, whereas if you're doing standard ajax, the browser may well never send the request to your server.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!