From 2c637722aee749817a881014372382acfe038ac3 Mon Sep 17 00:00:00 2001 From: Lupu Gheorghe Date: Wed, 31 May 2023 16:19:18 +0300 Subject: [PATCH 1/2] add gtag --- resources/views/components/layout.blade.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index dbe4d5d..a1e3c2f 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -4,6 +4,17 @@ + @if(App::environment('production')) + + + + @endif {{ $title ?? 'Help2Help' }} @vite(['resources/scss/app.scss']) From 5382dcf04e1bd7f3e2d09b0ffb821d1fa4511a0a Mon Sep 17 00:00:00 2001 From: Lupu Gheorghe Date: Wed, 31 May 2023 16:19:51 +0300 Subject: [PATCH 2/2] gtag --- resources/views/components/layout.blade.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index a1e3c2f..04dda21 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -4,17 +4,6 @@ - @if(App::environment('production')) - - - - @endif {{ $title ?? 'Help2Help' }} @vite(['resources/scss/app.scss']) @@ -27,5 +16,15 @@ function gtag(){dataLayer.push(arguments);} @vite('resources/js/app.js') {{$js ?? ''}} +@if(App::environment('production')) + + + +@endif