| Install | |
|---|---|
composer require jeffersongoncalves/filament-umami |
|
| Latest Version: | v3.2.1 |
| PHP: | ^8.2 |

This Filament package seamlessly integrates Umami analytics into your Blade templates. Easily track website visits and user engagement directly within your Laravel application, providing valuable insights into your website's performance. This package simplifies the integration process, saving you time and effort. With minimal configuration, you can leverage Umami's powerful analytics features to gain a clearer understanding of your audience and website usage.
You can install the package via composer:
composer require jeffersongoncalves/filament-umami
This package depends on jeffersongoncalves/laravel-umami which provides the core Umami analytics integration for Laravel applications.
Add the plugin to your PanelProvider:
use JeffersonGoncalves\Filament\Umami\UmamiPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
UmamiPlugin::make(),
]);
}
This will automatically:
If you haven't already, publish the spatie/laravel-settings migration to create the settings table:
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"
Then publish and run the Umami settings migration:
php artisan vendor:publish --tag=umami-settings-migrations
php artisan migrate
Navigate to Settings > Umami Analytics in your Filament panel to configure:
If you only want the tracking script injection without the settings page:
UmamiPlugin::make()
->settingsPage(false),
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.