You can measure interactions on your site by either implementing the Google Tag Manager Data Layer Event code or leveraging Google Tag Manager's Auto-Event Tracking functionality.
To learn more about what event tracking is and how to use it, check out our Help Center documentation.
With Auto-Event Tracking in Google Tag Manager, capturing these actions is easy. Rather than hardcoding each click action with Javascript (such as ga('send', 'event', 'category', 'action', 'label') in analytics.js), you can create event tags directly within the Google Tag Manager interface and fire them with triggers based on predefined variables or on custom variables that you can build within the Google Tag Manager UI.
It is important to note that auto-event tracking is more susceptible to problems resulting from website changes, so we recommend using it for measuring website interactions on elements with identifiable properties that are not likely to change (e.g. link URLs, class IDs, etc.). For elements with no such identifiable attributes or that can’t be listened to with Google Tag Manager (such as clicks within Flash), use the Data Layer Event code. The rest of this section will focus on Auto-Event tracking via the Google Tag Manager interface.
Event tracking is initiated via click triggers, so before you begin to create event tags, first make sure all of your click variables are checked on in the Built-In Variables menu:
ga('send', 'event', 'category', 'action', 'label') in analytics.js), you can create event tags directly within the Google Tag Manager interface and fire them with triggers based on predefined variables or on custom variables that you can build within the Google Tag Manager UI.