How to track scrolling behavior in GTM? & Howto access variables in general?
-
Read through the FAQ (pasted below). But the issue I have is, *how do I access these variables*? I’ve looked around in GTM, as well as in Google Analytics, and I can’t figure out how I’m supposed to access scrolling variables (or really any variables this plugin collects). Are these just auto imported into GTM somehow? I’m missing the big picture.
How can I track scroll events in Google Tag Manager?
To track scrolling of your visitor you need to setup some tag in Google Tag Manager.What type of tags? In most cases you will need Google/Universal Analytics event tags but you can use AdWords remarketing or conversion tags as well to collect micro conversions or to focus only on visitors who spend more time reading your contents.
There are five dataLayer events you can use in your rule definitions:
gtm4wp.reading.articleLoaded: the content has been loaded
gtm4wp.reading.startReading: the visitor started to scroll. You can use the dataLayer variable timeToScroll to see how many seconds have passed since the article has been loaded
gtm4wp.reading.contentBottom: the visitor reached the end of the content (not the page!). timeToScroll dataLayer variable updated
gtm4wp.reading.pagebottom: the visitor reached the end of the page. timeToScroll dataLayer variable updated
gtm4wp.reading.readerType: at this point we are confident whether the visitor is a ‘scanner’ or ‘reader’ depending on how much time have passed since the content has been loaded. readerType dataLayer variable holds the type of the visitor
- The topic ‘How to track scrolling behavior in GTM? & Howto access variables in general?’ is closed to new replies.