You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
It's going to be a bit complicated to properly track routing change in a middleware, can we think about a nice way to play with screen tracking middleware ?
Currently we can access the current route name and whatever that is in the router state.
It could be nice if each screens can specify a analyticsScreenName meta that depend on something like params, or pre specified configuration like routes' metas of VueJS Router.
For example at the moment I got some route named as the following :
If i need to dispatch "Authenticated/Explore/ExploreHome" for ExploreHome, I need to maintain a map collection alongside, if we had the capability to add some kind of meta, this could be nice.
On declaration or directly in screen via navigationOptions.
What do you think of that ? Should we make a separate module that can be imported as redux middleware ? I can develop in a RFC if you think that's a good point.
Best regards
The text was updated successfully, but these errors were encountered:
Hello,
It's going to be a bit complicated to properly track routing change in a middleware, can we think about a nice way to play with screen tracking middleware ?
Currently we can access the current route name and whatever that is in the router state.
It could be nice if each screens can specify a
analyticsScreenName
meta that depend on something like params, or pre specified configuration like routes' metas of VueJS Router.For example at the moment I got some route named as the following :
If i need to dispatch "Authenticated/Explore/ExploreHome" for ExploreHome, I need to maintain a map collection alongside, if we had the capability to add some kind of meta, this could be nice.
On declaration or directly in screen via navigationOptions.
What do you think of that ? Should we make a separate module that can be imported as redux middleware ? I can develop in a RFC if you think that's a good point.
Best regards
The text was updated successfully, but these errors were encountered: