Button Checker Form Designer

Hello! I am looking for your help with a small problem that I’m facing with UiPath forms.

First of all I use an older version of FormActivities - 1.7.1

My goal is to check if a button was pressed in the form, pretty much for metrics purposes. Now this is really easy to do usually, but my button that needs to be checked is an HTML element and when clicked it opens a web page. If I could create a new hidden text field or whatever that can somehow listen to that HTML element with either Yes, No options. Even better if we can check how many times was pressed