Serge Huber created UNOMI-1047:
----------------------------------
Summary: Tracker: clicks on an element inside a tracked link or
button are not tracked, or not held back
Key: UNOMI-1047
URL: https://issues.apache.org/jira/browse/UNOMI-1047
Project: Apache Unomi
Issue Type: Sub-task
Components: unomi-tracker
Reporter: Serge Huber
Fix For: unomi-tracker-1.6.0, unomi-tracker-2.0.0
When a visitor clicks an image, icon or text inside a link or button whose
clicks Unomi tracks, the click is not tracked (the inner element has no id), or
it is tracked under the inner element's id and not held back, so the page can
leave before the event is sent.
Cause: sendClickEvent uses the clicked node (event.target), not the element it
listens on.
Fix: the element the listener is on is tracked, and the click is held back if
the nearest link or submit button leaves the page. Covered by unit tests and
browser tests against each Unomi server.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)