{{-- Google Analytics - Thêm vào
của layout --}} @props(['measurementId' => null]) @php // Lấy Measurement ID từ config hoặc env // Mặc định: G-P3DXV01BWW (từ Google Analytics của bạn) $gaId = $measurementId ?? config('services.google_analytics.measurement_id') ?? env('GA_MEASUREMENT_ID', 'G-P3DXV01BWW'); @endphp @if($gaId) @endif