@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_tag_manager_status') == 'on')
@endif
@if($method('facebook_pixels_status') == 'on' && $can_track)
@endif