We have a form that validates the form fields before submission. If there is an error, a window is displayed to alert the user there are errors. We also display the form field error in an error state. I am wondering if it is possible to know the following: "Number of times the button was clicked, and the number of times the error notification is displayed. Taking it a step further, which fields in the form had the most errors."
This would allow us to know if there are any issues with form fields. If a certain field is always left blank or has invalid input it would be good to know.
It sounds like this would require a complex query but I don't know where to start. Any info or examples would be greatly appreciated.
Solved! Go to Solution.
So I would recommend a conversion goal. Lets say with Easy Travel, you want to know how many people actually click "Book Now" You can set that XHR action as a conversion goal. Keep in mind this is forward facing, so once its set up, you can see how many people clicked that button out of all the users on that page. Conversion goal will give you stats on the amount of actions "Clicks" and the number of users that made the click as well.
You can also set custom error/string detection. Take a look at this screen capture where we have defined out some unique errors that we are tracking, we can also see how this compares over a previous time frame.
We can see how many times users did not supply matching email addresses, forgot to put an email in, forgot to put a card expiration date in or an invalid card number and so on. These are all captured from the users session via a string detection.