We have an application where we would like to use the html attribute data-dtname to get meaningful user action names. (refer to
The use case is a list of search results where the search tag is highlighted in bold letters. Right now the user action name is gathered from the most inner node the user is clicking on. E.g. in the result list it can be the search tag in bold letters and not the whole result.
Our question is: if we place the data-dtname on a parent node would this attribute value be choosen or is the algorithm starting at the inner node and we need to place the attribute at the most inner node?
Solved! Go to Solution.
In the doc you find the priority list of how we detect the name:
headtag or the
documentelement was found
So - if data-dtname is present we will use that as the action name