12 Aug 2019 01:43 PM
Hello,
If after a user action, the first thing that happens is a (pdf) file download. I assume this is not seen by dynatrace as a page load os it shows only as a click-on that consumes time? Can we make this visible in Dynatrace?
KR Henk
Solved! Go to Solution.
12 Aug 2019 02:42 PM
If I understand your question, it is basically an identification when a PDF is downloaded completely in the browser. As long as you can identify the start of PDF download and the end of PDF download, you can use the Dynatrace RUM API to capture the action. - dtrum.enterAction() and dtrum.leaveAction(). Then the PDF download would be a separate custom action. Alternatively, if you want to include it in the XHR/Load user action, you can use dtrum.setLoadEndManually() and dtrum.signalLoadEnd().
One possible approach is to set a cookie with the downloaded PDF and check in the application if the cookie is already present. This would indicate a finished download.
Anyway, you will need to modify your application to capture this information and send appropriate events.
12 Aug 2019 02:50 PM
Hi Julius,
Thanks for your feedback, you have been rewarded (-;
KR Henk