Referral Campaign User Scenario
Here is a typical user scenario using an Airbridge tracking link as a shareable link to measure a referral campaign:- User A clicks a CTA button, such as a Share button or Invite a Friend button. A link will appear that the user can copy and share with others. This link will contain the user ID that can be used to identify User A for rewards.
- User A shares the link with User B through email or messenger.
- User B clicks the link.
- When the app is not installed: User B is redirected to the app store where the app can be downloaded. By using deferred deep linking, User B can be redirected to a specific in-app location upon launching the app for the first time after the app install.
- When the app is already installed: The app is launched on User B’s device. By using deep linking, User B can be redirected to a specific in-app location.
- User A can be rewarded after User B installs and launches the app or performs a certain app event.
How to Use Tracking Links for Referral Campaigns
The following steps should be handled by a developer. Ask your developer for help.- Develop a CTA button so that when a user clicks the button, the Tracking Link API is called. Make sure the user ID of the user who clicks the CTA button is included in the tracking link. The following parameters shall be used.
For a sample request, refer to the example below.
Tracking Link API Sample Request
Tracking Link API Sample Request
-
channel: The referral campaign data collected through the tracking link should be made available under the channel namein_app_referralin the Airbridge reports and raw data files. -
params: The campaign name should be recorded asreferral-01, ad group name asreferrral, and the ad creative name asinvitation. -
deeplinkURL: Users who click the tracking link should be redirected toablog://good-product-growth-team. The user ID of the user who clicked the CTA button and created the shareable link is1668. If the user ID is 1700, the parameter value should beablog://good-product-growth-team?referrer_id=1700.
- The tracking link should be provided to the user who clicks the CTA button as a shareable link. We recommend providing the
trackingLink.shortURLparameter value from the Tracking Link API response as the shareable link, which follows the format as follows.
- {default or custom domain}/{shortID}
abr.ge, which is the default setting, refer to this article and configure your custom domain in the Airbridge dashboard.
For a sample response, refer to the example below.
Tracking Link API Sample Response
Tracking Link API Sample Response
trackingLink.shortURL parameter value as the shareable link to the user who clicks the CTA button.- Configure the deep link callback to get the user ID of the user who clicked the CTA button. You can use the user ID to identify users who participated in your referral campaign and provide rewards.
Android
Android
Set up the deep link callback to parse the URI of the
onSuccess function.referrer_id: The user ID of the user who clicked the CTA button
iOS
iOS
Set up the deep link callback to parse the
deeplinkURL parameter.-
referrer_id: The user ID of the user who clicked the CTA button
Event Collection
NoteIf you are using the DeepLink Plan, only data collected through the tracking links used in the referral campaign is available in the Airbridge dashboard. Note that user actions regarding sharing cannot be collected, and relevant metrics or GroupBys are not available to create a report.
Developer Guides for SDK configuration
Developer Guides for SDK configuration
Performance Reporting
The performance of your referral campaigns can be viewed in the Airbridge reports and raw data files. You can use the following metrics and GroupBys to visualize the data in the reports.Attention
Campaign parameter settings
Campaign parameter settings
When calling the Tracking Link API, we recommend configuring the campaign parameters to collect detailed information on your referral campaign.
User ID
User ID
The user ID should be a unique identifier assigned to each user account of your service. Note that Airbridge does not manage the user IDs.