add custom events to check if page has been seen or not seen before