Logging of clicks on specified elements and context to backend