Real User Monitoring
User session monitoring, key user actions - everything RUM.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can we add/combine two different css selections to create one user tag ?

rohit_sharma
Guide

Can we add/combine two different css selections to create one user tag ?

I want to capture two different texts from two different areas of the html for example:

text 1: Joe

text 2: Joe's emp no ( 242) ( mentioned on same page but elsewhere)

Desired result: Joe 242

Is it possible ? if yes how can I combine the css selections to achieve the same.

I have been trying : css selection 1(body > div.dJi-f.ds-i > div:nth-child(1) > div > div:nth-child(3) > div > div.dil-e > a > div.dil-f) + css selection 2

Regards

Rohit Sharma

 

4 REPLIES 4

skrystosik
DynaMight Guru
DynaMight Guru

I think you will have create two rules (one per each selector). But you will result 2 tags. In this way the best option is to save desired value to cookie or global js variable if you have such option.


Regards, Sebastian

Thanks for the input Sebastian 🙂


Julius_Loman
DynaMight Legend
DynaMight Legend

Additionally if you have the option to alter the code, I'd suggest to use the Dynatrace dtrum API for for tagging the user.


Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

Thanks Julius, we are looking into that possibility 🙂


Featured Posts