adding analytics events for popup and slide viewing