add stat info api call for every page