adobe / helix-rum-enhancer

Add advanced functionality to Helix RUM Collection (client-side)
Apache License 2.0
1 stars 14 forks source link

Identification of form and button type in the click source #292

Closed vdua closed 2 days ago

vdua commented 1 week ago

Is your feature request related to a problem? Please describe. In many pages, there are more than 1 form, especially with search form in the header. Checking which form the user interacted with is difficult in those situations. Adding an id (or classname) of the form can help in identifying the form which user have interacted with.

Also the button type of the button element is not present in the selector, especially inside forms. That will help in identifying if a submit button was clicked or not, in cases where users have prevented the default form submit action (leading to non tracking of form submits)

Describe the solution you'd like

Describe alternatives you've considered

kptdobe commented 2 days ago

Fixed with https://github.com/adobe/helix-rum-enhancer/pull/293