I'm currently working on an app using react native
and redux
. Now I want to add tracking of the events that are happening and I've made an async function trackUserEvent(category:string, action:string, data:any)
for tracking that I want to be called every-time a user-interaction happens (eg button press, new screen, select/unselect etc). Is there a way of implementing this for all components at once instead of having to add it manually at every place in the project code?
↧
How to call a function at every user interaction for tracking purposes
↧