Glad to help.
There is no specific “infinite scrolling” functionality. Basically this plugin adds the required GA tracking code to your pages. It may be possible to configure for infinite scrolling, is there some official Google documentation that explains how to set it up?
Thread Starter
led69
(@led69)
We already have infinite scrolling on our site (see post link).
But the question was whether the GA tag loads for this page display mode?
Ah ok then thanks for explaining. It really depends on your theme and how things are set up. Normally the plugin outputs one tracking code per page view, and that’s sufficient for the entire page. As mentioned, there is no specific support for any sort of Ajax functionality.
Thread Starter
led69
(@led69)
No, the plugin does not work on sites with infinite scrolling (i.e. many sites).
I just checked if the tag “gtag(‘config’, ‘G-GJMXXXXX’);” is visible in the code of the displayed pages: It is present on the first page, on the second page, but not on the following pages.
How can I make the script run on all pages and not just the first two?
Thread Starter
led69
(@led69)
No, excuse me, it seems to work.
I just had to check not connected.
The JS TAG seems to load well on the following pages of an infinite scroll.
(On the other hand, it loads on the first two pages of a logged in user, which is a bug, because the setting says not to take the logged in user into account: “Disable tracking of administrator level users”)
Glad to hear the plugin is working.
For the “Disable Tracking of Admin Users” setting, it is working fine on default WP site, and there are no other reports of any issues. So it probably is something specific to your site, and/or infinite scrolling, which again is not specifically supported by the plugin.
Hey @led69, I hope you got this sorted. It’s been a while with no reply so gonna go ahead and mark this thread as resolved to help keep the forum organized. Feel free to post again with any further questions or feedback, Thank you.