123movies-seo/resources/views/components/ga.blade.php

9 lines
381 B
PHP
Raw Permalink Normal View History

2024-08-24 23:08:42 +03:00
<script async src="https://www.googletagmanager.com/gtag/js?id={{ config('ga_id') }}" type="text/javascript"></script>
<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', "{{ config('ga.id') }}");
gtag('config', "{{ config('ga.global_id') }}");
</script>