jeffersongoncalves/filament-pixel
A Filament plugin by Jefferson Gonçalves that integrates Meta Pixel tracking into Laravel admin panels. Designed for developers, it lets you configure pixel IDs, inject tracking code, and capture conversion events from Filament pages, forms, and custom components with minimal setup and flexible even...
HEAD_START render hook that injects the base pixel + a PageView call, plus a settings page backed by spatie/laravel-settings. Buying costs an hour of integration; building is genuinely ~100–150 lines of Blade + a settings migration. Buy if you want the settings-page pattern and admin-managed Pixel ID for free. Build if you need anything beyond PageView (see below) — you'll be extending this package immediately, at which point you own it anyway.PanelProvider, so you can turn it on for a customer-facing portal and leave the internal ops panel clean. Combined with settingsPage(false), you get three positions: full plugin, script-only (locked ID, ops can't touch it), or off.Adopt when all of these hold:
spatie/laravel-settings dependency.^3.x, never dev-) with a documented removal path.Look elsewhere, or don't adopt, when:
fbq('track', ...) surface documented, no Conversions API, no server-side events, no event deduplication. Any of those means custom code — so just write the custom code.Plugin::make()->navigationGroup(string|Closure) on top of filament-analytics-core 3.1, while the skill doc describes PixelPlugin::make() with settingsPage(bool) and a laravel-pixel + spatie-laravel-settings-plugin dependency set. Those are two different packages' worth of surface area. Until someone reads composer.json and the actual class list, treat the published documentation as unreliable and budget for a spike rather than an estimate.For executives (one paragraph): "A small, free (MIT) add-on that lets us put Meta Pixel tracking on our Filament-based portal and manage the Pixel ID from an admin settings screen — no deploys to change it. Integration is roughly an hour, and it can be switched off per panel. The reason to consider it is marketing attribution on acquisition traffic that lands in the portal; the reason to decline is that the underlying package is a single-maintainer, low-adoption dependency and the published docs are internally inconsistent. My recommendation: approve a short spike to verify the dependency chain, adopt only if we have an active paid-acquisition funnel into a customer-facing panel and legal has signed off on pixel use in an authenticated context, and treat it as reversible."
For engineering (the honest version):
PanelsRenderHook::HEAD_START to inject the base pixel plus PageView, and a ManagePixelSettings page via spatie/laravel-settings.jeffersongoncalves/laravel-pixel ^2.0 and filament/spatie-laravel-settings-plugin ^5.0. That's two third-party hops below ours for a marketing nicety.PixelPlugin vs Plugin, settingsPage() vs navigationGroup(), laravel-pixel vs filament-analytics-core. First task is reading composer.json and confirming the actual public API, plus which Filament major is genuinely supported. Do not estimate from the README.How can I help you explore Laravel packages today?