@if(App::environment('production'))
@if (!empty(config('settings.facebook')))
@endif
@if (!empty(config('settings.hotjar')))
@endif
@if (!empty(config('settings.analytics')))
@endif
@if (!empty(config('settings.intercom')) && !empty(config('settings.intercom_key')))
@if(Auth::check())
@php ($hash_hmac = hash_hmac('sha256', Auth::user()->id, config('settings.intercom_key')))
@elseif(isset($invitedUser) && $invitedUser->invite != null)
@php ($hash_hmac = hash_hmac('sha256', $invitedUser->id, config('settings.intercom_key')))
@else
@endif
@endif
@endif