在内容页面上添加Google跟踪代码管理器脚本的位置? [英] Where to add Google Tag Manager script on content pages?

查看:67
本文介绍了在内容页面上添加Google跟踪代码管理器脚本的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的网站上使用谷歌标签管理器。一开始,它会生成一个脚本,并要求将其添加到body标签下的所有页面上。但是,在我的网站上,我将所有内容页面都放在1个母版页下。在asp.net中,body标签仅存在于母版页而不是内容页中。那么,我应该只将脚本放在母版页上还是有办法将它放在内容页面上?

I want to use google tag manager in my website. At beginning, it generates a script and asks to add it on all pages below body tag. But, in my website i have all content pages under 1 master page. In asp.net body tag is present only in master page and not content pages. So, should I place the script on master page only or is there any way to place it on content pages?

推荐答案

我有类似的问题



我将代码放在母版页的body标签旁边,如果有任何其他条件或问题,它可以正常工作,然后随意讨论。
I have the similar problem

I placed code next to body tag in master page and it works fine if there is any other condition or problem then feel free to discuss.


这篇关于在内容页面上添加Google跟踪代码管理器脚本的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆