Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

53
Vistas
Load third-party scripts after Lighthouse / Page Speed Insights scan finishes

My website has some third-party scrips that affect badly on website's LCP score (Marked as "Reduce unused JavaScript").
The main one is Hotjar.
My target is to load this script after Lighthouse / Page Speed Insights finishes it's scan (I don't mind to loose some seconds when the script doesn't work).
I tried to use tricks like defer, load event, etc... Nothing seems to be work.
Has someone faced this issue? How can I handle it without using hard-coded settimout?
Thanks :)

7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos