Lithium library for sending statistical data to Mixpanel.
Add a submodule to your li3 libraries:
git submodule add [email protected]:bruensicke/li3_mixpanel.git libraries/li3_mixpanel
and activate it in you app (config/bootstrap/libraries.php), of course:
Libraries::add('li3_mixpanel');
Mixpanel::$token = 'de3b97e4e2807f5addb8c746c3a6f6e5';
Mixpanel::track('api.requests', $params['request']->params);