# Multiple Document requests are capturing under same UserAction

**URL:** <https://community.dynatrace.com/t/multiple-document-requests-are-capturing-under-same-useraction/41219>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-actions\
**Created:** [August 16, 2023, 1:04am UTC](https://community.dynatrace.com/t/multiple-document-requests-are-capturing-under-same-useraction/41219 "2023-08-16T01:04:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarun\_kumar\_aga](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@tarun\_kumar\_aga](https://community.dynatrace.com/u/tarun_kumar_aga)\
**Post date:** [August 16, 2023, 1:04am UTC](https://community.dynatrace.com/t/multiple-document-requests-are-capturing-under-same-useraction/41219/1 "2023-08-16T01:04:59Z")

</div>

Hi,

We are noticing multiple document requests are showing under the same user action, technically each of them should come as separate user action but everything is coming under the same waterfall and these results are misleading and which include from user login to page load in a single action. We want to understand how dynatrace groups them into the same action.

From the waterfall we see onload event is taking time but don’t see any additional info on what that onloadevent.

 ![tarun_kumar_aga_0-1692147733509.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/1/d1b745493619f7b5f0075560507a4a3b6660fcc0.png)

---

<div class="post-metadata">

**Author:** ![natanael\_mendes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/natanael_mendes/32/15264_2.png) [@natanael\_mendes](https://community.dynatrace.com/u/natanael_mendes)\
**Post date:** [August 16, 2023, 2:40am UTC](https://community.dynatrace.com/t/multiple-document-requests-are-capturing-under-same-useraction/41219/2 "2023-08-16T02:40:14Z")

</div>

maybe you need to configure an user action naming rule, i think the Davis is agruping the same action because of the name

---

<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:** [August 16, 2023, 7:37am UTC](https://community.dynatrace.com/t/multiple-document-requests-are-capturing-under-same-useraction/41219/3 "2023-08-16T07:37:46Z")

</div>

Here’s how DT groups user actions: [Pages and page groups in RUM Classic — Dynatrace Docs](https://www.dynatrace.com/support/help/platform-modules/digital-experience/web-applications/initial-setup/pages-and-pagegroups)

As the [@natanael\_mendes](https://community.dynatrace.com/user/30468)&nbsp;wrote you can check the user action naming setting or if the automatic grouping still works incorrectly then you need to use **RUM JavaScript API.**

Radek

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [August 16, 2023, 7:50am UTC](https://community.dynatrace.com/t/multiple-document-requests-are-capturing-under-same-useraction/41219/4 "2023-08-16T07:50:37Z")

</div>

Based on the waterfall screenshot, Dynatrace RUM cannot automatically detect end of the user action and considers additional document request part of the same user action.&nbsp; Reasons for that may vary. You can also use the RUM [JavaScript API](https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html) as suggested to send signal that page loading is finished.

---

<div class="post-metadata">

**Author:** ![tarun\_kumar\_aga](https://avatars.discourse-cdn.com/v4/letter/t/c5a1d2/32.png) [@tarun\_kumar\_aga](https://community.dynatrace.com/u/tarun_kumar_aga)\
**Post date:** [August 22, 2023, 9:21pm UTC](https://community.dynatrace.com/t/multiple-document-requests-are-capturing-under-same-useraction/41219/5 "2023-08-22T21:21:38Z")

</div>

We have received fix from support to include dsa=1 which will show each of the document request as seperate.

---

<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:** [August 22, 2023, 9:42pm UTC](https://community.dynatrace.com/t/multiple-document-requests-are-capturing-under-same-useraction/41219/6 "2023-08-22T21:42:26Z")

</div>

Great 😌 thank you for info
