add page id capture function - for analyst