# Capturing user tag from Documentum

**URL:** <https://community.dynatrace.com/t/capturing-user-tag-from-documentum/45307>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-sessions\
**Created:** [April 25, 2024, 10:02pm UTC](https://community.dynatrace.com/t/capturing-user-tag-from-documentum/45307 "2024-04-25T22:02:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keith\_Harding](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@Keith\_Harding](https://community.dynatrace.com/u/Keith_Harding)\
**Post date:** [April 25, 2024, 10:02pm UTC](https://community.dynatrace.com/t/capturing-user-tag-from-documentum/45307/1 "2024-04-25T22:02:14Z")

</div>

Hi,

Has anyone used Dynatrace to capture the User Tag from Documentum web pages?

We have tried using a CSS Selector of:

[id$=ABCD\_1] \> nobr \> a \> span

and used the dtrum getmetadata… command in the console and it does work.

BUT ONLY if we first click somewhere in the frame that holds that data.

I suspect the problem is that Documentum is using Framesets (so session replay doesn’t work) and I think that is stopping the user tag capture as that frameset is not in focus when the page is drawn.&nbsp; Though thats a guess.

Any suggestions for how to capture the user tag would be appreciated.

Thanks, Keith

---

<div class="post-metadata">

**Author:** ![Eric\_Yu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/eric_yu/32/20360_2.png) [@Eric\_Yu](https://community.dynatrace.com/u/Eric_Yu)\
**Post date:** [April 25, 2024, 10:19pm UTC](https://community.dynatrace.com/t/capturing-user-tag-from-documentum/45307/2 "2024-04-25T22:19:33Z")

</div>

A good way to test if the selector can be reached and is returning the value you expect is to navigate to that view and try in the console:

```javascript
document.querySelector("{css-selector}")

```

Additionally, here’s a quick guide in the documentation to verify if the user tag was applied in your session:

> **[Tag specific users for web applications in RUM Classic](https://docs.dynatrace.com/docs/observe/digital-experience/rum-classic/web-applications/additional-configuration/identify-individual-users-for-session-analysis)**
>
> Tag individual users via the JavaScript API for session analysis.

If it doesn’t work, I’d recommend using the JavaScript API to assign user tags, which is a better way to do it if you have more complex setups or css-selectors that change dynamically.

[https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum\_types.DtrumApi.html#identifyUser](https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#identifyUser)

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [April 26, 2024, 6:20am UTC](https://community.dynatrace.com/t/capturing-user-tag-from-documentum/45307/3 "2024-04-26T06:20:17Z")

</div>

Check if&nbsp;the JavaScript Agent is also injected into the actual frame where the CSS is located.
