In addition to classes and attributes, add Javascript to the panel to easily call JS functions when acting with elements. That would make it easy to add tags to elements, like Plausible custom events on button clicks, menus, or scroll positions. Possibilities would be endless.