Install guide · framework · ~2 min
Drop into app.blade.php.
Laravel uses Blade templates with a shared layout (typically resources/views/layouts/app.blade.php). Adding the Admaxxer snippet there installs the pixel on every view that extends this layout.
Edit resources/views/layouts/app.blade.php (the default Breeze/Jetstream layout).
Paste inside <head>. If you use @stack('head'), wrap the snippet in @push('head')...@endpush on a per-page basis instead.
resources/views/layouts/app.blade.php blade<!DOCTYPE html>
<html>
<head>
<title>{{ config('app.name') }}</title>
<script defer
data-website-id="YOUR_WEBSITE_ID"
data-domain="yourdomain.com"
src="https://admaxxer.com/js/script.js"></script>
</head>
<body>@yield('content')</body>
</html>
Load any public page on your site in a fresh browser tab. Within a few seconds, the Admaxxer dashboard realtime view should show the event. If nothing lands after 2 minutes, re-check the snippet is actually in the rendered HTML <head> (View Source, not just DevTools).
php artisan view:clear and php artisan config:clear. If you use Octane, also restart workers (php artisan octane:reload).