<?php

namespace FleekDash\Integrations\Analytics;

use FleekDash\Integrations\Core\AbstractIntegration;

class Integration extends AbstractIntegration
{
    protected function setup()
    {
        // Ensure default settings
        $settings = $this->getSettings();
        if (empty($settings)) {
            $this->updateSettings([
                'enabled' => true,
                'respect_dnt' => true,
            ]);
        }
    }

    protected function registerIntegrationHooks()
    {
        // When active, hooks are registered by core AnalyticsTrackingService initialization
        // We only add lightweight filters here if needed later
    }

    protected function registerIntegrationRestRoutes()
    {
        // No extra routes for now; core analytics routes already exist
    }
}
