Add event logging to profile page views