diff --git a/config/attendize.php b/config/attendize.php index 9ef54a3b..09599e31 100644 --- a/config/attendize.php +++ b/config/attendize.php @@ -71,5 +71,6 @@ return [ 'cdn_url_user_assets' => '', 'cdn_url_static_assets' => '', + 'google_analytics_id' => env('GOOGLE_ANALYTICS_ID'), 'google_maps_geocoding_key' => env('GOOGLE_MAPS_GEOCODING_KEY') ]; diff --git a/resources/views/Shared/Partials/GlobalFooterJS.blade.php b/resources/views/Shared/Partials/GlobalFooterJS.blade.php index 3864674a..9185a00f 100644 --- a/resources/views/Shared/Partials/GlobalFooterJS.blade.php +++ b/resources/views/Shared/Partials/GlobalFooterJS.blade.php @@ -2,7 +2,7 @@ @endif -@if(env('GOOGLE_ANALYTICS_ID')) +@if(config('attendize.google_analytics_id'))