Google标签管理器单击ID事件不启动

发布于 2025-02-09 14:06:17 字数 986 浏览 1 评论 0原文

我已经设置了我的元素,以至于当我单击此元素时,Google标签管理器应触发标签。但是,我无法正常工作,即使一切都应该正确设置。

我尝试了多件事,但是我以两种方法结尾,其中至少可以起作用:

“ “

但是,这两种方法都无法使用。我添加了标签管理器调试器的屏幕截图,以说明点击事件,该标签应该放火和事件的变量。

I have set up my element in such a way that google tag manager should fire a tag when I click this element. However, I can not get it to work, eventhough everything should be set up correctly.

I tried multiple things, but I ended with two methods where atleast one should work:

first method
second method

However, both method won't work. I added screenshots of the tag manager debugger to illustrate the click event, the tag which should fire and the variables of the event.

enter image description here
enter image description here
enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一袭白衣梦中忆 2025-02-16 14:06:17

第一个条件有效,当您选择单击元素而不是单击ID时。
必须激活点击元素,因为它是GTMS集成变量之一。

第二个通过删除引号来起作用。

The first condition works, when you chose Click Element instead of Click ID.
Click Element has to be activated as it is one of GTMs integrated variables.

The second one works by deleting the quotation marks.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文