log page requests and outbound clicks to db