@php // Automatically build Canonical URL $canonical_url = $canonical_url ?? request()->url(); // Fallback SEO title and description $site_name = config('static_data.settings.SITE_NAME', 'Swiftec Lubricants'); $seo_title = isset($page_title) ? $page_title . " | " . $site_name : $site_name . " - High Performance Lubricants & Oils"; $seo_description = $page_desc ?? "Swiftec is a globally certified manufacturer of high-performance automotive, industrial, and marine lubricants, delivering wear protection and engineering excellence."; $seo_image = $og_image ?? asset('assets/images/swiftec_seo_banner.jpg'); $ga_id = config('static_data.settings.GA_MEASUREMENT_ID', 'G-XXXXXXXXXX'); $gtm_id = config('static_data.settings.GTM_CONTAINER_ID', 'GTM-XXXXXXX'); @endphp {{ $seo_title }} @if($ga_id && $ga_id !== 'G-XXXXXXXXXX') @endif @if($gtm_id && $gtm_id !== 'GTM-XXXXXXX') @endif {{-- Breadcrumb Schema --}} @if(!empty($breadcrumbs_array)) @endif {{-- Product Schema --}} @if(isset($schema_type) && $schema_type === 'product' && !empty($product_item)) @endif {{-- BlogArticle Schema --}} @if(isset($schema_type) && $schema_type === 'blog' && !empty($blog_item)) @endif {{-- FAQ Schema --}} @if(isset($schema_type) && $schema_type === 'faq' && !empty($faq_items_schema)) @endif