I have set up Matomo Tag Manager on-premise. My goal is to have events that trigger user clicks but with a variable event action or name. This variable comes from an attribute of the clicked object.
For example, the clicked object is <div eventId="test"></div>.
I want the event name to be the eventId.
This is very useful because we have hundreds of events, and I don't want to create them by hand.
Any thoughts on this?