Statistics - Tracking Pagination Pages Loaded With Ajax

Hi, how to track visits on pagination pages? I use piwik and I noticed that only visits on first page in category or search result are saved. Other pages are loaded with ajax and are not tracked.

Looks like there is no easy way to do it. Additional code modifications are required: