Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
how can i know if user clicks/hovers div on my site ?
i am a little confuse Whether to use goal or to use
events.
thank you
你可以两者都做!使用 jQuery mouseover / click 事件处理程序传递两个单独的目标,然后创建一个“基于目标的事件”
如果您想知道“这种情况发生了多少次?” 使用事件(总 = 次数;唯一 = 访问次数)
如果这是您想要的“这发生了多少次访问?” 使用目标。
目标为成本细分提供了更好的报告——例如:“我花了多少钱来访问点击一个 div?” 目标比事件更容易回答。