think from another perspective, are you looking for "top returned page"?
User is on page A, then click any link to page B, and click "back" button of the browser to page A.
So page A get a "return", or saying, the "page name" of the "previous 2 page" of Page A, is Page A.