Branch.io Track Referral without rewards -


scenario: user(primary) sends out app download link friend & friend downloads app using same link. when primary user opens app again, how can know referral successful (true or false enough).

question: how can using branch.io?

my assumption:

  1. createbranchuniversalobject
  2. generateshorturl & share friend (now friend installs)
  3. whenever user open app use “getfirstreferringparams” track referral

correct me!

alex branch.io here: great question. our referral feature designed handle credit tracking out of box, can add bit of custom handling implement identity tracking way describe.

the prerequisite work using branch setidentity() method of users @ point when register unique account in app. flow looks this:

  1. user downloads app.
  2. user registers unique account in app , trigger setidentity() method.
  3. user creates sharing link , sends user b. branch automatically records user a's identity info in data link.
  4. user b opens link , downloads app. data link (including user a's identity) returned part of branch init() call. store data locally until...
  5. ...user b registers unique account in app , trigger setidentity() method.
  6. you send message own server , queue inform user referral accepted.

if tracking referral credits, need set rules too. documentation process on this page.

hope helps!


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -