[英]is it possible to add Google Tag Manager to both head and body
I would like to leverage GTM more. 我想更多地利用GTM。 I have it set it up and working with all tags inside the
<head>
. 我将其设置并与
<head>
内部的所有标签一起使用。 Is it possible to have it 2 containers, 1 for and 1 for , and then add all scripts in each relevant container? 是否可以使用2个容器(1个用于和1个用于),然后在每个相关容器中添加所有脚本? Is there any other way accomplish this.
还有其他方法可以做到这一点。
Thank you :) 谢谢 :)
It is possible to have multiple GTM containers on the one page. 一页上可以有多个GTM容器。
You would have to rename dataLayer
to something else on the 2nd one to avoid conflicts. 您必须在
dataLayer
将dataLayer
重命名为其他名称以避免冲突。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.