<div class="flexbox-annotated-section">
    <div class="flexbox-annotated-section-annotation">
        <div class="annotated-section-title pd-all-20">
            <h2><?php echo e(trans('plugins/analytics::analytics.settings.title')); ?></h2>
        </div>
        <div class="annotated-section-description pd-all-20 p-none-t">
            <p class="color-note"><?php echo e(trans('plugins/analytics::analytics.settings.description')); ?></p>
        </div>
    </div>

    <div class="flexbox-annotated-section-content">
        <div class="wrapper-content pd-all-20">
            <div class="form-group mb-3">
                <label class="text-title-field"
                       for="google_analytics"><?php echo e(trans('plugins/analytics::analytics.settings.tracking_code')); ?></label>
                <input data-counter="120" type="text" class="next-input" name="google_analytics" id="google_analytics"
                       value="<?php echo e(setting('google_analytics')); ?>" placeholder="<?php echo e(trans('plugins/analytics::analytics.settings.tracking_code_placeholder')); ?>">
            </div>
            <div class="form-group mb-3">
                <label class="text-title-field"
                       for="analytics_type"><?php echo e(trans('plugins/analytics::analytics.settings.type')); ?>

                </label>
                <label class="me-2">
                    <input type="radio" name="analytics_type"
                           value="ua"
                           <?php if(setting('analytics_type', 'ua') == 'ua'): ?> checked <?php endif; ?>><?php echo e(trans('plugins/analytics::analytics.settings.ua_description')); ?>

                </label>
                <label>
                    <input type="radio" name="analytics_type"
                           value="ga4"
                           <?php if(setting('analytics_type', 'ua') == 'ga4'): ?> checked <?php endif; ?>><?php echo e(trans('plugins/analytics::analytics.settings.ga4_description')); ?>

                </label>
            </div>

            <div class="form-group mb-3">
                <label class="text-title-field"
                       for="analytics_view_id"><?php echo e(trans('plugins/analytics::analytics.settings.view_id')); ?></label>
                <input data-counter="120" type="text" class="next-input" name="analytics_view_id" id="analytics_view_id"
                       value="<?php echo e(setting('analytics_view_id')); ?>" placeholder="<?php echo e(trans('plugins/analytics::analytics.settings.view_id_description')); ?>">
            </div>
            <div class="form-group mb-3">
                <label class="text-title-field"
                       for="analytics_property_id"><?php echo e(trans('plugins/analytics::analytics.settings.analytics_property_id')); ?></label>
                <input data-counter="120" type="text" class="next-input" name="analytics_property_id" id="analytics_property_id"
                       value="<?php echo e(setting('analytics_property_id')); ?>" placeholder="<?php echo e(trans('plugins/analytics::analytics.settings.analytics_property_id_description')); ?>">
            </div>

            <?php if(!app()->environment('demo')): ?>
                <div class="form-group mb-3">
                    <label class="text-title-field"
                           for="analytics_service_account_credentials"><?php echo e(trans('plugins/analytics::analytics.settings.json_credential')); ?></label>
                    <textarea class="next-input form-control" name="analytics_service_account_credentials" id="analytics_service_account_credentials" rows="5" placeholder="<?php echo e(trans('plugins/analytics::analytics.settings.json_credential_description')); ?>"><?php echo e(setting('analytics_service_account_credentials')); ?></textarea>
                </div>
            <?php endif; ?>
        </div>
    </div>
</div>
<?php /**PATH /home/elitedes/ecommerce2.creativedesign.com.bd/platform/plugins/analytics/resources/views/setting.blade.php ENDPATH**/ ?>