04 Mar 2024 02:25 PM - last edited on 10 May 2024 04:00 PM by Michal_Gebacki
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?
Solved! Go to Solution.
04 Mar 2024 03:52 PM
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
05 Mar 2024 03:12 PM
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!