@extends('layouts.vuexy') @section('title', 'Push remarketing') @php $statusColors = [ 'sent' => 'success', 'failed' => 'danger', 'skipped_no_token' => 'secondary', ]; $statusLabels = [ 'sent' => 'Enviado', 'failed' => 'Falló', 'skipped_no_token' => 'Sin token', ]; @endphp @section('content')
Leads de abandono (ViewContent sin Purchase), alimentados por la
app vía POST /automation/events, y los intentos de push enviados por
marketing:send-abandonment-push.
| Usuario | Restaurante | Vista | Comprado | Push |
|---|---|---|---|---|
| #{{ $lead->user_id }} | #{{ $lead->restaurant_id }} | {{ $lead->viewed_at->diffForHumans() }} | @if ($lead->purchased_at) {{ $lead->purchased_at->diffForHumans() }} @else — @endif | @if ($attempt) {{ $statusLabels[$attempt->status] ?? $attempt->status }} @else Pendiente @endif |
Sin datos todavía — esperando eventos de POST /automation/events.
|
||||