

<?php $__env->startSection('styles'); ?>
    <style>
        .facebook_link_btn {
            font-size: 13px;
            color: #415094;
            font-weight: 400;
        }

    </style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('mainContent'); ?>
    <?php echo e(generateBreadcrumb()); ?>

    <section class="admin-visitor-area up_st_admin_visitor">
        <div class="container-fluid p-0">
            <div class="row justify-content-center">
                <div class="col-lg-4">
                    <div class="white-box">
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="main-title">
                                    <h3 class="mb-20">
                                        <?php echo e(__('setting.google_analytics')); ?> <?php echo e(translatedNumber(4)); ?> </h3>
                                </div>
                            </div>
                            <div class="col-lg-12">
                                <form action="<?php echo e(route('settings.analytics.update')); ?>" method="POST"
                                      id="google_analytics_form" enctype="multipart/form-data">
                                    <?php echo csrf_field(); ?>
                                    <input type="hidden" name="type" value="google">
                                    <div class="mb-40 minh-430">
                                        <div class="row">
                                            <div class="col-xl-12">
                                                <div class="primary_input">
                                                    <ul id="theme_nav" class="permission_list sms_list">
                                                        <li>
                                                            <label data-id="bg_option"
                                                                   class="primary_checkbox d-flex mr-12">
                                                                <input name="google_analytics_status"
                                                                       id="google_analytics_status" value="1"
                                                                       <?php echo e(Settings('google_analytics_status') == 1?'checked':''); ?>

                                                                       type="checkbox">
                                                                <span class="checkmark"></span>
                                                            </label>
                                                            <p><?php echo e(__('setting.enable_google_analytics')); ?>    </p>
                                                        </li>

                                                    </ul>
                                                </div>
                                            </div>

                                            <div class="col-lg-12">
                                                <ul id="theme_nav" class="permission_list sms_list">
                                                    <li>
                                                        <a class="facebook_link_btn"
                                                           href="https://console.cloud.google.com/apis"
                                                           target="_blank">
                                                            <p><?php echo e(__('setting.click_here_to_create_your_project')); ?></p>
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a class="facebook_link_btn"
                                                           href="https://analytics.google.com/analytics"
                                                           target="_blank">
                                                            <p><?php echo e(__('setting.click_here_to_create_google_analytics')); ?></p>
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>


                                            <div class="col-lg-12">
                                                <div class="primary_input mb-25">
                                                    <label class="primary_input_label"
                                                           for="measurement_id"><?php echo e(__('setting.measurement_id')); ?> </label>
                                                    <input class="primary_input_field" type="text" id="measurement_id"
                                                           name="MEASUREMENT_ID" autocomplete="off"
                                                           value="<?php echo e(saasEnv('MEASUREMENT_ID')); ?>" placeholder="">

                                                </div>
                                            </div>

                                            <div class="col-lg-12">
                                                <div class="primary_input mb-25">
                                                    <label class="primary_input_label"
                                                           for="measurement_protocol_api_secret"><?php echo e(__('setting.measurement_protocol_api_secret')); ?></label>
                                                    <input class="primary_input_field" type="text"
                                                           id="measurement_protocol_api_secret"
                                                           name="MEASUREMENT_PROTOCOL_API_SECRET" autocomplete="off"
                                                           value="<?php echo e(saasEnv('MEASUREMENT_PROTOCOL_API_SECRET')); ?>"
                                                           placeholder="">

                                                </div>
                                            </div>

                                            <div class="col-lg-12 d-flex justify-content-center align-items-center">
                                                <button type="submit"
                                                        class="primary-btn semi_large fix-gr-bg"

                                                        id="">
                                                    <i class="ti-check"></i>
                                                    <?php echo e(__('common.Save')); ?>

                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </form>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="white-box">
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="main-title">
                                    <h3 class="mb-20">
                                        <?php echo e(__('setting.tag_manager')); ?> </h3>
                                </div>
                            </div>
                            <div class="col-lg-12">
                                <form action="<?php echo e(route('settings.analytics.update')); ?>" method="POST"
                                      id="gtm_form">
                                    <?php echo csrf_field(); ?>
                                    <input type="hidden" name="type" value="gtm">

                                    <div class="mb-40 minh-430">
                                        <div class="row">

                                            <div class="col-xl-6">
                                                <div class="primary_input">
                                                    <ul id="theme_nav" class="permission_list sms_list ">
                                                        <li>
                                                            <label data-id="bg_option"
                                                                   class="primary_checkbox d-flex mr-12">
                                                                <input name="gtm_status"
                                                                       id="gtm_status" value="1"
                                                                       <?php echo e(Settings('gtm_status') == 1?'checked':''); ?> type="checkbox">
                                                                <span class="checkmark"></span>
                                                            </label>
                                                            <p><?php echo e(__('setting.enable_gtm')); ?></p>
                                                        </li>
                                                    </ul>
                                                </div>

                                            </div>
                                            <div class="col-lg-6">
                                                <a class="facebook_link_btn" target="_blank"
                                                   href="https://tagmanager.google.com/">
                                                    <p><?php echo e(__('setting.click_here_to_create_gtm')); ?></p></a>
                                            </div>

                                            <div class="col-lg-12">
                                                <div class="primary_input mb-25">
                                                    <label class="primary_input_label"
                                                           for="gtm_id"><?php echo e(__('setting.gtm_id')); ?>

                                                        <span class="text-danger">*</span></label>
                                                    <input class="primary_input_field" type="text"
                                                           id="gtm" name="gtm_id"
                                                           autocomplete="off"
                                                           value="<?php echo e(Settings('gtm_id')); ?>"
                                                           placeholder="<?php echo e(__('setting.gtm_id')); ?>">
                                                </div>


                                            </div>

                                            <div class="col-lg-12 d-flex justify-content-center align-items-center">

                                                <button type="submit"
                                                        class="primary-btn semi_large fix-gr-bg"

                                                        id="">
                                                    <i class="ti-check"></i>
                                                    <?php echo e(__('common.Save')); ?>

                                                </button>
                                            </div>


                                        </div>

                                    </div>
                                </form>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="white-box">
                        <div class="row">
                            <div class="col-lg-12">
                                <div class="main-title">
                                    <h3 class="mb-20">
                                        <?php echo e(__('setting.facebook_pixel')); ?> </h3>
                                </div>
                            </div>
                            <div class="col-lg-12">
                                <form action="<?php echo e(route('settings.analytics.update')); ?>" method="POST"
                                      id="facebook_pixel_form">
                                    <?php echo csrf_field(); ?>
                                    <input type="hidden" name="type" value="facebook">

                                    <div class="mb-40 minh-430">
                                        <div class="row">

                                            <div class="col-xl-6">
                                                <div class="primary_input">
                                                    <ul id="theme_nav" class="permission_list sms_list ">
                                                        <li>
                                                            <label data-id="bg_option"
                                                                   class="primary_checkbox d-flex mr-12">
                                                                <input name="facebook_pixel_status"
                                                                       id="facebook_pixel_status" value="1"
                                                                       <?php echo e(Settings('facebook_pixel_status') == 1?'checked':''); ?> type="checkbox">
                                                                <span class="checkmark"></span>
                                                            </label>
                                                            <p><?php echo e(__('setting.enable_facebook_pixel')); ?></p>
                                                        </li>
                                                    </ul>
                                                </div>

                                            </div>
                                            <div class="col-lg-6">
                                                <a class="facebook_link_btn" target="_blank"
                                                   href="https://developers.facebook.com/docs/meta-pixel">
                                                    <p><?php echo e(__('setting.click_here_to_create_facebook_pixel')); ?></p></a>
                                            </div>

                                            <div class="col-lg-12">
                                                <div class="primary_input mb-25">
                                                    <label class="primary_input_label"
                                                           for="facebook_pixel_id"><?php echo e(__('setting.facebook_pixel_id')); ?>

                                                        <span class="text-danger">*</span></label>
                                                    <input class="primary_input_field" type="text"
                                                           id="facebook_pixel" name="facebook_pixel"
                                                           autocomplete="off"
                                                           value="<?php echo e(Settings('facebook_pixel')); ?>"
                                                           placeholder="<?php echo e(__('setting.facebook_pixel_id')); ?>">
                                                </div>


                                            </div>

                                            <div class="col-lg-12 d-flex justify-content-center align-items-center">

                                                <button type="submit"
                                                        class="primary-btn semi_large fix-gr-bg"

                                                        id="">
                                                    <i class="ti-check"></i>
                                                    <?php echo e(__('common.Save')); ?>

                                                </button>
                                            </div>


                                        </div>

                                    </div>
                                </form>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

<?php $__env->stopSection(); ?>

<?php $__env->startPush('scripts'); ?>
    <script>
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('setting::layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/minialms/app.minialms.com/Modules/Setting/Resources/views/analytics/index.blade.php ENDPATH**/ ?>