<?php
// SEO and performance optimizations
$page_title = "Web Scraping Services in UK | Get a Free Quote Today";
$page_description = "UK's top web scraping service. Get GDPR-compliant, 99.8% accurate data for competitor pricing, market intelligence, and more. Request your free proposal...";
$canonical_url = "https://ukdataservices.co.uk/web-scraping-services/";
$keywords = "web scraping services, web data extraction, website scraping, data mining, automated data collection, UK web scraping, competitor price monitoring, property data extraction, market research data, e-commerce scraping";
$author = "UK Data Services";
$og_image = "https://ukdataservices.co.uk/assets/images/ukds-main-logo.png";

// Security headers
header('X-Frame-Options: DENY');
header('X-Content-Type-Options: nosniff');
header('Referrer-Policy: strict-origin-when-cross-origin');
header('Permissions-Policy: geolocation=(), microphone=(), camera=()');
header('Strict-Transport-Security: max-age=31536000; includeSubDomains');
header('Content-Security-Policy: default-src "self"; script-src "self" "unsafe-inline" https://cdnjs.cloudflare.com https://www.googletagmanager.com https://www.google-analytics.com https://www.clarity.ms https://www.google.com https://www.gstatic.com; style-src "self" "unsafe-inline" https://fonts.googleapis.com; font-src "self" https://fonts.gstatic.com; img-src "self" data: https://www.google-analytics.com; connect-src "self" https://www.google-analytics.com https://analytics.google.com https://region1.google-analytics.com https://www.google.com; frame-src https://www.google.com;');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo htmlspecialchars($page_title); ?></title>
    <meta name="description" content="<?php echo htmlspecialchars($page_description); ?>">
    <meta name="keywords" content="<?php echo htmlspecialchars($keywords); ?>">
    <meta name="author" content="<?php echo htmlspecialchars($author); ?>">
    <meta name="google-site-verification" content="la6e0_PDdHFkUn8NbHI-cMofozMcxtgrf73zwqKz6Ec" />
    <meta name="robots" content="index, follow">
    <meta name="googlebot" content="index, follow">
    
    <link rel="canonical" href="<?php echo htmlspecialchars($canonical_url); ?>">
    
    <!-- Open Graph / Social Media -->
    <meta property="og:type" content="website">
    <meta property="og:url" content="<?php echo htmlspecialchars($canonical_url); ?>">
    <meta property="og:title" content="<?php echo htmlspecialchars($page_title); ?>">
    <meta property="og:description" content="<?php echo htmlspecialchars($page_description); ?>">
    <meta property="og:image" content="<?php echo htmlspecialchars($og_image); ?>">
    
    <!-- Twitter Card -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="<?php echo htmlspecialchars($page_title); ?>">
    <meta name="twitter:description" content="<?php echo htmlspecialchars($page_description); ?>">
    <meta name="twitter:image" content="<?php echo htmlspecialchars($og_image); ?>">
    
    <!-- Favicon -->
    <link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">
    <link rel="apple-touch-icon" sizes="180x180" href="/assets/images/apple-touch-icon.png">
    
    <!-- CSS -->
    <link rel="stylesheet" href="/assets/css/main.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap">
    
    <!-- Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());
        gtag('config', 'G-XXXXXXXXXX');
    </script>
</head>
<body>
    <?php include_once __DIR__ . '/../includes/header.php'; ?>
    
    <main class="container">
        <section class="hero">
            <h1>Web Scraping Services</h1>
            <p class="subtitle">Professional data extraction with 99.8% accuracy for UK businesses</p>
            
            <div class="stats-grid">
                <div class="stat">
                    <div class="stat-number">#1.2</div>
                    <div class="stat-label">Ranked for UK Web Scraping</div>
                </div>
                <div class="stat">
                    <div class="stat-number">99.8%</div>
                    <div class="stat-label">Data Accuracy Rate</div>
                </div>
                <div class="stat">
                    <div class="stat-number">500+</div>
                    <div class="stat-label">Projects Delivered</div>
                </div>
                <div class="stat">
                    <div class="stat-number">24/7</div>
                    <div class="stat-label">Expert Support</div>
                </div>
            </div>
        </section>
        
        <section class="content-section">
            <h2>Why Choose Our Web Scraping Services?</h2>
            
            <div class="features-grid">
                <div class="feature">
                    <h3>Technical Excellence</h3>
                    <p>Advanced scraping infrastructure handles JavaScript-rendered sites, complex authentication, and anti-bot protection.</p>
                </div>
                <div class="feature">
                    <h3>GDPR Compliance</h3>
                    <p>Full compliance with UK data protection laws. We only extract publicly available data with legitimate business purposes.</p>
                </div>
                <div class="feature">
                    <h3>Real-time Data</h3>
                    <p>Get fresh data delivered hourly, daily, or weekly via API, cloud storage, or direct database integration.</p>
                </div>
                <div class="feature">
                    <h3>UK Expertise</h3>
                    <p>Specialized knowledge of UK markets, regulations, and business requirements across all industries.</p>
                </div>
            </div>
        </section>
        
        <section class="content-section">
            <h2>Industries We Serve</h2>
            
            <div class="industries-grid">
                <div class="industry">
                    <h3>E-commerce & Retail</h3>
                    <p>Competitor price monitoring, product catalog extraction, review analysis, inventory tracking.</p>
                </div>
                <div class="industry">
                    <h3>Property & Real Estate</h3>
                    <p>Property listings, rental prices, market trends, agent performance data.</p>
                </div>
                <div class="industry">
                    <h3>Financial Services</h3>
                    <p>Market data, investment research, competitor analysis, regulatory compliance data.</p>
                </div>
                <div class="industry">
                    <h3>Manufacturing & Logistics</h3>
                    <p>Supplier pricing, inventory data, shipping rates, market intelligence.</p>
                </div>
            </div>
        </section>
        
        <section class="cta-section">
            <h2>Ready to Extract Valuable Data?</h2>
            <p>Get started with our web scraping services today. Free consultation and quote within 24 hours.</p>
            <a href="/quote/" class="btn btn-primary">Get Free Quote</a>
            <p class="small-text">Or try our <a href="/tools/">free web scraping tools</a> first</p>
        </section>
    </main>
    
    <?php include_once __DIR__ . '/../includes/footer.php'; ?>
</body>
</html>
