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

User tagging with SessionStorage variable?

pieter_dormael1
Inactive

Hello,

I'm trying to use a variable from the browser "Session Storage" as the user tag.

Using the "Cookie value" resulted in miserable failure, but I found some inspiration in this thread that tries to do something similar with the "Local Storage":

https://answers.dynatrace.com/spaces/482/dynatrace...

The variable name I can use has this format: company.application.applicationname-web-app.user , so I try to use the following:

The problem seems to be the strict 'dot notation' checking that seems to be enforced, which doesn't agree with the '-' characters in the variable name:

Any ideas if my concept would even work, or if I may be able to use some fancy escaping to be able to read the variable with a '-' in the name?

Thanks,

Pieter

1 REPLY 1

AlexanderSommer
Dynatrace Pro
Dynatrace Pro

Theoretically this will work from the RUM JavaScript code side, but unfortunately we don't allow the "-" from the UI. Till we fix it in the UI, you can create a support issue, so we change the configuration directly in the config.
Please add a link to this post in your support case