I agree with @Jennifer_Dungan ,
Even if there was a feature I would still go through the movements to establish a data-layer that captures click data. Example:
- thing clicked
- href you are on when you clicked
- href you are sent to
- wrapping component "ID"
This will allow you to had thorough reporting on your click data (journey flows, etc).
Regarding the ID, the taxonomy of your ID should be scalable for simple components and more complex components. Ex:
ID definitions
<<comp name>>-<<locale>>-<<persona>><<position>>-<<title>>-<<date-last-pub-prod>>
Example:
homepage-carousel-en-us-default-slide1-theme2024