diff --git a/.env.example b/.env.example index f7459e18f..262c1efb4 100644 --- a/.env.example +++ b/.env.example @@ -49,3 +49,5 @@ GITHUB_URL_REDIRECT= SPARKPOST_SECRET= ROLLBAR_TOKEN= + +GOOGLE_TAG_MANAGER_KEY= diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 07ed45e9d..2939e2fcd 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -13,6 +13,9 @@ + @if (env('APP_ENV') == 'production') + @include('layouts.deps._gtm_head') + @endif @@ -23,6 +26,9 @@
+ @if (env('APP_ENV') == 'production') + @include('layouts.deps._gtm_body') + @endif