gpt4 book ai didi

oracle - 谷歌标签管理器和甲骨文 APEX : Track close dialog

转载 作者:行者123 更新时间:2023-12-03 17:31:48 24 4
gpt4 key购买 nike

我在 ORACLE APEX 应用程序中实现了 Google Analytics。
我想知道如何在 Google Analytics 中跟踪“关闭模式对话框/按下关闭按钮”事件。

我用谷歌标签管理器尝试了以下方法:

标签
enter image description here
我创建了一个标签,作为事件类型。其中包含一个触发器,当点击的元素匹配 .ui-dialog-titlebar-close 时将触发标签。

触发
enter image description here

关闭按钮 HTML:

<button type="button" class="ui-button ui-dialog-titlebar-close" role="button" title="Close">
<span class="ui-button-icon-primary ui-icon ui-icon-closethick"></span>
<span class="ui-button-text">Close</span>
</button>

当我使用 Next(volgende) 或 cancel(annuleren) 按钮更改触发器中的 CSS 匹配项时,标签会在点击时被激活,并且可以在 Google Analytics Events 中查看该事件:
enter image description here

我希望有人可以帮助我!

编辑

Changed the CSS ui-dialog-titlebar-close mention to .ui-dialog-titlebar-close, was missing a dot. But that didn't solved my problem. Still can't see the close action in events.

最佳答案

发表评论会太长,所以我会在这里添加一个可能的答案。
试试这个选择器。

.ui-button.ui-dialog-titlebar-close,.ui-button.ui-dialog-titlebar-close .ui-button-icon-primary.ui-icon.ui-icon-closethick,.ui-button.ui-dialog-titlebar-close .ui-button-text

这是按钮的选择器和里面的两个 span 元素。

关于oracle - 谷歌标签管理器和甲骨文 APEX : Track close dialog,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47672340/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com