Hi Martin,
You could add this first in your “before body tag”
window.onscroll = function(ev) {
if ((window.innerHeight + window.pageYOffset ) >= document.body.offsetHeight) {
setTimeout(function(){
window.location.href = ‘https://www.google.com’;
}, 5000);
}
};
This way the page can detect on whether the user has scrolled to the end of the page. You can change the link and the delay time as you like.
See if this code can help you in any way, let me know if this code doesn’t work.