Adding referring page to logging