[yanan] refine mixpanel api