If that feature doesn’t exist, you could imitate it with custom goals. You could make a script that fires a custom event for different lines in your HTML and track it with goals. It’s a bit of a workaround, so probably not worth it you have to add it to many different types of pages.
Has there been any headway on this feature? For one page apps and sites it would be great to be able to track where the user has scrolled to determine how much they have interacted or read.
We've just released Heatmap + Session Recording for Piwik Analytics!
More info:
Heatmaps show you where on a page your visitors click, move the mouse and how far down they scroll so you can discover which content your visitors actually pay attention to, where your content is confusing, and whether your content is engaging. Based on this information you can improve your content and page structure and ultimately increase your conversions.
Session Recordings lets you record all clicks, mouse movements, scrolls and form interactions of a visitor so you can replay them in a video. See exactly what your visitors did on your website to truly understand them. Find out where they have problems or get confused to improve usability and conversions.
Comes with 100% data ownership, full control over your data, and no limitations.
I also tried and first got the same result like you @DM13
Then I re-read the instructions on @RoDiSK website which sais place the event tracking code after the piwik code, changed it, not working yet.
Then I checked the website load behavior and checked that the scroll tracking script was merged into the merged scripts from the wordpress plugin “Autoptimize”. I put the script on the script exclude list of Autoptimize so that its not merged any more and now its working!
So check if your script is in the correct place and not merged by some performance plugins
By the way: I would love to see the scroll depth somewhere in Matomo core, but the solution @RoDiSK provides is a good start. Thank you!