Revert 3df7ec8..e5a703d

This rolls back to commit 3df7ec8ace49f77be6cb8af1d7abe1bde655f2cd.
Add mixpanel function