umami
umami copied to clipboard
If a click event is bubbled from its children, it will not be tracked
Describe the feature or enhancement
If my DOM is like this:
<button data-umami-event="btn">
<div>some icon</div>
<button>
If I clicked on the div (which is often), this event will not be raised. I think this is a common case.
Of course I can trigger an window?.umami.track
manually in onclick
function, but I think this enhancement is beneficial in most cases.
Confirmed, we'll get this fixed.