@extends('back.layouts.app', ['title' => $title]) @section('content')
@include('back.common_views.quicklinks')

Lead Stats

@include('flash::message')

Impressions Leads
{{ getImpressions() }} {{ getLeads() }} @if (getImpressions() > 0 && getLeads() > 0) @php $ratio = (getLeads() / getImpressions()) * 100; @endphp  -  {{ number_format($ratio, 0) }}% @endif
@if (count($referrerArray) > 0)

Get Quote Page

@php $Bstatus = ''; $BGcolor = ''; @endphp @foreach ($referrerArray as $row) @php $bgColor = isset($bgColor) && $bgColor == '#f9f9f9' ? '#FFFFFF' : '#f9f9f9'; @endphp @endforeach
Referrer Impressions Leads Ratio
{{ $row['referrer'] }} {{ $row['totalReferrerCount'] }} {{ $row['totalLeadsByReferrerCount'] }} @if ($row['totalLeadsByReferrerCount'] > 0) View @endif @if ($row['totalReferrerCount'] > 0 && $row['totalLeadsByReferrerCount'] > 0) @php $ratio = ($row['totalLeadsByReferrerCount'] / $row['totalReferrerCount']) * 100; @endphp {{ number_format($ratio, 0) }}% @endif @if ($row['totalReferrerCount'] > 0) Clear Stats @endif
@endif
@endsection @section('beforeBodyClose') @include('back.lead_stat_urls.edit_url_js') @endsection