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

后端 未结 15 1310
臣服心动
臣服心动 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:26

    No.

    If you put it at the end it will be loaded last, so even if Googles servers are a bit slow your visitors will never notice.

    ga.js is 9.58k and a logging call is about 1.2k. The js will be cached after the first load (I guess even across sites?) so it's really negligible size wise.

提交回复
热议问题