How do I track header click on Google tag manager?
Original Question: How do I track header (or footer) click on Google tag manager? If I understand the question correctly, you want to track the clicks on header and footer sections of your website, using Google Tag Manager (GTM). There are multiple ways to do this in GTM, here I explain one of the easier ones using the Click trigger type. Create a tag in GTM, e.g footerAndHeaderClicks. This can be a custom tag or one of the special tags like Google Analytics, depending on your click needs: 2. Create (and add to the above tag) a custom trigger using the click type trigger and specify the condition of the clicks. For example, in the screenshot above we want to trigger this tag: a. only when click events are registered, on elements that have MyCustomFooterClass. This requires all your footer links to have the specified class. Alternatively, you can create a custom GTM variable (e.g parentElement) that returns the parent of the clicked element and use/compare it in the above conditions. As I said, there are a lot of ways to narrow down the elements of interest. b. AND the pages where the page path (i.e everything after the hostname in URL) contains /url/to/path The trigger conditions can be tweaked for your specific case/requirement. Hope this helps.