Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

128
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda