Gameball Developers Guide
v3.0
Ask or search…
K

Track Referrals

Reward your players for referrals and grow your business

Introduction

One of the most effective ways to get new users is through user referrals. You can use Gameball referrals capabilities to encourage your users 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 players referral links and track referrals. Dynamic Links are smart URLs (deep links) that survive the app install process, so new referred users 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
  1. 1.
    Provide your firebase info through Gameball dashboard to generate referral links to your players
  2. 2.
    Invoke referral method with every new account creation through your app.
Your players will be able to get and share their referral link from Gameball Player Widget
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
  1. 1.
    Configure your Firebase dynamic links settings from your Firebase console
  2. 2.
    Configure Firebase on your App and Gameball account dashboard
  3. 3.
    Invoke SDK register player within your App user registration flow

Integration Details

After setting up the necessary Firebase dependencies and adding your Firebase details to Gameball's dashboard, when a 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 player to be linked with the referral code.