Track interaction with every DOM element

Is there an option to track every interaction with every DOM element and save xpath on every such interaction?
I saw that it exist in OWA - Comparison « Open Web Analytics - “DOM Click Tracking
Tracking of clicks on all DOM elements.”

Hi there,

Not exactly, but the Contents tracking is a powerful feature that you may find useful: Content Tracking - Analytics Platform - Matomo