How to track each html tag on the page?

I want to track each html tag on the page,such as a button or a textinput…
I’ve read the guidance, it seems that the “content tracking” can do this work.
I put “_paq.push([‘trackAllContentImpressions’]);” this code in my page, but it didn’t work.
Can you help me solve this problem?