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: <HTML lang="de"> or <HTML lang="en">).
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.
HI, I’ve been trying to achieve exactly the same.
I created a variable based on DOM that read the attribute lang of main html tag.
However I still dont know how to use it wisely to get my stats.
Will keep you updated if I find something.