Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

127
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda