What Are Deep Links?
Deep links are URLs or hyperlinks that navigate customers directly to a specific section of the Gameball widget. They enhance the user experience by allowing customers to access the desired content immediately, bypassing unnecessary steps.
Open Gameball widget using menu item
✅ All Available Deep Links
Gameball supports the following deep links, which can be used across both web and mobile platforms. The section targets remain consistent; only the format changes depending on your platform.Use the compatibility table below to identify which sections can be reached through browser deep links versus SDK
openDetail parameters:
- Web Deep Link: Navigates an already embedded widget to a specific section by using hash or query parameters.
- SDK
openDetail: Initializes or launches the widget directly into a specific view (for example, a particular campaign or game) using the SDKs.
| Purpose | Section Key | Web Deep Link | SDK openDetail |
|---|---|---|---|
| Widget Home | home | ✅ | ✅ |
| Referral | referral | ✅ | ✅ |
| FAQ | faq | ✅ | ✅ |
| Levels / Progress | levels | ✅ | ✅ |
| Redemption (Main) | redemption / redeem_main | ✅ | ✅ |
| Coupon Redemption | redeem_coupons | ❌ | ✅ |
| Specific Redemption Rule | redeem_rule_{RULE_ID} | ❌ | ✅ |
| All Reward Campaigns | reward_campaign | ❌ | ✅ |
| Specific Reward Campaign | reward_campaign_{CampaignID} | ❌ | ✅ |
| Spin the Wheel (First) | wheel | ✅ | ✅ |
| Wheels List | wheels_list | ❌ | ✅ |
| Specific Wheel | wheel_{WheelID} | ❌ | ✅ |
| Slot Machine (First) | slot | ✅ | ✅ |
| Slot Machines List | slot_list | ❌ | ✅ |
| Specific Slot | slot_{SlotID} | ❌ | ✅ |
| Calendar Campaign (First) | calendar | ✅ | ✅ |
| Calendar List | calendar_list | ❌ | ✅ |
| Specific Calendar Campaign | calendar_{CalendarID} | ❌ | ✅ |
| Scratch and Win (First) | scratch | ❌ | ✅ |
| Specific Scratch and Win | scratch_{ScratchId} | ❌ | ✅ |
| Match Game (First) | match | ❌ | ✅ |
| Specific Match Game | match_{MatchId} | ❌ | ✅ |
How to Use Deep Links
Deep links can be added to any element that supports hyperlinks, such as:- Text
- Images
- Menu items
- Buttons
Web (Deep links)
Deep links on the web rely on URL formats that the widget listens to. Use either of the following approaches based on how you expose the links to customers.Web-Compatible Section Keys
Use the section keys with either#gameball-[section_key] or ?gameball-deep=[section_key]:
Hash Format
Append#gameball-[section_key] to your URL:
Query Parameter Format
Append?gameball-deep=[section_key] to your URL:
Our SDK
When you are using Gameball SDKs, you can trigger the same sections programmatically. The section keys from the table above still apply; the invocation syntax changes per SDK.Mobile SDKs (iOS / Android / React Native / Flutter)
Pass the section key using theopenDetail parameter and prefix it with details_:
Web SDKs
Pass the section key using theopenDetail parameter and prefix it with details_:
Summary
In this tutorial, we’ve covered the various ways to utilize Gameball deep links and SDK functionalities to provide a seamless and personalized experience for your customers:- Hash Format and Query Parameters: Enable direct navigation to specific widget sections from your website, emails, or SMS campaigns.
- SDKs Methods: Offer advanced control for mobile apps and programmatically toggle the widget state or navigate to specific sections.
- Examples and Supported Sections: Illustrate how to guide customers to areas like referrals, rewards, or wheels.