Hello. Is there a fix that I can implement so that when user refreshes the website they are taken to the TOP of a page, not to the point where they left off? I found this snippet below on another forum but not sure where to put it.
window.onbeforeunload = function () { window.scrollTo(0, 0);
}
Hello. Is there a fix that I can implement so that when user refreshes the website they are taken to the TOP of a page, not to the point where they left off? I found this snippet below on another forum but not sure where to put it.
Hey Again,
You can add it to the Google Analytics section and wrap it inside a script tag .
Best
ThemeNectar Support Team