# Capture user action on page which does not have API call involved

**URL:** <https://community.dynatrace.com/t/capture-user-action-on-page-which-does-not-have-api-call-involved/42729>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-actions\
**Created:** [November 20, 2023, 4:23pm UTC](https://community.dynatrace.com/t/capture-user-action-on-page-which-does-not-have-api-call-involved/42729 "2023-11-20T16:23:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas070785](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@vikas070785](https://community.dynatrace.com/u/vikas070785)\
**Post date:** [November 20, 2023, 4:23pm UTC](https://community.dynatrace.com/t/capture-user-action-on-page-which-does-not-have-api-call-involved/42729/1 "2023-11-20T16:23:49Z")

</div>

Hi,

We have a requirement to capture user events on page which does not have any XHR call involved, like capture checkbox click or button on page which has small JavaScript function running on click.

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 20, 2023, 5:12pm UTC](https://community.dynatrace.com/t/capture-user-action-on-page-which-does-not-have-api-call-involved/42729/2 "2023-11-20T17:12:40Z")

</div>

This will be helpful for you: [Real User Monitoring JavaScript API — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/api-javascript)

---

<div class="post-metadata">

**Author:** ![vikas070785](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@vikas070785](https://community.dynatrace.com/u/vikas070785)\
**Post date:** [November 20, 2023, 5:17pm UTC](https://community.dynatrace.com/t/capture-user-action-on-page-which-does-not-have-api-call-involved/42729/3 "2023-11-20T17:17:25Z")

</div>

Sorry, I did not elaborated my problem. We already setup Dynatrace RUM and getting all the user actions like XHR calls, page change etc but only those user events are not visible in User session when user is on the page and clicking on checkbox or clicking a button which does not have any API call etc. So not sure how to define them in User Actions. Do I need to do something custom?

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 20, 2023, 7:52pm UTC](https://community.dynatrace.com/t/capture-user-action-on-page-which-does-not-have-api-call-involved/42729/4 "2023-11-20T19:52:31Z")

</div>

I suspect that in this case you need to configure Custom User Action. You can find all the documentation [here](https://docs.dynatrace.com/docs/shortlink/user-actions#custom-action)🙂

---

<div class="post-metadata">

**Author:** ![Islam\_Zedan](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/islam_zedan/32/31999_2.png) [@Islam\_Zedan](https://community.dynatrace.com/u/Islam_Zedan)\
**Post date:** [November 21, 2023, 6:33am UTC](https://community.dynatrace.com/t/capture-user-action-on-page-which-does-not-have-api-call-involved/42729/5 "2023-11-21T06:33:36Z")

</div>

Hello,

Most probably you will need custom user action as&nbsp;[@radek\_jasinski](https://community.dynatrace.com/user/16832)&nbsp;mentioned, but you can also check the application settings as below screenshot, you may need to enable some of them as per your need.

 ![islam_zidan_0-1700548371788.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/f/0fb346ad3a6661eff78f4aa29dde166f39da3323.png)

Thanks,

Islam
