analytics - Implement scroll based events in DTM -


i struggling implementing scroll event in dtm. know can using enter vieport option on div not want implement way. use window.scroll functions (preferably).

any pointers helpful.

thanks pankaj

you should start page load rule can paste custom js script.

like:

if(jquery(window).scrolltop() + jquery(window).height() > jquery(document).height() - .50*jquery(document).height()) {  if (passed <50) {    passed+=25;  _satellite.track('scroll50');    }  } 

then can prepare direct call rule string: scroll50 , ready setup analytics.

hope helps.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -