Websites / {{ $website->client?->name }} /

{{ $website->name }} @if($website->status === 'paused')@endif

{{ $website->url }} · {{ ucfirst($website->platform) }} · SEO owner: {{ $website->assignee?->name ?? 'unassigned' }} · Uptime
@if($activeCrawl) {{ $activeCrawl->pages_crawled }} pages @else @endif @can('manage-websites') Settings @endcan
@foreach($tabs as $k => $label)@endforeach
{{-- OVERVIEW --}} @if($tab === 'overview')
@php($fl = \Illuminate\Support\Facades\DB::table('analytics_events_daily')->where('website_id', $website->id)->where('event_name', 'generate_lead')->where('channel_group', 'Organic Search')->where('date', '>=', now()->subDays(30)->toDateString()))
Top problems
@forelse($topIssues as $i) @empty@endforelse
{{ $i->title }}
{{ $i->categoryLabel() }}
{{ number_format($i->affected_count) }} {{ \Illuminate\Support\Str::plural('URL', $i->affected_count) }}
{{ $lastCrawl ? 'No open problems. 👏' : 'Run the first crawl to see issues.' }}
Suggestions for more qualified leads
Recommendations only — nothing is changed on the website.
@forelse($recommendations as $r)

{{ $r['why'] }}

    @foreach($r['actions'] as $a)
  • {{ $a }}
  • @endforeach

Expected effect: {{ $r['impact'] }}

@foreach(array_slice($r['urls'], 0, 8) as $u)@endforeach
@emptyNo suggestions yet — they appear after the first crawl.@endforelse
Monitoring between crawls

Critical watch (noindex, robots.txt, key pages, sitemap, homepage content): {{ $website->watch_checked_at ? 'last run '.$website->watch_checked_at->format('d M H:i') : 'Unavailable — not run yet' }}

@forelse($watchIssues as $i) @empty

No traffic drops, indexing or critical-watch alerts open.

@endforelse @if($blogStatus)
Blogs {{ $blogStatus['label'] }}: {{ $blogStatus['published'] }}/{{ $blogStatus['target'] }} published · {{ $blogStatus['remaining'] }} remaining · due {{ $blogStatus['deadline']->format('d M') }} @if($blogStatus['overdue']) · OVERDUE@endif
@endif
Health trend
@if($trend->count() > 1)
@foreach($trend as $t)
{{ $t->health_score }}
{{ $t->finished_at?->format('d/m') }}
@endforeach
@else

Trend appears after two crawls.

@endif @if($lastCrawl)

Last crawl #{{ $lastCrawl->id }} {{ $lastCrawl->finished_at?->diffForHumans() }} · {{ number_format($lastCrawl->pages_crawled) }} URLs · next {{ $website->next_crawl_at?->format('d M H:i') ?? 'manual' }}

@endif
Integrations
@foreach(['pagespeed' => ['PageSpeed', $website->pagespeed_enabled], 'gsc' => ['Search Console', $website->gsc_property && $googleConfigured], 'ga4' => ['GA4', $website->ga4_property_id && $googleConfigured]] as $p => [$label, $on])
{{ $label }} @if($on)@if($run = $runs[$p] ?? null){{ $run->started_at->diffForHumans() }}@elsenever synced@endif @elsenot configured@endif
@if(($run = $runs[$p] ?? null) && $run->status !== 'success')

{{ \Illuminate\Support\Str::limit($run->message, 160) }}

@endif @endforeach @foreach($psi as $r)
{{ ucfirst($r->strategy) }}: performance {{ $r->performance }} · SEO {{ $r->seo }} · LCP {{ $r->lcp_ms ? round($r->lcp_ms / 1000, 1).'s' : '—' }} · CLS {{ $r->cls }}
@endforeach
Site checks
@php($sc = $lastCrawl?->site_checks ?? [])
  • robots.txt: {!! ($sc['robots']['exists'] ?? false) ? 'found' : 'missing' !!}
  • XML sitemap: {!! ($sc['sitemap']['found'] ?? false) ? ''.number_format($sc['sitemap']['url_count'] ?? 0).' URLs' : 'not found' !!}
  • HTTPS: {!! ($sc['https']['ok'] ?? false) ? 'yes' : 'no' !!}
  • SSL expires: {{ $website->ssl_expires_at?->format('d M Y') ?? '—' }} {{ $website->ssl_issuer ? '('.$website->ssl_issuer.')' : '' }}
  • Final homepage URL: {{ $sc['final_root'] ?? '—' }}
@endif {{-- ISSUES --}} @if($tab === 'issues') @endif {{-- CRAWLS --}} @if($tab === 'crawls')
@forelse($crawls as $c) @empty@endforelse
#StatusTriggerURLsHealthStartedDuration
#{{ $c->id }}@if($c->budget_reached)budget@endif {{ $c->trigger }}{{ $c->triggeredBy ? ' · '.$c->triggeredBy->name : '' }}{{ number_format($c->pages_crawled) }} / {{ number_format($c->page_budget) }} {{ $c->health_score ?? '—' }}{{ $c->started_at?->format('d M Y H:i') ?? 'waiting' }}{{ $c->durationForHumans() }} @if($c->error)error@endif @if($c->pages_pruned)summary only@endif
No crawls yet.
@endif {{-- UPTIME --}} @if($tab === 'uptime')
Incidents
@forelse($incidents as $i) @empty@endforelse
{{ $i->started_at->format('d M Y H:i') }}{{ $i->resolved_at ? $i->durationMinutes().' min' : 'ongoing' }}{{ $i->reason }}
No incidents recorded.
Recent checks (every {{ $website->uptime_interval_minutes }} min)
@foreach($checks->reverse() as $c)@endforeach
@foreach($checks->take(10) as $c) @endforeach
{{ $c->checked_at->format('d M H:i:s') }}{{ $c->status_code ?? '—' }}{{ number_format($c->response_ms) }} ms{{ $c->error }}
@endif {{-- KEYWORDS --}} @if($tab === 'keywords')
@forelse($keywords as $k) @empty@endforelse
Keyword → mapped pageIntentPositionChangeTargetClicks 28dImpr. 28d
{{ $k->keyword }} @if($k->language || $k->country){{ trim($k->language.' '.$k->country) }}@endif
{{ $k->target_url ?: 'no page mapped' }}
@if($mapNotes[$k->id] ?? null)
{{ $mapNotes[$k->id] }}
@endif
{{ $k->intent }} @if(($ch = $k->change()) !== null){{ sprintf('%+.1f', $ch) }}@endif {{ $k->target_position }}{{ $k->clicks_28d ?? '—' }}{{ $k->impressions_28d ?? '—' }}
No tracked keywords. Add buyer-intent keywords on the right.
Track keywords
@error('kw.keyword')

{{ $message }}

@enderror
@error('kw.target_url')

{{ $message }}

@enderror

Positions are average Google positions from Search Console (28 days). Without GSC, enter positions manually.

Potential overlap (review)

Different pages mapped to similar keywords with the same intent, language and country. Overlap can be intentional — it is a prompt to review, not an error.@unless($qpSynced) Search Console query/page data is not synced yet, so no supporting evidence is shown.@endunless

    @forelse($overlaps as $o)
  • “{{ $o['a']->keyword }}” → {{ \App\Support\PageKey::for($website, $o['a']->target_url) }}
    “{{ $o['b']->keyword }}” → {{ \App\Support\PageKey::for($website, $o['b']->target_url) }}
    {{ $o['a']->intent }}{{ $o['a']->language || $o['a']->country ? ' · '.trim($o['a']->language.' '.$o['a']->country) : '' }} · similarity {{ $o['similarity'] * 100 }}%
    @if($o['evidence'])
    {{ $o['evidence'] }}
    @endif
  • @empty
  • No overlapping mappings.
  • @endforelse
@if($mapId)
Map keyword to page
@error('map.target_url')

{{ $message }}

@enderror
@error('map.country')

{{ $message }}

@enderror
@endif @if($suggestions)
Untracked queries from Search Console
    @foreach($suggestions as $s)
  • {{ $s->value }}#{{ round($s->position, 1) }} · {{ number_format($s->impressions) }}
  • @endforeach
@endif
@endif {{-- CHANGES --}} @if($tab === 'changes') @if($changeCrawls->isEmpty())
Changes appear after the second completed crawl: each crawl is compared with the previous one.
@else
@php($sum = $changeCrawl?->changes ?? [])
@foreach($changeLabels as $k => $v)@if($sum['counts'][$k] ?? 0){{ $v }}: {{ $sum['counts'][$k] }}@endif @endforeach @if(($sum['sitemap']['before'] ?? null) !== ($sum['sitemap']['after'] ?? null))Sitemap URLs {{ $sum['sitemap']['before'] ?? '?' }} → {{ $sum['sitemap']['after'] ?? '?' }}@endif @unless($sum['complete'] ?? true)One of the crawls hit its page budget, so removed/new pages are only reported when actually re-fetched.@endunless
@forelse($changes as $c) @empty@endforelse
ChangeURLBeforeAfter
{{ $changeLabels[$c->type] ?? $c->type }} {{ $c->url }}{{ \Illuminate\Support\Str::limit($c->before, 140) }}{{ \Illuminate\Support\Str::limit($c->after, 140) }}
No changes of this type.
@endif @endif {{-- INDEXING --}} @if($tab === 'indexing')

Google's own index status for important pages (Search Console URL Inspection API: up to {{ \App\Support\Settings::get('inspection.urls_per_site_per_week', 40) }} URLs per site per week, rotating; quota 2,000/day per property).

@if($website->gsc_property && $googleConfigured)@endif
@if(! $website->gsc_property || ! $googleConfigured)
Unavailable — connect Search Console (Settings → Integrations and the website's GSC property) to see Google's index status.
@else
@foreach($coverage as $state => $n){{ $state }}: {{ $n }}@endforeach {{ $lastInspection ? 'Last updated '.\Carbon\Carbon::parse($lastInspection)->format('d M Y H:i') : 'Unavailable — not inspected yet' }}
@forelse($inspections as $i) @empty@endforelse
URLGoogle statusLast crawled by GoogleGoogle canonicalSourceChecked
{{ $i->url }} @if($i->error){{ $i->error }}@else{{ $i->coverage_state ?? $i->verdict }}@endif {{ $i->last_crawl_time?->format('d M Y') ?? '—' }}{{ $i->google_canonical }} {{ str_replace('_', ' ', $i->source) }}{{ $i->inspected_at?->format('d M') }}
Not inspected yet — runs daily at 06:10, or press "Inspect now".
@endif @endif {{-- PERFORMANCE --}} @if($tab === 'performance') @endif {{-- TRACKING --}} @if($tab === 'tracking') @php($td = $website->tracking_details ?? [])
Tracking status {{ $trackingLabels[$website->tracking_status] ?? $website->tracking_status }}
  • Snippet on homepage: {!! ($td['snippet'] ?? false) ? 'found' : 'not found' !!} · GA4 tags: {{ implode(', ', $td['ga4_ids'] ?? []) ?: 'none found' }} · GTM: {{ implode(', ', $td['gtm_ids'] ?? []) ?: 'none' }}
  • Events received in GA4 (last 14 days): @forelse(($td['events_14d'] ?? []) as $ev => $c){{ $ev }} {{ $c }} · @empty {{ $website->ga4_property_id ? 'none' : 'Unavailable (GA4 not connected)' }}@endforelse {{ ! empty($td['last_event_date']) ? '(last event '.$td['last_event_date'].')' : '' }}
  • Status checked: {{ $website->tracking_checked_at?->format('d M Y H:i') ?? 'never' }}
@if($trackingTest)
Test {{ $trackingTest['at'] }}: homepage HTTP {{ $trackingTest['http'] }} · snippet {{ $trackingTest['snippet'] ? 'found ✓' : 'NOT found ✗' }} · GA4 {{ implode(', ', $trackingTest['ga4_ids']) ?: 'not found' }} @if($trackingTest['realtime'] !== null)
GA4 realtime (last 30 min): @foreach($trackingTest['realtime'] as $ev => $c){{ $ev }} {{ $c }} · @endforeach
@endif @if($trackingTest['realtime_error'])
{{ $trackingTest['realtime_error'] }}
@endif
To test end-to-end: open {{ $website->url }}?iwz_debug=1, click a WhatsApp and a phone link, submit a real test enquiry, then press "Test tracking now" again (GA4 realtime) or watch GA4 → Admin → DebugView.
@endif
Install on {{ $website->host }}
  1. GA4 (gtag.js) or Google Tag Manager must already be on every page.
  2. Paste this snippet once, just before </body> in the main layout (Laravel: resources/views/layouts/app.blade.php).
  3. WhatsApp (wa.me, api.whatsapp.com) and tel: link clicks are tracked automatically as whatsapp_click / phone_click.
  4. Form leads are counted only after a successful submission — choose one:
    • Laravel redirect after saving: return back()->with('iwz_lead', ['form_id' => 'contact', 'id' => $enquiry->id]); and in the layout @@if(session('iwz_lead'))<script>iwzTrack.lead(@@json(session('iwz_lead')))</script>@@endif
    • AJAX form: call iwzTrack.lead({form_id: 'contact', submission_id: response.id}) in the success callback only.
    • Thank-you page: add data-iwz-lead-page="contact" to its <body> (fires once per visit; reloads ignored).
  5. Product pages: add <meta name="iwz-product-id" content="SKU-123"> (or data-iwz-product on the product container).
  6. GA4 → Admin → Events: mark generate_lead as a key event. Admin → Custom definitions: add event-scoped dimensions form_id, product_id, link_location.

Privacy: the snippet never reads form fields and never sends names, e-mails, phone numbers or messages to GA4 — only event type, form id, product id and the page.

{{ $snippet }}
This month so far
@foreach($leadsNow['events'] as $key => $e)
{{ $e['label'] }}@if($e['total'] === null)not tracked@else{{ $e['organic'] }} organic / {{ $e['total'] }} total @endif
@endforeach

Full page-by-page numbers are on the Performance tab.

@endif {{-- BLOGS --}} @if($tab === 'blogs')
@can('manage-websites')Target & patterns@endcan Baseline: {{ $baselineCount }} existing post(s) recorded {{ $website->blog_baseline_at ? 'on '.$website->blog_baseline_at->format('d M Y') : '(set at the first crawl)' }} — never counted as new.
New posts counted for {{ $blog['label'] }}
@forelse($blog['posts'] as $p) @empty@endforelse
TitleOriginal publication dateDetectedDate source
{{ $p->title ?? $p->url }}@if($p->needs_review)needs review@endif
{{ $p->url }}
{{ $p->published_at?->setTimezone($blog['timezone'])->format('d M Y H:i') ?? 'unknown' }}{{ $p->first_detected_at->format('d M Y H:i') }} {{ $p->published_source ?? '—' }} ({{ $p->date_confidence }})@if($p->reviewer) · confirmed by {{ $p->reviewer->name }}@endif
No new posts counted for this month yet.
@if($review->isNotEmpty())
Needs review ({{ $review->count() }})
No reliable publication date was found (no Article schema / article:published_time). Confirm whether each is a new publication.
@foreach($review as $p) @endforeach
{{ $p->title ?? $p->url }}
detected {{ $p->first_detected_at->format('d M Y') }} · date: {{ $p->published_at?->format('d M Y') ?? 'none' }} ({{ $p->published_source ?? 'no source' }})
@can('manage-targets') @endcan
@endif
Recently detected (all)
@foreach($recentPosts as $p) @endforeach
{{ $p->title ?? $p->url }}{{ $p->is_baseline ? 'baseline (existing)' : ($p->counted_month ? 'new — '.$p->counted_month->format('M Y') : 'pending review') }} published {{ $p->published_at?->format('d M Y') ?? '?' }}@if($p->modified_at && $p->published_at && $p->modified_at->gt($p->published_at->copy()->addDay())) · updated {{ $p->modified_at->format('d M Y') }}@endif{{ $p->status }}
@endif {{-- TASKS --}} @if($tab === 'tasks') @endif @if($tab === 'quality')@endif @if($tab === 'links')@endif @if($tab === 'dependencies')@endif @if($tab === 'reviews')@endif @if($tab === 'impact')@endif {{-- TARGETS --}} @if($tab === 'targets')
@can('manage-targets')@endcan
@forelse($targets as $t) @empty@endforelse
MetricTargetActualProgress
{{ $t->metricEnum()->label() }}@if($t->notes)
{{ $t->notes }}
@endif
{{ $t->auto_actual ? 'measured automatically' : 'entered manually' }}
{{ rtrim(rtrim(number_format($t->target_value, 2), '0'), '.') }} @can('manage-targets')@else{{ $t->actual_value ?? '—' }}@endcan @if(($p = $t->progressPercent()) !== null)
{{ $p }}%@elseno data yet@endif
@can('manage-targets')@endcan
No targets for this month.
@can('manage-targets')
Set a target
@error('tg.target_value')

{{ $message }}

@enderror
@endcan
@endif {{-- REPORTS --}} @if($tab === 'reports')
Monthly reports are also created automatically on day {{ config('seo.reports.monthly_day') }} of each month.
whereIn('status', ['queued', 'generating'])->isNotEmpty()) wire:poll.5s @endif> @forelse($reports as $r) @empty@endforelse
ReportPeriodStatusGenerated
{{ $r->typeLabel() }}{{ $r->type === 'monthly' ? $r->period_start->format('F Y') : $r->period_start->format('d M Y') }}@if($r->error)
{{ \Illuminate\Support\Str::limit($r->error, 120) }}
@endif
{{ $r->generated_at?->format('d M Y H:i') }} {{ $r->generator ? '· '.$r->generator->name : '· automatic' }} @if($r->status === 'ready')View Download PDF@endif
No reports yet.
@endif