How to track Modal Popups with Google Tag Manager

How many people saw your Popup or Modal Overlay on your website? With the Google Tag Manager Element Visibility Trigger we can now track just that and fire our Google Analytics Event Tags, Facebook Pixel or AdWords Conversion Tags right from GTM. Used JavaScript command: document.querySelectorAll(“ENTERYOURCSSSELECTORHERE”); 🔖 Links mentioned in the video: Tutorial to learn CSS Selecotors: https://flukeout.github.io/ CSS Selectors you must memorize: https://code.tutsplus.com/tutorials/the-30-css-selectors-you-must-memorize–net-16048 JavaScript Document Query Selector all https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll #Modal #GoogleTagManager #Tracking 🎔 Learn more from Measureschool: 🚀Looking to kick-start

It's only fair to share...Tweet about this on TwitterShare on FacebookShare on TumblrShare on Google+Digg thisShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone
Flattr the authorShare on StumbleUponShare on YummlyBuffer this page

Leave a Reply

Your email address will not be published. Required fields are marked *