[英]Do I need to include this line: <!-- Global site tag (gtag.js) - Google Analytics -->
Do I need this line for google analytics?谷歌分析需要这条线吗? I'm minifying my html and it's removing the line.我正在缩小我的 html,它正在删除该行。 I can't find much on google about this.我在谷歌上找不到太多关于这个的信息。
<!-- Global site tag (gtag.js) - Google Analytics -->
The rest of the code is still there.其余的代码仍然存在。
No, that is a comment and won't affect functionality!不,这是评论,不会影响功能!
Comments in HTML begin with <!--
and end with -->
Anything between those, won't run or render. HTML 中的注释以<!--
开头并以-->
结尾,它们之间的任何内容都不会运行或呈现。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.