@yield('styles') @php // Define GA4 IDs for your websites $ga_ids = [ 'olca.co.uk' => 'G-JB564EBBE1', ]; // Detect current host $current_host = request()->getHost(); // Get GA ID for this host $ga_id = $ga_ids[$current_host] ?? null; @endphp @if($ga_id) @endif