In Gainsight PX, can I write a selector the same way?
div[data-gs=“something”][title=“Edit Button”]
Thank you,
Glen Lipka
Best answer by dileepnalla
Hi @GlenLipka ,
This is Dileep from Gainsight Support. Yes, you can define the multiple attributes in the single selector.
Please refer the below explanation and Video recording
Use cases where we can use any number of CSS selectors on PX to identify the element
1. While we want to tag a tooltip/ Hot spot / Badges in the engagements.
2. We use CSS selectors with the combination of scope(URL) to track a feature by mapping it in the product mapper.
The below video helps you how to achieve multiple attributes mapped in one selector, this video has been recorded in my local instance taking your use case.
Steps to do:
Add data-gs and title in the DOM elements in SDK settings as shown below
Add the Multiple Attributes in the Selector as shown below
Once you use the feature, you will be able to track that in the Recent Activity
Hope this helps, Please let us know if you have any further concerns, we are happy to share
This is Dileep from Gainsight Support. Yes, you can define the multiple attributes in the single selector.
Please refer the below explanation and Video recording
Use cases where we can use any number of CSS selectors on PX to identify the element
1. While we want to tag a tooltip/ Hot spot / Badges in the engagements.
2. We use CSS selectors with the combination of scope(URL) to track a feature by mapping it in the product mapper.
The below video helps you how to achieve multiple attributes mapped in one selector, this video has been recorded in my local instance taking your use case.
Steps to do:
Add data-gs and title in the DOM elements in SDK settings as shown below
Add the Multiple Attributes in the Selector as shown below
Once you use the feature, you will be able to track that in the Recent Activity
Hope this helps, Please let us know if you have any further concerns, we are happy to share
If you ever had a profile with us, there's no need to create another one. Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.