smartlook / smartlook-android-sdk

5 stars 1 forks source link

Ionic event tracking not working #43

Closed AlvaroCavalcante closed 4 years ago

AlvaroCavalcante commented 4 years ago

I am trying to track the events in my mobile app made in ionic, but watching the user's recordings I saw that all click actions had the same value: "MainActivity SystemWebView UNKNOWN" this is untraceable, what can I do? I added the smartlook recording to my app module and app component

SenNeonoveNoci commented 4 years ago

Hi @AlvaroCavalcante,

native SDK can track clicks on native views. Ionic is sadly just a webpage displayed in WebView, we are detecting clicks on on WebView but cannot determine what element of website was clicked.

We might research some options in the future. For now, I'm gonna recommend you to use Smartlook.trackCustomEvent(). You need to define events by your self sadly.