Forum Moderators: martinibuster

Message Too Old, No Replies

SPA and AdSense Reporting

         

NickMNS

2:05 pm on Mar 15, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



My newly updated site uses an SPA (single page app) type pattern where content is added to the page with AJAX(XHR), and the URL is updated(pushState()). Analytics is not firing for each XHR request. I am using an event with event-tracking to detect when a new request is made. How is this handled in AdSense, a new ad-unit is added for each XHR request. Is AdSense counting this as a new PV?

Does anyone have any experience with this?

MayankParmar

12:22 pm on Mar 16, 2018 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



AdSense will count it as new pageviews as long as the URL is updated.

NickMNS

12:25 pm on Mar 16, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks Mayank, is it counting each URL update as a new page view even if the ad/ads are not updated? And if the PV is counted is there a new impression counted on the already present ads?