I was asked to write up some code on a dynamic website so that as the page scrolls it fires a new pageview update with Google. This is done a variety of different ways but I found that using ‘inview’ was the most effective way of doing so.
To use is easy download the inview jquery plugin
The code below goes in your header of your wordpress site and what it does is it waits until a
tag with a class of ‘inview’ appears on the page and as soon as it does it fires a Pageview update with Google. Works great for infinitely loading pages.
Then to fire the code all you need to do is past this where you want the inview event to fire.