question

Swati B. avatar image
Swati B. asked ·

custom user action

Hello ,

I want to add custom user actions to be captured for my application . Can some one help me with documents related to same? details given in under the topic is not very detailed "

Customize Real User Monitoring"



Thankyou..

Dynatrace Manageduser session monitoringjavascript
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Swati B. avatar image
Swati B. answered ·

Hi Julius ,I have downloaded the docs and sample . but I am still not able to figure out how to change API to add custom actions . For example , I want to capture mouseClick: = "C" .


4 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

You need to call the dtrum JavaScript object methods to capture the action start and end. Can you be more specific in what you are trying to achieve?

0 Likes 0 · ·

Hi Julius , I want to capture number of click actions on 'Finish' button.

0 Likes 0 · ·

By design, the click on finish should be a separate user action. Depending on whether the web application does some network requests or not a user action will be automatically created.

If you don't see user actions triggered by the button click, you need to implement this custom action calls. But nobody will give you more details on how to implement it without a look at the application.

The number of clicks (user actions) can then be retrieved for example by querying the user sessions.

0 Likes 0 · ·

Thanks For your reply . I will check further.

0 Likes 0 · ·
Julius L. avatar image
Julius L. answered ·

Just download the API docs and samples from your environment (Settings -> Web & mobile monitoring

-> Advanced setup). There are good samples in the zip file that will certainly help you.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.