Track Referrals
Reward your customers for referrals and grow your business.
Last updated
Reward your customers for referrals and grow your business.
Last updated
Your customers will be able to get and share their referral link from Gameball Customer Widget
Tracking referral requires Firebase and Firebase Dynamic Links SDKs installed into your app.
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 Referral method within your App user registration flow
Below is a step by step guide on how to listen to referral registration and notify Gameball to track and reward.
First, you'll need to set up Firebase within your mobile app.
After setting Firebase deep links within your app and configuring Firebase from Gameball's dashboard, you'll need to listen to deep links query parameters within your app. When a user clicks on a Firebase Dynamic Link that includes the GBReferral parameter, the GBReferral parameter will be included in the deep link query parameters. This parameter contains the referral information that you'll need to send to Gameball to track referrals.
Here's an example of how you can listen to deep links query parameters and locate the GBReferral parameter in your mobile app:
You have full flexibility to choose Firebase dependency packages to be used for dynamic link extraction while keeping Gameball SDK focused solely on Gameball
Once you have located the GBReferral parameter within a dynamic link. You will need to send its value and send along with the registerPlayer SDK call that is being executed for the newly created referred customer.