add some mixpanel script for tracking