Mixpanel for Haxe
This library contains the interface to Mixpanel API for Haxe/OpenFL.
Based on mixpanel-as3.
Differences from the AS3 version:
-
passing a
nulltoken to the constructor will block all sendRequest operations. This can be useful if you want to simply disable Mixpanel but not have tons of branch code. -
library send POST isntead of GET requests by defaut. OpenFL legacy has a bug where
URLLoaderignores GET CGI data. This may be reversed in the future, but there are no real implications for user side. -
only
SharedObjectis supported for backend storage, and OpenFL cares about the abstractions. -
The library identifies itself to Mixpanel as
mp_lib=haxe, following Mixpanel standards.
Everything else should be the same and you can follow AS3 usage documentation.