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

Problem with capture the user action property

radek_jasinski
DynaMight Guru
DynaMight Guru

Hi,
I have an identifier set in the page source (data-dynatrace-id) and would like to capture it as a user action property. I'm trying to use the CSS selector, but it doesn't quite work. Does anyone have any ideas?

image.png

Have a nice day!
2 REPLIES 2

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Maybe a JavaScript variable can help but developers should add it.

Other option, since it is a button, do you know that information can be catched using request attributes? If yes, you can link that property that specific request attribute.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Hey,

Unfortunately, the option with Request Attribute could not work because it is in the code of the page.
This css selector worked: [data-dynatrace-id]@data-dynatrace-id

Radek
Thanks for your help!

Have a nice day!

Featured Posts