Error listener in Js tracking client

Hi all,

I was working for mobile analytics for a hybrid app using js tracking client, Where I am facing a challenge to add a error listener call back on trackpageview or track event. For example I call _paq.push([“trackPageView”]) it will do a http call to piwik server to load analytic data. If there is an error I need a notification callback method to execute.

I checked in docs no api found to add an error listener do anybody have some idea?

Hi Arul,

If there is an error I need a notification callback method to execute.

Interestingly, a Piwik community member just contributed this feature to us, but we haven’t reviewed or tested it yet. Could you test it and give feedback in this pull request? https://github.com/piwik/piwik/pull/8782

Hi,

Sure just now i got your reply. Will do it and reply back soon.

thanks
Arul