@extends('layouts.panel')
@section('title', 'Interações')
@section('heading', 'Interações')
@section('lede', 'Cliques registrados após a conclusão do vídeo')
@section('content')
Cliques
{{ number_format($summary['clicks'], 0, ',', '.') }}
Impressões
{{ number_format($summary['impressions'], 0, ',', '.') }}
CTR geral
{{ $summary['ctr'] !== null ? number_format($summary['ctr'], 1, ',', '.').'%' : '—' }}
@if ($ctrByCampaign->isNotEmpty())
@foreach ($ctrByCampaign as $row)
{{ mb_strtoupper(mb_substr($row['campaign_name'], 0, 1)) }}
{{ $row['campaign_name'] }}
{{ number_format($row['impressions'], 0, ',', '.') }} impressões
{{ number_format($row['clicks'], 0, ',', '.') }} cliques
{{ $row['ctr'] !== null ? number_format($row['ctr'], 1, ',', '.').'%' : '—' }}
@endforeach
@endif
@if ($clicks->isEmpty())
Audiência
Nenhuma interação registrada
Cliques aparecem quando o visitante toca em um link após concluir o vídeo no portal.
@else
@foreach ($clicks as $click)
{{ mb_strtoupper(mb_substr($click->type->label(), 0, 1)) }}
{{ $click->type->label() }}
{{ $click->campaign?->name ?? 'Campanha' }} · {{ $click->wifiPoint?->name ?? 'Ponto' }}
{{ $click->occurred_at?->format('d/m/Y H:i') }}
@if (auth()->user()->isAdmin())
{{ $click->advertiser?->company?->displayName() ?? $click->advertiser?->contact_name }}
@endif
{{ $click->url }}
@endforeach
@if ($clicks->hasPages())
@endif
@endif
@endsection