Two separate script tags for Google Analytics?

前端 未结 5 945
被撕碎了的回忆
被撕碎了的回忆 2021-02-05 13:04

Does anyone know why Google Analytics requires two separate script tags?

Specifically, their instructions advise users to embed the following snippet of code into a web

5条回答
  •  隐瞒了意图╮
    2021-02-05 13:31

    I suspect it's an attempt to avoid obscure browser issues with the use of document.write to deploy a script tag.

提交回复
热议问题