Serge Huber created UNOMI-1037:
----------------------------------

             Summary: Tracker: only the first click on a link or button is 
tracked
                 Key: UNOMI-1037
                 URL: https://issues.apache.org/jira/browse/UNOMI-1037
             Project: Apache Unomi
          Issue Type: Bug
          Components: unomi-tracker
            Reporter: Serge Huber
             Fix For: unomi-tracker-2.0.0


When a website sends clicks with sendClickEvent (directly, or for the links and 
buttons Unomi tracks with clickOnLinkEventCondition), only the first click on 
each element is sent to Unomi. Later clicks on the same element, on the same 
page, are never sent, so rules and statistics based on them miss data.

Cause: sendClickEvent remembers the element while its click is re-dispatched, 
and should forget it afterwards, but uses {{splice(eventIndex, 0)}}, which 
removes nothing.

Fix: {{splice(eventIndex, 1)}}. Covered by a browser test against each Unomi 
server (two clicks, two stored events).



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to