Adding analytics for the user's lightbox behavior