@extends('template.master') @section('page_styles') {{--CUSTOM STYLES HERE--}} @stop @section('content')

Business Details

@foreach ($media['mediaItems'] as $photo) @endforeach

Business Name:
{{$location['locationName']}}
Description:
{{$location['profile']['description']}}
Category:
{{$location['primaryCategory']['displayName']}}
@foreach ($location['additionalCategories'] as $additionalCategory) {{$additionalCategory['displayName']}}
@endforeach
Address:
@foreach ($location['address']['addressLines'] as $address) {{$address}} @endforeach {{@$location['address']['sublocality']}}, {{@$location['address']['locality']}}, {{@$location['address']['administrativeArea']}}, {{@$location['address']['regionCode']}} {{@$location['address']['postalCode']}}
Opening Hours: {{$location['openInfo']['status']}}
@if (isset($location['regularHours']['periods'])) @foreach ($location['regularHours']['periods'] as $period) @endforeach
{{$period['openDay']}}   {{$period['openTime']}} - {{$period['closeTime']}}
@endif
Phone:
{{$location['primaryPhone']}}
Ratings (@if ($reviews['totalReviewCount']) {{$reviews['totalReviewCount']}} @else 0 @endif ) :
@for ($r =1 ; $r <= $average_rating; $r++) @endfor


GMB Stats

@foreach ($insights['summary'] as $summary_title => $summary_value)

{{$summary_value}}


{{--

0.49%


--}} {{str_replace('_', ' ', $summary_title)}} {{@$insights['descriptions'][$summary_title]}}
@endforeach

Searches

  • Direct Search Customers who find your listing searching for your business name or address.
  • Discovered through keywords Customers who find your listing searching for a category, product, or service.
@php $total = $insights['summary']['QUERIES_INDIRECT'] + $insights['summary']['QUERIES_DIRECT']; $queries_indirect_p = ($insights['summary']['QUERIES_INDIRECT']/$total)*100; $queries_direct_p = ($insights['summary']['QUERIES_DIRECT']/$total)*100; @endphp
  • {{@$insights['summary']['QUERIES_DIRECT']}} ({{round($queries_direct_p,2)}}% of total)
  • {{@$insights['summary']['QUERIES_INDIRECT']}} ({{round($queries_indirect_p,2)}}% of total)

Views

  • Total Views {{$insights['search_views_daily_total'] + $insights['maps_views_daily_total']}}
  • Listing Search {{$insights['search_views_daily_total']}}
  • Listing Maps {{$insights['maps_views_daily_total']}}

Customer actions

  • Visit your website {{$insights['website_daily_total']}}
  • Request directions {{$insights['driving_daily_total']}}
  • Call you {{$insights['phone_daily_total']}}
    @foreach($reviews['reviews'] as $review) @if(isset($review['comment']) && $review['comment'] != '')
  • ...
    @if(isset($review['reviewer']))

    {{$review['reviewer']['displayName']}}

    @else N/A @endif

    {{$review['comment']}}

    ({{\Carbon\Carbon::createFromTimeStamp(strtotime($review['createTime']))->diffForHumans()}})

  • @endif @endforeach
@if(isset($local_posts['localPosts'])) @foreach($local_posts['localPosts'] as $post)

{{date('F d, Y', strtotime(@$post['createTime']))}}

{{@$post['summary']}}

@endforeach @endif
@if(isset($questions)) @foreach ($questions['questions'] as $question)
...
@if(isset($question['author'])) {{$question['author']['displayName']}} @endif asked:
{{\Carbon\Carbon::createFromTimeStamp(strtotime(@$question['createTime']))->diffForHumans()}}

{{@$question['text']}}

@if (isset($question['answer']['answers'])) @foreach ($question['answer']['answers'] as $answer)
...
@if(isset($answer['author'])) {{$answer['author']['displayName']}} @endif
{{\Carbon\Carbon::createFromTimeStamp(strtotime($answer['createTime']))->diffForHumans()}}

{{@$answer['text']}}

@endforeach @endif
@endforeach @endif
@stop @section('page_modals') @stop @section('page_scripts') @stop