Track div clicks in GTM

Track Div Clicks in Google Tag Manager

Google Tag Manager has no shortage of functionality, but often the challenge becomes how to unlock this potential. In this post, I will cover how to track div clicks in Google Tag ManagerĀ by using the CSS Selector property.

There are many reasons you may need to specify a CSS div as the most descriptive element on a page to pass events to Google Analytics. If no unique class id, anchor text etc. are available it whittles down your options for tracking clicks in Google Analytics, but rest assured that you can track ALL div clicks in Google Tag Manager … Read More