19 Dec 2022 10:06 AM
Has anyone been successful with tracking hybrid user actions? By hybrid action, I mean a user action starting in a web application resulting in a deep link captured by the native part of the application. Conceptually it's a single user interaction - the user performs a single click on a web application and ends in the native mobile application.
The situation is as follows:
This is not being tracked in any way by the RUM JS, since the actions itself does not end on a web page. Reception of the deeplink by the mobile app is represented as a mobile lifecycle action in the user session.
The only method right now is to create mobile action manually as soon as the deep link is processed by the native part or overriding the automatically detected action. This is however missing the overall customer experience as the timing of the web request is not captured. OneAgent does not allow creating custom action start times when creating actions.
Has anyone been successful with a better capturing of the hybrid user actions?
19 Dec 2022 10:18 AM
I currently do not see a way to create such a cross-technology spanning user action.
Assuming creating mobile user actions with backdated start time would be available, how would the start time of the web part be passed over to the mobile agent in case of the deep link being called?
Creating a cross-technology user action is a veeery special use case that probably won't make it into the product, so my suggestion is to go for a user action in web and another action on mobile side if login was sucessful.
19 Dec 2022 10:34 AM
Actually, it's not as rare as one would think. I've seen at least two cases recently at customers.
@Patrick_H are there any options to create also user action on the web part when there is just an HTTP POST request of the login form which then redirects? We tried to push custom actions using dtrum API in the validation code for the form, but it was not really reliable. Probably due to the fact the navigation from the page was too fast and those beacons have not been sent. Ideally, we would have at least the time when the user clicked the web button captured by the web RUM including the action type (login with password/ login with OTP / ... ). The landing in the native part is possible with the manually created action.
I can image capturing and posting the time when user performs the hybrid action to the backend and then returning it back in the deeplink so the mobile action can be created with a different start time. But this is just an idea. Afaik there is not an option to create a mobile action with custom start time, is there?
19 Dec 2022 12:08 PM