jeffersongoncalves/filament-mixpanel
A Filament plugin that brings Mixpanel analytics into your admin panel. Connect your Mixpanel project and view key metrics and event data through ready-to-use dashboard widgets, making product analytics accessible without leaving Filament.
filament-analytics-core is at least 3.1 if you intend to use the new navigation group override.->plugin(Plugin::make()).use Vendor\Package\Plugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugin(
Plugin::make()
->navigationGroup('Analytics')
);
}
navigationGroup('Reports') during plugin registration to keep analytics settings alongside related panel resources.Closure when the group should depend on panel/user context:
Plugin::make()->navigationGroup(fn () => auth()->user()?->isAdmin() ? 'Admin' : 'Insights')
filament-analytics-core to 3.1+ before relying on navigationGroup(); otherwise keep the default translated group.navigationGroup() if you want the package’s translated group and less coupling to your panel’s navigation structure.navigationGroup() only affects the plugin’s settings page navigation placement; it does not rename or restructure the package’s underlying analytics features.filament-analytics-core 3.1. If you see the default translated group despite calling it, check the core package version first.Closure only when the group genuinely needs runtime evaluation; static strings are simpler and easier to reason about in panel configuration.How can I help you explore Laravel packages today?