Countly/countly-sdk-web

link click action did'nt track correctly

jianglinchun opened this issue · 1 comments

html example:
`<a id='aa" href="http://github.com">

  • test
  • `

    The li element was treat as srcElement of the click event. So the id of the link was not tracked.
    Those helper methods have the same problem. Please improve:
    ……
    track_clicks
    track_links
    ……

    This issue should be fixed on development branch by 684e415 and c324f3d

    Note if you want to try development branch, then it currently does not parse user agent and does not send all metrics to server, metrics are post filled by web plugin on server side (which require some modifications on server)

    Will close issue after release, when development branch is merged