This library utilizes the Guzzle PHP library to perform HTTP requests.
$tracker = new Otwell\Mixel\Tracker('your-mixpanel-token');
$tracker->track('event-name', ['foo' => 'bar', 'baz' => 'boom']);
This library utilizes the Guzzle PHP library to perform HTTP requests.
$tracker = new Otwell\Mixel\Tracker('your-mixpanel-token');
$tracker->track('event-name', ['foo' => 'bar', 'baz' => 'boom']);