Your players can then exchange their referral link with their referrals so that they can get rewarded for their referrals if they signed up and fulfill the requirement as configured on your referral program. Every player will be able to find the unique referral link on the referral tab inside Gameball player profile widget
Check this article to learn how the referral module will appear in your players' profile on Gameball widget.
Tracking Referral Signups
When a referral lands on your website with a referral link
You can detect that by checking URL query strings for ReferralCode. If detected, you can then store the ReferralCode value on the user's session or leverage the browser local storage, session storage, or cookies.
Once the guest referral sign-ups, you can then send the ReferralCode along with the sign-up data of the new player via the Create Player API.
Below is a sample API call to create a new player "Aria Stark" that is being referred by Player "John Snow" with referral code code123