@if(!$t['impressions'] && !$t['clicks'] && !$t['connects'] && !$t['profile_views'])
No marketing report data for this period.
@php
$metrics = [
['label' => 'Impressions', 'value' => number_format($t['impressions']), 'icon' => 'heroicon-o-eye'],
['label' => 'Clicks', 'value' => number_format($t['clicks']), 'icon' => 'heroicon-o-cursor-arrow-rays'],
['label' => 'Connects', 'value' => number_format($t['connects']), 'icon' => 'heroicon-o-link'],
['label' => 'Profile Views', 'value' => number_format($t['profile_views']), 'icon' => 'heroicon-o-user'],
];
@endphp
@foreach($metrics as $metric)
{{ $metric['label'] }}
{{ $metric['value'] }}
@endforeach
CTR
@php
$ctrColor = $t['ctr'] >= 3 ? 'text-success-600 dark:text-success-400'
: ($t['ctr'] >= 1 ? 'text-warning-600 dark:text-warning-400'
: 'text-danger-600 dark:text-danger-400');
@endphp
{{ $t['ctr'] }}%