@php $settings = \App\Models\Setting::whereIn('key', [ 'seo_ga4_measurement_id', 'seo_gtm_id', 'seo_facebook_pixel_id', 'seo_google_verification', 'seo_bing_verification' ])->pluck('value', 'key')->toArray(); $ga4Id = $settings['seo_ga4_measurement_id'] ?? ''; $gtmId = $settings['seo_gtm_id'] ?? ''; $fbPixel = $settings['seo_facebook_pixel_id'] ?? ''; $googleVerify = $settings['seo_google_verification'] ?? ''; $bingVerify = $settings['seo_bing_verification'] ?? ''; @endphp {{-- Search Engine Verification --}} @if($googleVerify) @endif @if($bingVerify) @endif {{-- Google Analytics 4 --}} @if($ga4Id) @endif {{-- Google Tag Manager (Head) --}} @if($gtmId) @endif {{-- Facebook / Meta Pixel --}} @if($fbPixel) @endif