Track HTML lang attribute

Hi together, I have a problem, that I can’t figure out …

On my website content is shown in German (DE) and English (EN). The user can choose either or. The Content language is coded in the HTML Tag at the beginning using the lang attribute (eg: or ).

I like to know the total number of page views (and others) and the numbers of page views (and others) separated by this lang-attribute.

I have Tag Manager activated and the given code of the container is implemented. I added a variable for the DOM Element to track the lang-attribute.

I can’t figure out how and where I see the tracking results.

Does anybody know how to do it?