Added option to disable calls to Mixpanel if self hosted.