https://gist.githubusercontent.com/avinashsingh/3d0b90bce957d33850e9/raw/45f8a70007b546570055040d23fe1112e7a1c5d5/mixpanel_helper.rb
