add mixpanel code to header for nav links