<?php if($analytics->status == \App\Enums\Status::ACTIVE): ?>

    <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo e(getArrayValue($analytics?->short_key, 'api_key')); ?>"></script>
    <script>
        "use strict";
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag("js", new Date());
        gtag("config", "<?php echo e(getArrayValue($analytics?->short_key, 'api_key')); ?>");
    </script>
<?php endif; ?><?php /**PATH /opt/lampp/htdocs/finfunder/src/resources/views/partials/google_analytics.blade.php ENDPATH**/ ?>