@php $method = "get_static_option"; $gdpr_enabled = !empty($method('site_gdpr_cookie_enabled')); $cookie_accepted = request()->cookie('xilancer_gdpr_status') === 'accepted'; $can_track = !$gdpr_enabled || $cookie_accepted; @endphp @if($method('google_analytics_gt4_status') === 'on' && $can_track) {{-- load google analytics code --}} @endif @if($method('whatsapp_status') == 'on' && $can_track) @endif @if($method('crsip_status') == 'on' && $can_track) @endif