Hi Alex,
You can do this in DTM by first creating an Analytics Tool. Once you have done that, you would go to the rules section and creating a new event based rule, selecting s.tl() for your tracking call in the Adobe Analytics section and filling out the conditions section.
[img]Capture2.PNG[/img]
In the Link Name text box, you would could do one of a few things for the name of the link. Assuming that your pageName is either generated or retrieved with a data element called "pageName", you could do one of these:
- %pageName%|%event.currentTarget.getAttribute(id)%
- or %pageName%|%target.getAttribute(id)%
The sections surrounded by % should be replaced by the dynamic values.
Hope that helps or at least gets you on your way. 🙂
Thanks,
Ben