setTimeout() not working when inside hasFocus()

前端 未结 0 1814
-上瘾入骨i
-上瘾入骨i 2020-11-21 09:25

The code below sends the 03s event do Google Analytics after 30 seconds a user enter a page.

setTimeout(function(){
   gtag(\'event\', \'30s\');
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题