Our product is built in Angular and has one URL that doesn’t change based on the page you are on. In order to map a feature within the Product Mapper and have it track as unique, our developers have been putting unique ID’s on specific elements. We recently started discussing best practices around how to set a more regimented format for attributing/naming elements in the code so there isn’t any confusion.
Anyone else have advice they can share around the following:
- What is the best type of selector to use - a unique ID on an element or an attribute?
- What naming conventions have worked well, do you include anything like “data_gs” in the name?
- Any other development strategies that have made tagging in the Product Mapper easier?