3

I need to provide a functionality in my iOS app as follows:

  1. My app will generate unique link for the user.
  2. When the user will share this link and any user will download the app using this link, the user will get the benefit from it.

Now, my problem is, I need to identify who have shared the link and how many users have downloaded the app with this link.

If anyone knows, how to deal with such situation?

jherran
  • 3,337
  • 8
  • 37
  • 54
Akshaykumar Maldhure
  • 1,239
  • 1
  • 18
  • 32
  • possible duplicate of [Referral link for app purchase](http://stackoverflow.com/questions/7968585/referral-link-for-app-purchase) – atastrumf Feb 07 '15 at 08:38

1 Answers1

0

You need a server which running a web page for you. This web page should have a text field which takes user email to identify each user uniquely, a button to start download your app, and a label to holds some information about what's going on?. When a user request to share the app with his/her friends, your server should generate a url. Which shall be something like, http://yourapp.com/share?referral=<USER_ID>, this will be unique for each users in your system and who wants to share. When a user will give the link to their friends and if any of the friend would open this link then, he/she needs to input his/her email address (or mobile number) into that textfield and when he/she would tap on Download button then you need to update an entry into your database for that particular user and referral, and your app would start downloading (not exactly read ahead). It'll open AppStore if webpage is opened from iDevice. Please look after for each case can be possible with this.

Hemang
  • 26,840
  • 19
  • 119
  • 186
  • I thought the approach you told, But I am thinking this approach is not right – Akshaykumar Maldhure Feb 07 '15 at 11:00
  • Hmm.. that may possible, this is the approach was firstly came into my mind and I answered. However you've to look after for each case which may incur because of this. – Hemang Feb 07 '15 at 11:09