how do define different events on components having same CSS selectors

  • 17 October 2023
  • 1 reply

Is there a way to define separate events for two radio buttons that share the same CSS selectors, despite the limitation of only being able to define a single event for all buttons with the same CSS?


1 reply

Userlevel 5

Hey @Madhav_Inno! Thanks for reaching out! 

It sounds like you’d benefit from our Element Attributes feature! 

By default, we allowlist a few attributes out-of-the-box. You can view the full list of allowlisted attributes here. For any other attributes you'd like to index in your FullStory account, an Admin or Architect user will need to allowlist them on the Settings > Data Management > Indexing page. Once added, these attributes will be indexed in new sessions moving forward as this setting would not apply retroactively.
These additional attributes will allow us to differentiate between buttons on your site that currently have matching selectors in FullStory. Then, you can define separate events for those two radio buttons! 😊

Please let me know if you have any other questions!