Alternative 1: Single Shared Dynamic Link with a Query Parameter
Instead of one unique link per customer, you configure one shared dynamic link (from Adjust or Branch.io) used for all referrers. Gameball appends each customer’s referral code to that link as a query parameter at runtime.Dashboard Setup
1
Navigate to the Referral Settings
In your Gameball dashboard, go to Programs → Referrals → Settings → Referral landing page.

2
Enter your shared dynamic link URL
Set the URL field using your base dynamic link, the parameter name you want, and the Or with a different parameter name:
{ReferralCode} placeholder. For example:How It Works
After configuration, the link shown inside the widget for each referrer follows this pattern:Client Responsibilities
- Read the
GBReferral(or your chosen parameter name) value from the link before redirection occurs. - Persist the referral code locally (e.g., in
localStorage, a cookie, or session storage) so it survives until the friend completes registration. - Pass the stored referral code as
referrerCodein the Create/Update Customer API call when the friend signs up.
Alternative 2: Manual Referral Code Entry (No Dynamic Link)
This approach removes dynamic links entirely. Each customer still has their own Gameball-issued referral code — they just share it directly rather than via a link.How It Works
- The referrer shares their code through any channel (text, social media, word of mouth).
- You add a “Referral Code” input field on your registration form.
- When the new user submits the form, you pass the entered code as
referrerCodein the Create/Update Customer API.
Client Responsibilities
-
Add an optional “Referral Code” input field to the registration form:

-
On account creation, include the entered value as
referrerCodein the Create/Update Customer API payload:
Default Flow vs. Alternatives — Comparison
The following comparison helps clarify what changes across these approaches. The final step — passing the referral code to the Gameball registration endpoint — is the same in all flows. What differs is where the code comes from and when you need to capture it.
Important Notes
Regardless of which alternative you use,
referrerCode must be passed during initial customer registration. Gameball ignores it silently on subsequent updates — the customer is still created, but no referral relationship is formed.Related Articles
Integrating Gameball Referrals
The standard referral flow across web, mobile, and POS channels.
Adjust Integration
Configure Adjust as your mobile deep link provider.
Branch.io Integration
Configure Branch.io as your mobile deep link provider.
Create / Update Customer API
Attach
referrerCode when registering a referred friend.