Tracking user interaction

Hello

I’ve created a multi-page (AJAX) forms.

For example sake,

Q1 - Are you over 18?
Radios - Yes, no

Q2 - Are you male or female?
Radios - Male, Female

I need to come up with a way where I can track if a user changes their initial selection.

For instance, say they initially select they are male, but then change their selection to female, I need this to be recorded, but not actively displayed to the user.

Ultimately, I’d like to come up with a solution for this where it’s “native” support whenever I make a new form, but if I have to add something for each form made, that would also be manageable.

I’ve asked a similar question in the past, however the thread is closed and did not resolve the issue I had.