Add a function that leaves page view log