I have a large website where a sub-portion of it is rendered by a framework (i.e. React, Vue, Angular...). What I need is a way to handle/intercept all input events (e.g. focus, onchange, onclick ...) so that I can capture telemetry of all user inputs.
My initial brute-force approach was to add telemetry capturing at the framework level (so that all button clicks are captured). But then I realized all the input controls that are rendered outside of the framework(s) will not be captured.
Now I'm going back to the drawing board and wondering if this is even feasible.
I can't think of a way, even if its an ugly way, to cover all input events across the board.
Question:
How to intercept/handle all input events regardless of propagated events or not, and regardless of frameworks used?
inputis just the name of oneUIEvent.focusis aFocusEvent,onchangeisUIEvent,onclickis aMouseEvent...