@php $refId = Auth::user()->referral_id ?? Auth::user()->id; $examples = [ ['label' => 'Homepage', 'url' => 'https://sgtgodoy.com/'], ['label' => 'PoliceExam911', 'url' => 'https://sgtgodoy.com/px911'], ]; @endphp

Link Generator

{{-- Referral ID + example links --}}

Your Tracking ID

{{ $refId }} Use ?ref={{ $refId }} on any sgtgodoy.com URL to track your referrals. Examples:
@foreach($examples as $page) @php $affiliateUrl = rtrim($page['url'], '/') . '?ref=' . $refId; @endphp
{{ $page['label'] }} {{ $affiliateUrl }}
@endforeach
{{-- Custom URL --}}

Custom URL

Paste any sgtgodoy.com URL to generate your affiliate link.