For #25648 pull out work now done server-side

Moved the page hit creation over to the server side.