We've recently introduced a language translation tool to our website and I wanted to track it's usage. I have some simple event based rules setup in DTM for Activate/Deactivate and an event based rule for the menu option which was clicked, here is where I'm experiencing issues.
The event fires if I click any of the menu options, but using this.getAttribute() with an eVar does not appear to be working.
I'm using the Custom Code Editor and the event looks a little like this:
Inspecting the element using browser dev tools, one of the buttons html is as follows, and I want to capture Reset in the eVar