• Resolved ofmarconi

    (@ofmarconi)


    Benchmarking with other sites I saw that this one uses the same defer technique to delay scripts until user interaction: https://www.locaweb.com.br/blog/

    But I noticed that there are more triggers besides Mouse Hover, such as switching tabs.

    Is there any possibility of adding more triggers that are not activated by Pagespeed’s?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ofmarconi

    (@ofmarconi)

    I’ve been studying a little, wouldn’t it be good to add a SetTimeout to force loading even if there is no user interaction? If full loading takes 3 seconds, then there could be a SetTimeout of 4 seconds to force the GTM to load, right?

    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    well, but the loading time is always dynamic , it’s not same, depends on many factors , so a hard fixed timeout is not exactly a good idea

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add more triggers to load scripts’ is closed to new replies.