{{ $link->label ?: $link->slug }}

{{ $link->label ?: $link->slug }}

You can change the destination anytime.

@if ($link->is_managed_here)
@csrf @method('DELETE')
@elseif ($link->manage_url) Manage in {{ $link->sourceAppLabel() }} @endif
@if (! $link->is_managed_here)
This {{ \App\Models\ShortLink::publicHost() }} slug was created in {{ $link->sourceAppLabel() }}. Edit the destination there — the short link stays the same and updates automatically.
@endif @if ($link->is_managed_here)
@csrf @method('PATCH')

Destination

Change where {{ $link->publicUrl() }} sends people. Printed cards, QR codes, and old shares keep working.

@error('destination_url')

{{ $message }}

@enderror @error('link')

{{ $message }}

@enderror
@else

Destination

{{ $link->destination_url }}

@endif

Analytics

{{ number_format($summary['total_clicks']) }}

Total clicks

{{ number_format($summary['unique_clicks']) }}

Unique clicks

{{ number_format($summary['clicks_7d']) }}

Last 7 days

{{ number_format($summary['clicks_30d']) }}

Last 30 days

Clicks — last 30 days

@php $maxDaily = max(1, $dailyClicks->max('total')); @endphp
@foreach($dailyClicks as $day)
@endforeach
@include('links.partials.analytics-breakdown', ['title' => 'Devices', 'rows' => $devices, 'empty' => 'No clicks yet']) @include('links.partials.analytics-breakdown', ['title' => 'Browsers', 'rows' => $browsers, 'empty' => 'No clicks yet']) @include('links.partials.analytics-breakdown', ['title' => 'Platforms', 'rows' => $platforms, 'empty' => 'No clicks yet']) @include('links.partials.analytics-breakdown', ['title' => 'Countries', 'rows' => $countries, 'empty' => 'No location data yet'])
@include('links.partials.analytics-breakdown', ['title' => 'Top referrers', 'rows' => $referrers, 'empty' => 'No referrer data yet'])

Recent clicks

    @forelse($recentClicks as $click)
  • {{ $click->contextLabel() }}

    @if ($click->is_unique)

    Unique visit

    @endif
  • @empty
  • No clicks recorded yet.
  • @endforelse