does Google analytics make a major effect on time to download a static web page?

后端 未结 15 1467
臣服心动
臣服心动 2021-01-07 22:44

I understand that by simply adding a script to the end of the body tag of a html document one makes it processable by Google analytics. My question is, is this likely to hav

15条回答
  •  既然无缘
    2021-01-07 23:35

    If you add the code to the bottom of the page then it probably won't make much of a difference.

    If however, you want it to make no difference then I'd take a look at this link:

    http://lyncd.com/2009/03/better-google-analytics-javascript/

    It describes the approach that Steve Souders took to completely avoid any kind of I/O block.

提交回复
热议问题