This guide has been used to implement page scroll-tracking. However, it doesn’t seem to work on single page applications made with NextJS. It only tracks the page scrolls on the first page you land on and if you navigate to other pages, the page scrolls stops working. I’ve tried turning on and turning off the SPA-setting. The risk with having it on (although it doesn’t work with page scrolls) is that it’ll double-track page views.
Do you have other specific guides on how to track page scrolls on SPA? It might be something I’m missing.