- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
09-12-2016 08:36 AM
If I were to use the jQuery onHandler (1.7 and above) extension to add the following line of code to get the percent page scrolled and pass it to a variable in the data layer:
100 * $(window).scrollTop() / ($(document).height() - $(window).height());
what do I set the jQuery Selector to? We set it as window but that does not seem to work.
Copyright All Rights Reserved © 2008-2023