Hi all ,
I am wondering that if i calculate the passing time between two user actions or not. For example, there are two actions below and the result should be 1min 20s.
Action 1 : click on "Start Action" : 10:00:00
Action 2: click on "End Action" : 10:01:20
I also want to give an example scenario of this situation. Think that, you want to buy something from an e-shopping web site and you go www.something.com and then countinue as below.
1- Firstly, you click "Product" you want to buy: 10:00:00
2- You click "Add to basket" : 10:00:20
3- Then you set your payment choice and type your credit card information then click "Next" : 10:01:30
4- Lastly you click "Okey" then your order is accepted and your visit finish : 10:02:00
According to above scenario, your buying time is 2 minute. I could capture these begin and end user actions with request header paramater but i could not calculate the passing time between two actions.
You cannot make it directly in Dynatrace (at least so far, I’ve read somewhere that there are plans for some extra tools related to those data but I can’t find topic). You can export user sessions to ElasticSearch via built in integration and than you will be able to make such calculations.
Thank you for your response Sebastian. I want to ask you one more question regarding this topic. Can i export all user action with request parameters that i capture to ElasticSearch or other external tool ? In this way, i will split user actions by request header, and i understand which user action is the first and which is the last action then i will calculate the passing time between these two actions.
Note: Every user action includes 3 uniqe request header values, we understand which is the first and which is the last action according to these values. So if we won't export request parameters, this scenario can't work for us.
User actions are not correlated with request headers. I've missed last time that you've asked question in appmon not dynatrace forum. In such case you can export user visits as well to ElasticSearch but you will not have header information. Purepaths (which has this information) cannot be passed.
https://www.dynatrace.com/support/doc/appmon/shortlink/id_purelytics_stream#the-json-document-format -> here you have sample JSON's that can give you some insights about what you will see in Elasticsearch.
When you look here, in user action you should be able to see correlated business transaction, so you can try making user action business transaction that will split by request header, but I'm not sure if this work.
I wanted to do the same thing. For example, we'd like to measure the time from when the user clicks a button on the page for XHR action, to the time when they complete it (example, going through a stepped process.
After some research I think the solution is to use W3C user timing marks/measures. In the user timing spec it is possible to measure time duration between 2 events.
Please note this is theoretical but I believe possible. More info on W3C timing spec 3 is here: https://www.w3.org/TR/user-timing-3/
An article on different ideas for user timing is here:
Would appreciate any feedback on this.