What's the difference between optimized and full selectors?

When you click on an element using Inspect Mode, Fullstory provides an optimized selector and a full selector that you might want to use in your search. What's the difference between the two? 

Full Selector

Simply put, the full selector includes the full selector chain and all related attributes for your selected element.

Screen_Shot_2022-07-06_at_8.31.25_AM.png

Optimized Selector

The optimized selector removes any noisy or dynamic attributes and respects the element attributes configured in your Fullstory settings.

Screen_Shot_2022-07-06_at_8.31.07_AM.png

Which should I use?

Generally, using the optimized selector will help you run a more effective search; however, the exact version of the selector you choose will ultimately depend on your specific use case and site configuration. 

 

Need to get in touch with us?

The Fullstory Team awaits your every question.

Ask the Community Technical Support