<div class="card">
    <div class="card-header"><h4 class="card-title mb-0">GA4 Data API OAuth Bilgileri</h4></div>
    <div class="card-body">
        <div class="alert alert-info border-0">GA4 için OAuth yetkili Google hesabında Analytics mülk erişimi bulunmalı. Testte Analytics Admin account summaries çağrılır.</div>
        <div class="row">
            <div class="col-md-6 mb-3"><label class="form-label">Google Client ID</label><input type="text" name="google_client_id" class="form-control" value="{{ old('google_client_id') }}"></div>
            <div class="col-md-6 mb-3"><label class="form-label">Google Client Secret</label><input type="password" name="google_client_secret" class="form-control" autocomplete="new-password" placeholder="Boş bırakılırsa mevcut değer korunur"></div>
            <div class="col-md-6 mb-3"><label class="form-label">GA4 Property ID</label><input type="text" name="property_id" class="form-control" value="{{ old('property_id', $connection->meta['property_id'] ?? $connection->account_id) }}" placeholder="123456789"></div>
            <div class="col-md-6 mb-3"><label class="form-label">Refresh Token</label><input type="password" name="refresh_token" class="form-control" autocomplete="new-password" placeholder="OAuth sonrası otomatik dolar veya manuel girilebilir"></div>
        </div>
    </div>
</div>
