integrate and test mixpanel for different environment