Recently we added an automatic data layer push for google tag manager, this code:
You can use these event names in this format to define your own custom events and/or event handlers,
but for all intents and purposes the automated dataLayer push calls that are shown below
already capture those attributes and post them to Google Analytics.
Custom event definitions can be useful when you need to distinguish between different possible engagements of the same type within a single promotion,
i.e. multiple CTA layers that have distinctly different engagement scenarios upon click,
but the automated dataLayer push would only capture the generic 'Engagement - Unlocked Click', and no information pushed regarding how many clicks each has as well (can be defined if so desired with your own event listeners or these routes).
Impression Event Definitions Targeted Overlay Tab Click // the rest here are engagements
Engagement Event Definitions Engagement - Facebook Engagement - Google Plus Engagement - Twitter Tweet Engagement - Email Signup Engagement - LinkedIn Share Engagement - Twitter Follow Engagement - Pinterest Follow Engagement - Instagram Follow Engagement - Videos Watched Engagement - Incentivized Form Engagement - VK Follow Engagement - Reddit Subscribe Engagement - Google Follow Engagement - LinkedIn Follow Engagement - Unlocked Click Engagement - Intro Continue Click Engagement - Unlocked View Engagement - Plugin
vs the code for engagements :