Track Referrals
Reward your customer for referrals and grow your business.
Introduction
One of the most effective ways to acquire new customers is through referrals. You can use Gameball referrals capabilities to encourage your customers to invite their friends by offering rewards for successful referrals to both the referrer and the recipient.
Gameball referrals uses Firebase Dynamic Links in the background to generate customers' referral links and track referrals. Dynamic Links are smart URLs (deep links) that survive the app install process, so new referred customers via referral links will be easily tracked when they open the app for the first time.
Gameball and its SDK provides hassle free integration to track referrals where you will only need to
Provide your firebase info through Gameball dashboard to generate referral links to your customers.
Invoke the registerPlayer method to create a new Customer profile and the referral code will be captured automatically.
![](https://developer.gameball.co/~gitbook/image?url=https%3A%2F%2F1167798217-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-M3kSf4Ga0rOah5Au2jA-856047512%252Fuploads%252FHgLf8jiX7qM3G9DuCdH7%252F62fc5889d52bd92a55188efd_Mj6pMaOcnhU6bPS6Om1qbcQ4fJKNSBiPv1aA9lF-Xdv59l-1iITLb79diFTzQpHY0bs8CHNnC1quJb2xjQ5cvBNDZOWQLxcfvJNPASGpAC-xeGUqmoLezKzK1u5OdB9ejAyKmwMhs8gP_2vremJ4aJE.jpg%3Falt%3Dmedia%26token%3Deef6fd20-af5f-4027-9db7-53a7bf6cb457&width=768&dpr=4&quality=100&sign=df846b39&sv=1)
Your customers will be able to get and share their referral link from Gameball Customer Profile
Tracking referral requires Firebase and Firebase Dynamic Links SDKs installed into your app.
Integration Steps
To integrate and track referrals you need to perform two main steps
Configure your Firebase dynamic links settings from your Firebase console.
Configure Firebase on your App and Gameball account dashboard.
Invoke SDK register player method within your App user registration flow.
Integration Details
After setting up the necessary Firebase dependencies and adding your Firebase details to Gameball's dashboard, and calling register player , the system will automatically detect if there is a referral code. If a referral code is found, it will be included in the registration request. This allows the newly registered customer to be linked with the referral code.
Last updated