How can I integrate GrowSurf into my native mobile app?

Overview

If you have a native mobile application and want to integrate GrowSurf, you have a few options, which are outlined below.



Option #1: Web + native mobile integration

This route makes sense if you want to quickly integrate and launch a referral program, but the user experience may not be the most optimal.

  1. When someone visits one of your participant's unique referral links, the webpage should have a form to capture the new lead's email address
  2. Once submitted, the form should redirect the person to the Apple App Store or Google Play Store in order to allow them to install the app.
  3. The person installs the app.
  4. They open up the app and sign up (you would then call the GrowSurf REST API to trigger referral by participant email)


Option #2: Native mobile integration

This route makes sense if you want to have a seamless native integration, but more development efforts will be required. Although GrowSurf does not provide any native mobile SDKs, you can use deferred deeplinking in conjunction with the GrowSurf REST API to integrate with your native mobile app.

  1. Someone visits one of your participant's unique referral links on their mobile device (e.g, https://yoursite.com?grsf=abc123).
    1. Deferred deeplinking is necessary from this step in order to pass the grsf URL parameter to Step #4.
  2. Your campaign Share URL (e.g, https://yoursite.com) contains JavaScript that detects what mobile device the user is on, and automatically redirects the user to the Apple App Store or Google Play Store in order to allow them to install the app.
  3. The person installs the app.
  4. They open up the app and sign up (you call the GrowSurf REST API to add the new participant and pass in the grsf URL parameter from Step #1 as the referredBy value).
    1. If you are unable to implement deferred deeplinking, you can provide an input field at signup to allow the user to enter their referrer's ID or email.


More information on deferred deeplinking

For more information on deeplinking, you can check out Adjust's in-depth blog post here.

As there is no industry standard for deferred deeplinking, there are some out-of-the-box solutions:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.