Implement a customer improvement program
From the perspective of an application producer it is really important to know what our end users do with the application they use:
we plan a feature;
we invest money in building a feature;
we deploy a feature;
we know nothing about how the user utilizes the feature we invested on, we do not even know if the user utilizes it at all.
Writing the above code at the application startup enables the Radical AnalyticsServices, what happens is that all the code that in some way invokes a DelegateCommand, in a WPF MVVM based application, will be tracked and we have the opportunity to “save” what the user is doing in order to analyze it later.
What the UserActionTrackingHandler receives is an AnalyticsEvent with the following shape:
If we need we can define our own events inheriting from the AnalyticsEvent class and in order to plugin our events we only need to declare a dependency on the IAnalyticsServices service:
And each time we call TrackUserActionAsync
the UserActionTrackingHandler
will be invoked.
Last updated