Send application events to analytics services and data-warehouse.
moirei/event-tracking is a Laravel package for send application events to analytics services and data-warehouse..
It currently has 0 GitHub stars and 498 downloads on Packagist (latest version 0.5.0).
Install it with composer require moirei/event-tracking.
Discover more Laravel packages by moirei
or browse all Laravel packages to compare alternatives.
Last updated
This package allows you to send application events to analytics services and any data-warehouse of your choice. Although inspired by Analytics.io and Segment, it should provide you more flexibility over your events and how they're manually or automatically handled.
All documentation is available at the documentation site.
Track an event
Events::track('Purchase', $order);
// or auto track app events
// Somewhere in your app
Events::listen(OrderPlacedEvent::class);
// Elsewhere in your app
OrderPlacedEvent::dispatch($order);
Identify and update a user profile
Events::identify($user->id, [
'name' => $user->name,
'email' => $user->email,
'phone' => $user->phone,
'city' => $user->city,
'country' => $user->country,
"Favorite Color" => $user->favoriteColor,
]);
composer require moirei/event-tracking
Publish the config
php artisan vendor:publish --tag="event-tracking"
composer test