{{-- Marketing pixels. Each one loads only when its ID is set in Admin → Settings → Analytics, so nothing is requested on a fresh install. Fire a conversion from any page with: @push('analytics') @endpush --}} @php $ga4 = trim((string) setting('ga4_measurement_id', '')); $meta = trim((string) setting('meta_pixel_id', '')); $tiktok = trim((string) setting('tiktok_pixel_id', '')); @endphp @if($ga4) @endif @if($meta) @endif @if($tiktok) @endif @if($ga4 || $meta || $tiktok) @endif @if(session('lf_purchase')) {{-- Fired once, on the page the buyer lands on after a successful payment. --}} @php($lfPurchase = session('lf_purchase')) @endif @if(session('lf_signup')) {{-- Fired once, on the first page a newly registered user lands on. --}} @endif @stack('analytics')