@extends('layouts.app', ['title' => 'Meta leads']) @section('content')

Meta leads

Every lead from your Facebook and Instagram lead forms, with the answers they gave.

@unless ($integration->isActive())
Meta Lead Ads is not connected yet. Connect it under Integrations.
@endunless
@if ($leads->isEmpty())
No Meta leads yet.
@else
@foreach ($leads as $lead) @endforeach
ContactFormCampaignAnswersReceived
@if ($lead->contact){{ $lead->contact->full_name }}
{{ $lead->contact->phone }}
@else—@endif
{{ $lead->form_name ?: $lead->form_id }} {{ $lead->campaign_name ?: '—' }} @foreach ((array) $lead->field_data as $f)
{{ str_replace('_', ' ', $f['name'] ?? '') }}: {{ implode(', ', (array) ($f['values'] ?? [])) }}
@endforeach
{{ $lead->lead_created_at?->timezone($currentAccount->timezone)->format('d M Y, h:i A') }}
{{ $leads->links() }}
@endif
@endsection