主题:仅使用UTM参数的主页的Google跟踪代码管理器触发器
嗨,我正在尝试在我网站的主页上显示聊天小部件 . 我目前有一个主页的GTM触发器:
页面路径我在这里找到了解决方案:How do I create a rule that will fire only on my site's home page? Fire GTM tag only if on homepage of the site
但是,如果主页后面有UTM参数,则不会出现这种情况 . 例如:https://www.example.com/?utm_source=linkedin&utm_medium=paid%2Bsocial&utm_campaign=example-campaign
1 回答
您应该为UTM创建变量,如下所示:
然后从触发器做这样的事情:
希望能帮助到你!