cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding metadata to user session using RUM API

Julius_Loman
DynaMight Legend
DynaMight Legend

Are there any possibilities to add additional metadata into user session in Dynatrace or how to override the built-in ones? WIth the RUM API (dtrum) it seems just the identifyUser() is available and other methods are basically for identifying particular actions/xhrs.

I'm particularly interested in setting the IP address from within an application. In this case, browsers are running on Citrix servers and we would like to track the Citrix client IP (it's available in the web app in JavaScript variable).

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner
4 REPLIES 4

AlexanderSommer
Dynatrace Champion
Dynatrace Champion

This is on the roadmap and will be soon available

fstekelenburg
DynaMight Pro
DynaMight Pro

Can anyone give an update on how this has been implemented, and can be used?

Kind regards, Frans Stekelenburg                 Certified Dynatrace Associate | measure.works, Dynatrace Partner

Hi @fstekelenburg, I've reached to the source to provide you the first-hand informations. It's currently possible to do with the API, however getting the IP with use of Javascript isn't possible unless you make a request somewhere. 

ChadTurner
DynaMight Legend
DynaMight Legend

Here is an idea that would be worth investigating. First and foremost, can you see the IP from the purepaths of the supported service that the user is interacting with? If so, you can create a request attribute to target that IP, then set the IP as the user tag on the user session. We have done this with many things that we wanted to track on users but Dynatrace

didnt provide an out of the box solution such as domain. 

-Chad

Featured Posts